forge
Explore
Log in

Don't you dare go Hollow

The top ARF's temporal lambda window ships as 3 past then 4 future

Browse files at this commit

3dc23782c7829a483fcf7ac36e4dc4beca9e0c0dAhmet Kaan GümüşParent: c295244
  • feat
    • the top ARF's temporal lambda window ships as 3 past then 4 future
Show full message
feat(av1): the top ARF's temporal lambda window ships as 3 past then 4 future

Long-GOP gate, both films, against the past window: film B +72.1/-1.2 ->
+71.6/-1.5 and film A +21.3/-8.8 -> +21.2/-8.8, wall +3.2%/+0.2%. A
future-only window (mode 1 and mode 3) is worse on every column.
crates/ec-av1/src/speed.rsmodified+20 -2
@@ -494,8 +494,26 @@ pub(crate) const LOOKAHEAD: bool = true;
494494 ///
495495 /// Falls back to `0`'s window whenever no future picture is buffered (the
496496 /// lookahead off, or the end of the stream). `EC_AV1_TPL_FUT=<n>` overrides
497-/// it.
498-pub(crate) const TPL_FUT: [usize; 11] = [0; 11];
497+/// it, and `EC_AV1_TPL_FUT_HALF=<n>` moves mode 2's split (default half the
498+/// budget each side).
499+///
500+/// The 48-picture long-GOP gate, both films, against the past window:
501+///
502+/// | arm | film A | film B | wall A | wall B |
503+/// |---|---|---|---|---|
504+/// | 0, past (the control) | +21.3/-8.8 | +72.1/-1.2 | 671.1s | 461.6s |
505+/// | 1, future only | +22.0/-8.6 | +73.1/-1.1 | 629.6s | 583.1s |
506+/// | **2, 3 past then 4 future (ships)** | **+21.2/-8.8** | **+71.6/-1.5** | 692.3s | 462.5s |
507+/// | 3, the whole next group | +21.9/-8.7 | +72.7/-1.4 | 573.1s | 455.7s |
508+///
509+/// A future-ONLY window is worse than the past one on every column: the
510+/// nearest past neighbours are what the map's propagation is carried by (the
511+/// witness sees the same thing -- mode 2 at its default split is byte-
512+/// identical to mode 0 on a 128x128 fixture, and only moves once the past
513+/// half is cut to one). Mode 2 is film B -0.5/-0.3 and film A -0.1/0.0, so it
514+/// keeps by the lane's rule (one row >=0.5 down, the other flat within
515+/// +-0.3) at +3.2% / +0.2% wall.
516+pub(crate) const TPL_FUT: [usize; 11] = [2; 11];
499517
500518 /// lane-arfpred: the qindex below which the ARF temporal filter is OFF --
501519 /// libaom scales `arnr` strength with the quantizer and stops filtering at