h264: expose chroma DC 2x2 Hadamard as public API #25
Reference in New Issue
Block a user
Delete Branch "noether/h264-chroma-dc-hadamard-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Promotes the Hadamard from tests/-only spec reference (added in PR #23) to a public src/ symbol —
void daedalus_h264_chroma_dc_hadamard_2x2(int16_t c[4]). Pure CPU primitive (4 adds + 4 subs); no substrate-dispatch wrapper needed.All 8 tests PASS including a new public-API parity test that links against the public symbol and verifies it produces byte-identical output to the spec ref.
Unblocks marfrit-packages substitution arc patch 0011 —
H264DSPContext.chroma_dc_dequant_idctwill compose this Hadamard with QP-dependent scaling and re-injection.