forge
Explore
Log in

Don't you dare go Hollow

Re-pin the encoder's own streams -- per-superblock lambda moves every inter RD decision (7139->7128, 26461->26353 bytes)

Browse files at this commit

0bc6b65d3823aca0a66605d895e5c2d45b671fcdAhmet Kaan GümüşParent: 0e1d650
  • test
    • re-pin the encoder's own streams -- per-superblock lambda moves every inter RD decision (7139->7128, 26461->26353 bytes)
Show full message
test(av1): re-pin the encoder's own streams -- per-superblock lambda moves every inter RD decision (7139->7128, 26461->26353 bytes)
crates/ec-av1/src/encode.rsmodified+4 -2
@@ -11852,7 +11852,9 @@ mod tests {
11852 /// search moved with it. Re-pinned on lane-av1rejudge: local warp is on11852 /// search moved with it. Re-pinned on lane-av1rejudge: local warp is on
11853 /// by default ([`warp_on`], a sequence/frame header bit and a new11853 /// by default ([`warp_on`], a sequence/frame header bit and a new
11854 /// motion_mode symbol on eligible blocks) and11854 /// motion_mode symbol on eligible blocks) and
11855- /// [`LEAF_SECOND_NEW_MARGIN`] moved 0.8 -> 1.2.11855+ /// [`LEAF_SECOND_NEW_MARGIN`] moved 0.8 -> 1.2. Re-pinned on lane-av1tpl:
11856+ /// every inter frame's superblocks now code at their own lambda
11857+ /// ([`TPL_STRENGTH`]), so every RD decision in an inter frame moved.
11856 #[test]11858 #[test]
11857 fn the_encoders_own_streams_are_byte_identical_to_their_pins() {11859 fn the_encoders_own_streams_are_byte_identical_to_their_pins() {
11858 if !have_ffmpeg() {11860 if !have_ffmpeg() {
@@ -11874,7 +11876,7 @@ mod tests {
11874 })11876 })
11875 };11877 };
11876 let pins: [(u8, usize, u64); 2] =11878 let pins: [(u8, usize, u64); 2] =
11877- [(150, 7139, 0x4d35_5d6d_8a54_1c6d), (60, 26461, 0xa52e_1445_7f69_b4c1)];11879+ [(150, 7128, 0x8ee1_5c87_bdb4_a8c5), (60, 26353, 0x50fc_c10f_9eab_b638)];
11878 for (q, bytes, hash) in pins {11880 for (q, bytes, hash) in pins {
11879 let encoded = encode_sequence(&source, q, 0.5).unwrap();11881 let encoded = encode_sequence(&source, q, 0.5).unwrap();
11880 assert_eq!(11882 assert_eq!(