From 82c74f82554f7fd001131ad4703648122aff042a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Sun, 23 Aug 2026 19:27:25 +0300 Subject: [PATCH] docs(lane): close the x264 rank-1 lane with its before-and-after table Also records the rejected Intra_16x16 rate-distortion mode search and why it does nothing where the Intra_4x4 one did. --- lanes/h264x264-r1.report.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/lanes/h264x264-r1.report.md b/lanes/h264x264-r1.report.md index f303def8..ae010d83 100644 --- a/lanes/h264x264-r1.report.md +++ b/lanes/h264x264-r1.report.md @@ -223,3 +223,33 @@ Synthetic default -5.202 -> -5.140 dB, floor retightened to -5.25. Full `ec-h264 and the fixture want less. That is the same disagreement-in-sign as the intra penalty, and the same answer applies -- it is a criterion problem, not a tuning problem, so the values stay where they are. The search early-out is simply inert on this content at any setting. + +### Rejected: rate-distortion selection of the Intra_16x16 mode + + The same treatment the Intra_4x4 modes got, over the four Intra_16x16 modes (code each with + real quantisation, cost SSD plus real bits, keep the best): + + | clip | all-intra | GOP 10 | + |---|---|---| + | 3840x1608 film | -0.535 -> -0.527 dB | -0.110 -> **-0.145** dB | + | 2560x1440 screen capture | -0.197 -> -0.188 dB | +0.068 -> +0.098 dB | + | 352x288 fixture | - | -5.718 -> -5.661 dB | + + Noise, and negative on the one row that matters most, for 4% more encode time. Not landed. + The reason it does nothing where the Intra_4x4 version did something: an Intra_16x16 + macroblock is chosen only where the picture is flat enough that all four modes predict nearly + the same thing, and everywhere else Intra_4x4 or inter wins the outer decision anyway. + +## Where the lane stands + + | measurement | lane open (7252dbe~) | now (c674993) | + |---|---|---| + | 3840x1608 film, GOP 10 | -2.992 dB | **-0.110 dB** | + | 3840x1608 film, all-intra | -0.749 dB | **-0.535 dB** | + | 2560x1440 screen capture, GOP 10 | +0.173 dB | **+0.068 dB** | + | 352x288 fixture (the gate) | -5.140 dB | -5.718 dB | + + Rank 1 of the survey is closed: the gate exists (`bd_psnr_vs_x264`, floored, in the default + suite), the gap was measured, localised by ablating the reference, and closed to roughly + parity on both real clips. What is left is the fixture, and the next slice for it is the + intra-versus-inter decision on real coded cost rather than on SATD.