forge
Explore
Log in

Don't you dare go Hollow

Close the x264 rank-1 lane with its before-and-after table

Browse files at this commit

82c74f82554f7fd001131ad4703648122aff042aAhmet Kaan GümüşParent: d72bafc
  • docs
    • close the x264 rank-1 lane with its before-and-after table
Show full message
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.mdmodified+30 -0
@@ -223,3 +223,33 @@ Synthetic default -5.202 -> -5.140 dB, floor retightened to -5.25. Full `ec-h264
223 and the fixture want less. That is the same disagreement-in-sign as the intra penalty, and223 and the fixture want less. That is the same disagreement-in-sign as the intra penalty, and
224 the same answer applies -- it is a criterion problem, not a tuning problem, so the values224 the same answer applies -- it is a criterion problem, not a tuning problem, so the values
225 stay where they are. The search early-out is simply inert on this content at any setting.225 stay where they are. The search early-out is simply inert on this content at any setting.
226+
227+### Rejected: rate-distortion selection of the Intra_16x16 mode
228+
229+ The same treatment the Intra_4x4 modes got, over the four Intra_16x16 modes (code each with
230+ real quantisation, cost SSD plus real bits, keep the best):
231+
232+ | clip | all-intra | GOP 10 |
233+ |---|---|---|
234+ | 3840x1608 film | -0.535 -> -0.527 dB | -0.110 -> **-0.145** dB |
235+ | 2560x1440 screen capture | -0.197 -> -0.188 dB | +0.068 -> +0.098 dB |
236+ | 352x288 fixture | - | -5.718 -> -5.661 dB |
237+
238+ Noise, and negative on the one row that matters most, for 4% more encode time. Not landed.
239+ The reason it does nothing where the Intra_4x4 version did something: an Intra_16x16
240+ macroblock is chosen only where the picture is flat enough that all four modes predict nearly
241+ the same thing, and everywhere else Intra_4x4 or inter wins the outer decision anyway.
242+
243+## Where the lane stands
244+
245+ | measurement | lane open (7252dbe~) | now (c674993) |
246+ |---|---|---|
247+ | 3840x1608 film, GOP 10 | -2.992 dB | **-0.110 dB** |
248+ | 3840x1608 film, all-intra | -0.749 dB | **-0.535 dB** |
249+ | 2560x1440 screen capture, GOP 10 | +0.173 dB | **+0.068 dB** |
250+ | 352x288 fixture (the gate) | -5.140 dB | -5.718 dB |
251+
252+ Rank 1 of the survey is closed: the gate exists (`bd_psnr_vs_x264`, floored, in the default
253+ suite), the gap was measured, localised by ablating the reference, and closed to roughly
254+ parity on both real clips. What is left is the fixture, and the next slice for it is the
255+ intra-versus-inter decision on real coded cost rather than on SATD.