Commits
2026-09-08
instrument(av1): price the top ARF's prediction and a source temporal filterAhmet Kaan Gümüş · 56d80b6
instrument(av1): price the top ARF's prediction and a source temporal filter The 48-picture film B census says the top ARF carries 55% of the stream at 6992 B a frame against rav1e's 3872 at a FINER quantizer (118 vs 104), and 61% of that per-frame gap is residual, not syntax. `arf_pred_census` (--ignored) prices the two candidate causes without an encoder change: the anchor's lag is worth only 7% of its prediction SAD (film B 1.199 per pixel at lag 8 against 1.114 at lag 4), while a motion-compensated average of the display neighbours removes 11.7% of it (film A 5.9%) at 50.1 dB from the source it replaces. `encode::arf_temporal_filter` builds that filter and `speed::ARF_TF` (`EC_AV1_ARF_TF=<strength>`) arms it on the top ARF only; the default is 0, so no shipped stream moves. The census example also reports per-plane PSNR now.
docs(av1): lane-cen3 -- film B at matched rate, ours vs libaom vs rav1e, per level and per syntax familyAhmet Kaan Gümüş · 1cb5cf6
docs(av1): lane-cen3 -- film B at matched rate, ours vs libaom vs rav1e, per level and per syntax family At the 48-frame film B window and matched bytes (ours 71601 B/45.444 dB, libaom cpu-used 6 crf 34 70345 B/46.539, rav1e speed 6 q110 75452 B/45.751) the whole 1.10 dB deficit is inter: our key is the cheapest of the three and 0.29 dB above libaom's. At equal size we spend 9.2 kB MORE on mode syntax and 6.9 kB LESS on residual than libaom. Our per-block mode cost equals libaom's to two decimals (3.26 bits), so the mode gap is block COUNT: 38754 coded blocks against 16178, and at the leaf level 85.5% of ours are already at the 64x64 maximum. Second: +5633 B of inter coefficients against -1545 B of mv, with NEWMV coded on 18-33% of our blocks against libaom's 54-76% on the same motion field. Long-GOP against rav1e names the top-ARF level as the overspent one (+68% bytes for -0.22 dB) and the key as the under-quality one (-0.61 dB). Instrument: EC_CENSUS_TABLES sets how many CDF tables syntax_census names per row (default 8, unchanged when unset) -- the default hid the mode family's own split. No encoder behaviour changed; pins unmoved.
2026-09-07
census(av1): libaom-vs-ours long-GOP census at the PSNR-matched point on both films; syntax_census names the coding tools per levelAhmet Kaan Gümüş · 2696ba0Browse files
census(av1): per-coded-frame syntax census with order hints, and the ARF-vs-ARF table it printsAhmet Kaan Gümüş · 671d201
census(av1): per-coded-frame syntax census with order hints, and the ARF-vs-ARF table it prints The census now carries each coded frame's order_hint and its references' order hints, so EC_CENSUS_PERFRAME=1 prints one full report per coded frame with the display-order PSNR joined to it and every reference named by display distance -- which is what an ARF-vs-ARF comparison against another encoder's stream needs. EC_AV1_MV_DIST_SCALE is readable outside a test build (like the encoder's other search margins) and its ceiling is a named constant with its own knob, because the ceiling was written when the deepest reference in the GOP sat at distance 4.
feat(av1): a decode-side syntax census, and the film B vs rav1e table it producedAhmet Kaan Gümüş · 373b6a2
feat(av1): a decode-side syntax census, and the film B vs rav1e table it produced The BD gate says our stream is bigger; it never says which syntax it is bigger in. This adds a per-CDF-table bit accountant to the symbol decoder (EC_AV1_BITCENSUS=1, one relaxed load per symbol when off) plus block, tx, mv, mode and frame-header funnels, and an examples/syntax_census.rs that prints one table per stream -- so our stream and rav1e's are measured by the same reader. lanes/census-filmB.md holds the answer for film B at matched PSNR: the whole gap is in the inter frames (our key frame is the smaller and the worse one), 75% of it in the leaves, and the three mechanisms are the flat pyramid q ladder, the missing 64x64 blocks and transforms, and a 52.5% vs 84.8% skip share.