From 72eb74643ab21b6c55446640033234e3e3ec0dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Mon, 28 Sep 2026 22:55:25 +0300 Subject: [PATCH] ec-av1: drop the three consts the intra-BC rect4 gate stopped using lane-av1444rect r3 (25824613) dropped the intra-BC prefix-floor assert, which was the last reader of W/H/PS in a_444_intrabc_rect4_reads_its_own_chroma_plane_block. Left three dead_code warnings on a 0-warning tree. The gate's own assertions (the route hit at 4:4:4, zero at 4:2:0, the byte-exact 4:2:0 twin) are untouched. --- crates/ec-av1/src/stream.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/ec-av1/src/stream.rs b/crates/ec-av1/src/stream.rs index cc70fa5e..8a53d0e9 100644 --- a/crates/ec-av1/src/stream.rs +++ b/crates/ec-av1/src/stream.rs @@ -7410,9 +7410,6 @@ pub(crate) mod tests { #[test] fn a_444_intrabc_rect4_reads_its_own_chroma_plane_block() { const NAME: &str = "a_444_intrabc_rect4_reads_its_own_chroma_plane_block"; - const W: usize = 640; - const H: usize = 480; - const PS: usize = W * H; let read = |name: &str, file: &str, len: usize, fnv: u64| -> Vec { let path = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")) .join(format!("fixtures/{file}"));