Commits
Commits on
34789da0cc13c49b2b2c38ec2b8470be22d40310Filtered to lanes/rectsplit-r4.report.mdClear filter2026-09-01
fix(av1): SB-level HORZ/VERT split-transform strips -- transposed rect nz_map offset read AND an eob_pt chroma CDF transcribed from libaom's 1D-class rowAhmet Kaan Gümüş · fdfb8e3
fix(av1): SB-level HORZ/VERT split-transform strips -- transposed rect nz_map offset read AND an eob_pt chroma CDF transcribed from libaom's 1D-class row Two defects, the first hiding the second behind a named refusal. 1. base_ctx read av1_nz_map_ctx_offset's rect tables [row][col]. libaom indexes them by coeff_idx = col * 32 + row (get_nz_map_ctx_from_stats decomposes col = coeff_idx >> bhl, bhl = log2 of the ADJUSTED height = 5 for TX_64X32 and TX_32X64), so 32 consecutive flat entries are one COLUMN and the cdf.rs 5x5 transcriptions are [col][row]. Reading them [row][col] is the transpose = the other shape's rule with 11 and 16 swapped. Now states libaom's generating rule (txb_common.h:199-209) directly, as base_ctx_rect already did, with a unit test over the whole 5x5 domain of both shapes. 2. EOB_PT_512_CHROMA came from av1_default_eob_multi512_cdfs[q][plane][1] -- the eob_multi_ctx = 1 (V_DCT/H_DCT) row, flat and q-independent -- not the 2D row, which has the usual four q-context variants. The first real 32x16 chroma transform read eob_pt group 8 (eob 103) where aomdec read group 3 (eob 3) at identical msac range. This is what made seed 43 of the merged SB HORZ/VERT gate RED in r3 once (1) was fixed; before that the stream exited through a refusal 13 elements earlier and the gate scored it as a pass. Refusal lifted: "a superblock-level HORZ/VERT strip with a split transform (per-unit rect prediction is not ported)" -- gate (b) a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact un-ignored and green with its per-attempt SB-interior-TU counter. Gates: (a)(b)(c) + merged SB HORZ/VERT + filter-intra strip + inventory/coverage green; full lib suite 272 passed / 0 failed / 23 ignored. Third leg (lane-tx64x16's --min-partition-size=16 --enable-1to4-partitions=1 sweep, seeds 42..81): 33 exact, 7 named refusals, 0 mismatches -- seed 55's 3944 wrong luma samples are gone. The ReelB mid-film extract now advances past this refusal to PARTITION_HORZ_4.