Commits
Commits on
052d1d3f81ff6b9e7c09b93b58c5e772d825fcb3Filtered to lanes/av1dumpyuv.report.mdClear filter2026-09-29
dump_yuv/raw_to_y4m/lr-sgr harness: derive or assert the sample depthAhmet Kaan Gümüş · 46861fe
dump_yuv/raw_to_y4m/lr-sgr harness: derive or assert the sample depth The depth-packing class the prior audit fixed in the test helpers was still live on three non-test surfaces. `examples/dump_yuv.rs` packed every sample as u16 LE unconditionally and its docstring named yuv420p10le as the companion, so an 8-bit stream got a silent 2x-size file whose cmp against aomdec --rawvideo failed on length and read like a decoder bug. The depth now comes from the stream's own parsed sequence header; --depth is an ASSERTED argument that names both depths and the consequence and writes nothing. `scripts/raw_to_y4m.py` framed at w*h*3//2 with no depth anywhere, so a 10-bit stream was cut at half frame length and its trailing partial frame dropped silently. DEPTH is now required and checked against the stdin length. `scripts/lr-sgr-pin-harness.c` read /tmp/lr_full.bin at 1 byte per sample with the depth recorded nowhere; the file length is now the assertion, and a 2x high-bit-depth capture is refused by name. Sweep rows, including the seven sites examined and NOT fixed with reasons, in lanes/av1dumpyuv.report.md.