Commits
2026-09-30
lane-av1422chrtx: a 32-point INTER chroma unit inherits the luma's IDTX; fix the tx_type clamp and flip the tripwireAhmet Kaan Gümüş · a3e343b
lane-av1422chrtx: a 32-point INTER chroma unit inherits the luma's IDTX; fix the tx_type clamp and flip the tripwire libaom's av1_get_ext_tx_set_type (blockd.h) resolves a 32-point chroma unit to EXT_TX_SET_DCT_IDTX when the block is_inter, and av1_get_tx_type's chroma branch reads the SAME xd->tx_type_map cell the luma unit stamped. So an Intra-Block-Copy block whose luma coded IDTX runs the IDENTITY transform on its chroma. read_plane and read_rect_chroma_unit both hardcoded '32-point chroma is DCT_DCT', reading libaom's clamp as tx_size_sqr_up >= TX_32X32 when it is txsize_sqr_up_map[tx_size] > TX_32X32 (64 and up). That arm ran before the armed intrabc_chroma_tx slot could, so the inherited IDTX was swallowed and a 32-point IDCT ran where libaom ran a plain copy of the dequantized coefficients >>2. Confined to 32-point chroma of an intrabc block whose luma coded IDTX: 64-point chroma still reduces to DctDct, intra chroma at 32+ is untouched, sub-32 units are byte-identical. - 320x232 and 320x248: 0/0/0 wrong, 16/16 frames exact each. - Comparator control re-run: a flipped oracle byte reports exactly +1 in the right plane and one fewer exact frame. - 27-cell sweep 19 -> 25 exact. 320x236 and 322x248 still fail, both with LUMA errors -- a separate odd-dimension defect, not claimed here. - 4:4:4 chroma-tx gates pass; scoped intrabc/chroma run 68 passed, 0 failed. - Ratchet flipped to exactness and renamed the_pinned_420_oddheight_witness_is_pinned_and_decodes_byte_exact; mutation proof reds with exactly the pre-fix (0, 200, 17658). - The old non-vacuity test relied on the witness differing and was vacuous once it was exact; replaced by the_counting_oracle_diff_detects_one_flipped_oracle_byte.
lane-av1422h232: the 4:2:0 odd-height defect is an IDTX/DCT_DCT chroma tx_type loss at 32 points; report only, no fixAhmet Kaan Gümüş · 8de1682
lane-av1422h232: the 4:2:0 odd-height defect is an IDTX/DCT_DCT chroma tx_type loss at 32 points; report only, no fix Measured with a comparator that reads the oracle's bytes (one flipped oracle byte moves the wrong count by exactly +1, in the right plane and frame) on a frame-0 block that is a 64x64 Intra-Block-Copy at (256,192) with luma tx_type IDTX. Coefficients match aomdec exactly (eob=7, levels 6/4/3/2, msac state equal in and out), but aomdec's EC_DQCOEFF says txtype=9 (IDTX) for the 32-point chroma unit while we resolve DctDct. IDTX residual = the dequantized coefficients >>2, which reproduces the oracle's row 96 exactly (-105>>2=-26, -80>>2=-20, -60>>2=-15, -40>>2=-10). 27-cell sweep: 8 fail, and the rule is content, not geometry -- every failing cell carries txtype=9 32-point chroma units. 320x236's luma failure (234349 wrong Y) is a separate, unlocalised defect. No code change; the tree matches main. The ratchet gate must still be flipped to (0,0,0) by whoever lands the fix.