The gate's blindness check and the verification table
Browse files at this commitb9e86ce4cb4c428e1f4fe1606f5aa7329c4ce485Parent: 7ba3fac- docs
- the gate's blindness check and the verification table
1 changed file +31 -0
- lanes/d792.report.md +31 -0
lanes/d792.report.mdmodified+31 -0
| @@ -165,3 +165,34 @@ counter. | ||
| 165 | 165 | * the whole 1920x792 reference ladder -- libaom crf 5/20/35/45 AND rav1e |
| 166 | 166 | quantizer 50/100/150/200, 12 frames each: **EXACT vs ffmpeg on every |
| 167 | 167 | point** (`$HOME/.cache/d792/streams`, decoded with `examples/dump_yuv`). |
| 168 | + | |
| 169 | +## The gate, and what it took to make it see the defect | |
| 170 | + | |
| 171 | +`stream::tests::a_straddling_frame_decodes_exactly_on_both_reference_encoders_ladders` | |
| 172 | +(2.7 s) has two halves: | |
| 173 | + | |
| 174 | +* **Generated rows** -- 4 frames at 384x152 (2 SB + 24 px, the 1920x792 | |
| 175 | + straddle) and 384x184 (2 SB + 56 px, the 1080p straddle), through librav1e | |
| 176 | + (quantizer 50/100/150/200) and libaom (`-cpu-used 6 -crf 5/20/35/45 | |
| 177 | + -aq-mode 1`), each decoded by ffmpeg and by us and compared sample by | |
| 178 | + sample. | |
| 179 | +* **Pinned rows** -- `fixtures/d792_straddle_rav1e_384x152_q100.obu` and | |
| 180 | + `..._q150.obu`, rav1e's own answer to a 384x152 crop of a real film. | |
| 181 | + | |
| 182 | +That split is not decoration. **The generated rows alone do NOT catch this | |
| 183 | +defect**: with the fix reverted under them, first a `testsrc2` source and then | |
| 184 | +the repo's own `h264-1080p-23.976-8bit.mp4` fixture (which is colour bars, | |
| 185 | +per the standing note) both PASSED at all 16 points, because neither codes | |
| 186 | +more than one segment, and the defect only exists where `SEG_LVL_ALT_Q` does | |
| 187 | +(class `gate-blind-to-feature`). The pinned rows fail pre-fix at | |
| 188 | +`frame 0 plane Y sample (17, 140): ours 41 vs ffmpeg 42` and pass after, so | |
| 189 | +the gate's defect-catching power is measured, not assumed. | |
| 190 | + | |
| 191 | +## Verification | |
| 192 | + | |
| 193 | +| check | result | | |
| 194 | +|---|---| | |
| 195 | +| `cargo test -p ec-av1 --release --lib a_straddling_frame` | 18 straddling reference points sample-exact, 2.7 s | | |
| 196 | +| the same gate with the fix reverted | FAILED at `(17, 140)` of the pinned q100 row | | |
| 197 | +| the 1920x792 ladder, 12 frames, decoded standalone (`examples/dump_yuv` vs ffmpeg) | libaom crf 5/20/35/45 **EXACT**, rav1e quantizer 50/100/150/200 **EXACT** -- all 8 points, i.e. what `external_ladder`'s reference-decode assertion checks | | |
| 198 | +| `cargo check --workspace --all-targets -j4` | 0 errors; 0 `ec-av1` warnings (the 21 `ec-opus` missing-doc + 1 `ec-vorbis` dead-code ones are pre-existing) | |