From 6ad9423ebb1a3ba554dea7888c20e7ed18168296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Sat, 12 Sep 2026 08:34:46 +0300 Subject: [PATCH] fix(av1): the native census drains the rectres counters right before the eprintln that reads them, so every printed fire count was a structural zero -- the drains are deleted and the format-arg takes zero once per clip exactly like the sibling 128-root counters; both arm gates re-run for the real census --- crates/ec-av1/src/encode.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/ec-av1/src/encode.rs b/crates/ec-av1/src/encode.rs index 7ac01af4..004b74e2 100644 --- a/crates/ec-av1/src/encode.rs +++ b/crates/ec-av1/src/encode.rs @@ -20658,8 +20658,6 @@ mod tests { {i64_edge} on a superblock the frame edge cuts", 100.0 * i64_whole as f64 / i64_offered.max(1) as f64, ); - let _ = take_b128_rectres_hits(); - let _ = crate::tile::take_sb128_rectres_hits(); eprintln!( "{name}: 128x128 roots {} (search) / {} (writer), with a residual \ {} (search) / {} (writer); rect/AB pieces with a residual \