From c844bb5302e0a514242348fe2560cc6880715c53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Mon, 24 Aug 2026 00:53:33 +0300 Subject: [PATCH] h264: withdraw the propagation explanation from the RD quantisation note The addendum blamed the superset-measures-worse result on a reference picture's quality being worth more than the local metric can see. x264 reports mbtree=0 rc=cqp in the streams this test compares against, so it takes its 0.2 dB with no propagation term either, and the explanation does not hold. The measurement stands; the cause is named as unsettled, with the two remaining suspects and the experiment that separates them. --- lanes/h264x264-r2.report.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/lanes/h264x264-r2.report.md b/lanes/h264x264-r2.report.md index 1b6f22b3..72df44ed 100644 --- a/lanes/h264x264-r2.report.md +++ b/lanes/h264x264-r2.report.md @@ -244,13 +244,22 @@ Two findings, both of which the next attempt has to answer: * **A superset of candidates chosen on exact cost measured worse.** Adding 2 and 4 to the candidate set can only lower the local cost of every - macroblock, and it lost 0.05 dB against the pair. Local rate-distortion on - a reference picture is myopic: what a blurrier block saves now, the nine - pictures predicting from it pay for. Nothing in the metric sees that. + macroblock, and it lost 0.05 dB against the pair. So the local cost is not + the quantity the BD-PSNR measures, and searching it harder finds a worse + answer. The obvious explanation -- that a reference picture's quality is + worth more than the local metric can see, GOP 10 making every P picture a + reference for nine others -- does not survive a check: x264 reports + `mbtree=0 rc=cqp` in the streams this test compares against, so it wins + these 0.2 dB with no propagation term either. What is left is that the + candidates are generated against an estimate and only *chosen* on exact + bits, and that choosing greedily per macroblock changes the CABAC contexts + the next macroblock is measured in. Which of those two it is has not been + measured. * **The candidate generator is rate-blind where it matters.** The levels are walked using an estimate; exact bits only pick between finished macroblocks. x264 decides each coefficient against its actual CABAC - context cost, which is why its version is worth ten times ours. + context cost, which is the difference the numbers above are consistent + with. So the machinery is not landed -- it doubles the inter coding work for 0.02 dB. The next attempt should decide levels where the contexts exist, at write time,