diff --git a/crates/ec-av1/src/decode.rs b/crates/ec-av1/src/decode.rs index c943001a..fde98265 100644 --- a/crates/ec-av1/src/decode.rs +++ b/crates/ec-av1/src/decode.rs @@ -16440,11 +16440,15 @@ pub(crate) fn decode_inter_frame_tile_with_cdfs( mod tests { use super::*; - /// lane-rectsplit r2: `av1_nz_map_ctx_offset` is packed COLUMN-major, so - /// the two rect transcriptions in [`cdf`] must be read `[col][row]`. - /// [`base_ctx_rect`] states libaom's generating rule - /// (`txb_common.h:199-209`) in display coordinates; this pins the tables - /// against it, which is what a transposed read would break. + /// libaom's generating rule (`txb_common.h:199-209`) in DISPLAY + /// coordinates, pinned against the two rect transcriptions in [`cdf`]. + /// lane-tx64x16 r2: this test read the tables `[col][row]` (lane-rectsplit + /// r2's column-major premise) while r3 reverted the tables themselves to + /// display-major `[row][col]` -- the order [`base_ctx`] itself reads them + /// at `decode.rs`'s `TxClass::TwoD` arm, and the order every merged rect + /// gate is green under. The test was left pinning the abandoned half, so + /// it failed on `main` (32x64 display (row 0, col 2): table says 6 read + /// transposed, the rule says 11). Read in the consumer's order. #[test] fn nz_map_ctx_offset_tables_match_the_rect_rule() { for (w, h, table) in [ @@ -16463,7 +16467,7 @@ mod tests { cdf::NZ_MAP_CTX_OFFSET_32[row][col] }; assert_eq!( - table[col][row], + table[row][col], want, "{w}x{h} nz_map offset at display (row {row}, col {col})" ); diff --git a/crates/ec-av1/src/gate_coverage.rs b/crates/ec-av1/src/gate_coverage.rs index ea8de846..c21a24b3 100644 --- a/crates/ec-av1/src/gate_coverage.rs +++ b/crates/ec-av1/src/gate_coverage.rs @@ -93,10 +93,6 @@ const TOOL_UNIVERSE: &[&str] = &[ /// depth retires the entry, and this test fails until it is deleted. #[cfg(test)] const NEVER_EXERCISED_8BIT: &[(&str, &str)] = &[ - ( - "enable-1to4-partitions", - "off in 42 gates, on in none: PARTITION_HORZ_4/VERT_4 at 64x64 needs TX_64X16 luma plus 32x8 chroma scans (lane-part32 r5)", - ), ( "enable-angle-delta", "off in 36 gates, on in none: the directional-intra gates pin it off to isolate the base modes", @@ -161,7 +157,7 @@ const NEVER_EXERCISED_10BIT: &[(&str, &str)] = &[ // gate passes `=1` for both. ( "enable-1to4-partitions", - "hole at both depths, see the 8-bit list", + "10-bit hole only: lane-tx64x16's 8-bit SB-level 1:4 gate passes `=1` and asserts both arms, but no 10-bit gate does", ), ( "enable-angle-delta",