forge
Explore
Log in

Don't you dare go Hollow

Re-take the encoder's own stream pins after the reference pricer fix

Browse files at this commit

ca31b370ac653a4c18378add7682d0f9471d8c0fAhmet Kaan GümüşParent: 9a0a562
  • test
    • re-take the encoder's own stream pins after the reference pricer fix
Show full message
test(av1): re-take the encoder's own stream pins after the reference pricer fix
crates/ec-av1/src/encode.rsmodified+5 -1
@@ -15787,8 +15787,12 @@ mod tests {
15787 // gave 9808 / 35791) and the lane-i64 merge: the KEY frame -- one of15787 // gave 9808 / 35791) and the lane-i64 merge: the KEY frame -- one of
15788 // these four pictures -- offers every superblock a 64x64 intra root15788 // these four pictures -- offers every superblock a 64x64 intra root
15789 // now. `EC_AV1_I64=0` restores 8557 / 33345.15789 // now. `EC_AV1_I64=0` restores 8557 / 33345.
15790+ // Re-taken on lane-pricer: the inter RD search prices a single
15791+ // reference through the tree and the neighbour contexts the writer
15792+ // really codes it with, so every inter picture's reference decisions
15793+ // move -- 8562 -> 8535 at q=150 and 33357 -> 33221 at q=60.
15790 let pins: [(u8, usize, u64); 2] =15794 let pins: [(u8, usize, u64); 2] =
15791- [(150, 8562, 0x66f5_4ffc_aacf_964f), (60, 33357, 0x1d61_9ca4_e960_b044)];15795+ [(150, 8535, 0x7b7f_4eeb_1080_7b45), (60, 33221, 0x720b_821e_5dd2_90e4)];
15792 let coded: Vec<(u8, usize, u64)> = pins15796 let coded: Vec<(u8, usize, u64)> = pins
15793 .iter()15797 .iter()
15794 .map(|&(q, _, _)| {15798 .map(|&(q, _, _)| {