forge
Explore
Log in

Don't you dare go Hollow

The measured OBMC-by-footprint table at its own decision site

Browse files at this commit

cb813704f14705df79d7c9a24c71c6c862c721b2Ahmet Kaan GümüşParent: 74fe5cf
  • docs
    • the measured OBMC-by-footprint table at its own decision site
Show full message
docs(av1): the measured OBMC-by-footprint table at its own decision site
crates/ec-av1/src/encode.rsmodified+20 -3
@@ -2247,9 +2247,26 @@ impl Reach {
2247 /// every leaf; 16 or 32 turn the smaller leaves off). Only read when2247 /// every leaf; 16 or 32 turn the smaller leaves off). Only read when
2248 /// `EC_AV1_OBMC` is on, and never by the 32x32 whole-block candidate.2248 /// `EC_AV1_OBMC` is on, and never by the 32x32 whole-block candidate.
2249 ///2249 ///
2250-/// MEASURED at native, `EC_AV1_OBMC=1` throughout (BD vs libaom / vs rav1e,2250+/// MEASURED at native, `EC_AV1_OBMC=1` throughout, BD vs libaom / vs rav1e
2251-/// against the +18.0/+0.7, +47.3/+19.2, +59.4/-10.0 of the tool OFF):2251+/// (12 frames, four quantizers, the standing keep table):
2252-/// see `search_inter_block`'s note for the whole table.2252+///
2253+/// | min side | film 1080p | film 2160p | screen |
2254+/// |---|---|---|---|
2255+/// | OBMC off | +18.0 / +0.7 | +47.3 / +19.2 | +59.4 / -10.0 |
2256+/// | 32 (32x32 only) | +18.4 / +1.1 | +47.3 / +19.2 | +59.1 / -10.0 |
2257+/// | 16 | +18.4 / +1.1 | +47.3 / +19.2 | +59.3 / -10.0 |
2258+/// | 8 (every leaf) | +18.7 / +1.4 | +47.3 / +19.2 | +59.3 / -10.0 |
2259+///
2260+/// So the leaves are not the thing that was holding OBMC back: at 8x8 the
2261+/// candidate WINS 9704 of the 11462 leaves that code the symbol on the 1080p
2262+/// film -- 85% of them, far past libaom's own rate -- and costs another 0.3
2263+/// BD points on top of the 0.4 the 32x32 candidate already costs. A tool
2264+/// that wins the local RD on five blocks in six and loses ladder bytes is
2265+/// the `local-RD-on-references` class again, not a missing footprint. The
2266+/// tool stays OFF by default; the upgrade path is the price, not the size
2267+/// (the 640x384 arm reads +78.9/+36.4, +94.9/+56.3, +54.2/+0.8 at min side 8
2268+/// against +78.8/+36.1, +95.1/+56.4, +54.5/+1.1 off -- two rows down, the
2269+/// 1080p film up, i.e. the same disagreement between the two gates).
2253 fn obmc_min_side() -> usize {2270 fn obmc_min_side() -> usize {
2254 static N: std::sync::OnceLock<usize> = std::sync::OnceLock::new();2271 static N: std::sync::OnceLock<usize> = std::sync::OnceLock::new();
2255 *N.get_or_init(|| {2272 *N.get_or_init(|| {