forge
Explore
Log in

Don't you dare go Hollow

ec-av1: drop the three consts the intra-BC rect4 gate stopped using

Browse files at this commit

72eb74643ab21b6c55446640033234e3e3ec0dd6Ahmet Kaan GümüşParent: fae5c1f
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.rsmodified+0 -3
@@ -7410,9 +7410,6 @@ pub(crate) mod tests {
7410 #[test]7410 #[test]
7411 fn a_444_intrabc_rect4_reads_its_own_chroma_plane_block() {7411 fn a_444_intrabc_rect4_reads_its_own_chroma_plane_block() {
7412 const NAME: &str = "a_444_intrabc_rect4_reads_its_own_chroma_plane_block";7412 const NAME: &str = "a_444_intrabc_rect4_reads_its_own_chroma_plane_block";
7413- const W: usize = 640;
7414- const H: usize = 480;
7415- const PS: usize = W * H;
7416 let read = |name: &str, file: &str, len: usize, fnv: u64| -> Vec<u8> {7413 let read = |name: &str, file: &str, len: usize, fnv: u64| -> Vec<u8> {
7417 let path = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))7414 let path = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))
7418 .join(format!("fixtures/{file}"));7415 .join(format!("fixtures/{file}"));