forge
Explore
Log in

Don't you dare go Hollow

Record the five native rows before/after the detector fix

Browse files at this commit

0938d7d60e159775e252e817e1c9fae2e8c0cf19Ahmet Kaan GümüşParent: 47036af
  • docs
    • record the five native rows before/after the detector fix
Show full message
docs(av1): record the five native rows before/after the detector fix
crates/ec-av1/src/encode.rsmodified+19 -0
@@ -13109,6 +13109,25 @@ mod tests {
1310913109 /// names, at a pinned seek; added 2026-09-07) and the screen capture. A
1311013110 /// decision only the bars rows support is not supported.
1311113111 ///
13112+ /// Measured 2026-09-07, the five rows before and after the screen
13113+ /// detector grew libaom's variance term ([`screen_var`]) -- before it,
13114+ /// BOTH real films were classified as screen content on 48/48 frames, so
13115+ /// their coefficients were priced against the DEFAULT CDFs and the
13116+ /// palette search ran over film; after, both are non-screen (0/48) and
13117+ /// the capture is unchanged at 48/48:
13118+ ///
13119+ /// | clip | vs libaom before -> after | vs rav1e before -> after | wall ours |
13120+ /// |---|---|---|---|
13121+ /// | bars 1080p | +15.6% -> +15.6% | -1.7% -> -1.7% | 37.9s |
13122+ /// | bars 2160p | +46.5% -> +46.5% | +18.8% -> +18.8% | 33.9s |
13123+ /// | film A | +69.5% -> +69.0% | +37.7% -> +37.5% | 72s -> 64.4s |
13124+ /// | film B | +102.4% -> +100.0% | +63.4% -> +61.5% | 72s -> 67.9s |
13125+ /// | screen capture | +51.0% -> +51.0% | -14.5% -> -14.5% | 27.5s |
13126+ ///
13127+ /// Both bars rows and the capture are byte-identical across that change
13128+ /// (their classification never moved); the palette search over film was
13129+ /// costing roughly a tenth of the film rows' wall.
13130+ ///
1311213131 /// All five gate clips are rows by default. `EC_AV1_NATIVE_FILM=1`,
1311313132 /// `EC_AV1_NATIVE_FILM4K=1` and `EC_AV1_NATIVE_SCREEN=1` select a subset:
1311413133 /// setting any one of them keeps only the selected rows (the two 1080p