lane-av1422verify: refute-first pass over 19b16ffd (grain) and 2677c97a (census)
Both fixes are RIGHT. Every load-bearing figure reproduces, most of them digit-for-digit,
on instruments of my own rather than the lanes' own.
Grain (19b16ffd). Measured against ffmpeg 8.1.3 through the post-grain sink path
(EC_AV1_FINAL_DUMP is pre-grain, so the dump comparator cannot be used here):
g422_t5 / g422_t11 / g444_t5 / g422_10_t5 all byte-exact per plane, plus a 12-bit
4:2:2 cell and an 11-cell ragged-geometry sweep (66x66, 100x50, 130x34, 34x130,
322x242, ...) that are also byte-exact. The negative control was reproduced on the
ACTUAL pre-fix tree 697b1308 rather than on a reconstruction of it: 0/23370/22631,
exactly the lane's figure, luma exact, no panic. And 4:4:4 grain is RED at
19b16ffd~1 (45612/43755 of each chroma plane) and GREEN after -- the pre-fix geometry
really was silently wrong there too. All three libaom traps verified against the C with
lines quoted, including re-deriving that row csub_y at stride 2>>ss_x equals the C's
flat element offset for every ss_x. Controls: 8 and 95, both reproducing exactly.
Census (2677c97a). Built before/after binaries from one tree differing in the arming
expression alone: [0,0,0] -> [2338,1328,1328] on a 4994-unit walk, digit-for-digit on
all four cells. All five 4:2:0/4:4:4 controls IDENTICAL across the widening. The strip
domain was re-enumerated independently: 12 iterations, 12 distinct (strip, format) pairs,
so nothing is double-counted, and hit == handled so no arm fell out of reach. Both
mutations re-run and bite.
The self-flagged gaps hold and are understated, not overstated: chroma422_chunk and
chroma422_pair_wide read 0 on all EIGHTEEN 4:2:2 cells, not just four, and the dump
path really is pre-grain (byte-identical with and without EC_AV1_NO_GRAIN=1, 76.7%/55.5%/
52.6% from ffmpeg). That finding is a sequencing trap for the lift and the census lane
caught it before someone else did.
No decode defect in either patch. Two documentation findings, reported as corrections:
the census report's strip-derivation table has one wrong cell (32x64 at 4:4:4 is
(32,32), not (16,32); the code is right), and the 19b16ffd merge message claims a
committed 4:2:2/4:4:4 byte-exactness gate that is not in the tree -- the lane report is
honest about deferring it, the commit message is not.
Primary checkout untouched and clean; both bypassed scratch trees restored and removed.