Repin the encoder streams and widen the own-decoder fixture for the leaf second-reference search
Browse files at this commitf2d15421c6a2f56e1a6970843591967635b7e7ddParent: e83e29a- test
- repin the encoder streams and widen the own-decoder fixture for the leaf second-reference search
1 changed file +8 -2
crates/ec-av1/src/encode.rsmodified+8 -2
| @@ -8690,7 +8690,13 @@ mod tests { | ||
| 8690 | 8690 | #[test] |
| 8691 | 8691 | fn every_frame_of_a_sequence_decodes_through_our_own_decoder() { |
| 8692 | 8692 | let fctx = &crate::decode::FrameCtx::new(); |
| 8693 | - let (width, height) = (128usize, 64usize); | |
| 8693 | + // 256x128, not the 128x64 this started at: once a leaf could search | |
| 8694 | + // its second reference (lane-av1comp4) the small card's every | |
| 8695 | + // eligible block went to a compound winner, which commits its flat | |
| 8696 | + // transform, and the split below stopped firing on content that | |
| 8697 | + // still splits at every larger size ([[gate-blind-to-feature]] -- | |
| 8698 | + // the guard is right, the fixture had shrunk under it). | |
| 8699 | + let (width, height) = (256usize, 128usize); | |
| 8694 | 8700 | let pictures: Vec<Picture> = |
| 8695 | 8701 | (0..5).map(|i| panned_test_card(width, height, i * 3)).collect(); |
| 8696 | 8702 | let _ = take_inter_tx_split_hits(); |
| @@ -9707,7 +9713,7 @@ mod tests { | ||
| 9707 | 9713 | }) |
| 9708 | 9714 | }; |
| 9709 | 9715 | let pins: [(u8, usize, u64); 2] = |
| 9710 | - [(150, 7084, 0xe6a9_2f62_3855_0eee), (60, 26116, 0xa831_9866_b799_80fc)]; | |
| 9716 | + [(150, 7084, 0x00bc_da74_e540_28d7), (60, 25905, 0x1623_f794_727e_0716)]; | |
| 9711 | 9717 | for (q, bytes, hash) in pins { |
| 9712 | 9718 | let encoded = encode_sequence(&source, q, 0.5).unwrap(); |
| 9713 | 9719 | assert_eq!( |