forge
Explore
Log in

Don't you dare go Hollow

Gm r2 -- add NO_GM_MV to mvstack's own compound test call sites

Browse files at this commit

aad87a155d2bfb0f6ae709531481b87cf17058deAhmet Kaan GümüşParent: 9018cff
  • test
    • gm r2 -- add NO_GM_MV to mvstack's own compound test call sites
Show full message
test(av1): gm r2 -- add NO_GM_MV to mvstack's own compound test call sites

Compile fix only, matches decode.rs leaf8's stub. golden3/golden4/scratch_*
pinned-test failures observed this round are pre-existing env-only gaps
(hardcoded path to a different session's scratchpad, or need EC_AV1_PIN set
manually) unrelated to gm; real pinned gates (golden7, warp) pass green.
crates/ec-av1/src/mvstack.rsmodified+4 -4
@@ -2615,7 +2615,7 @@ mod tests {
2615 let (mv0, mv1) = ((2, 2), (-6, 3));2615 let (mv0, mv1) = ((2, 2), (-6, 3));
2616 grid.set(2, 1, comp_inter(mv0, mv1));2616 grid.set(2, 1, comp_inter(mv0, mv1));
2617 2617
2618- let stack = find_mv_stack_compound(&grid, 2, 2, 2, 2, COMP_PAIR, 8, 8, &NO_SIGN_BIAS, None);2618+ let stack = find_mv_stack_compound(&grid, 2, 2, 2, 2, COMP_PAIR, 8, 8, &NO_SIGN_BIAS, &NO_GM_MV, None);
2619 2619
2620 // The exact-pair immediate scan lands one boosted entry; the2620 // The exact-pair immediate scan lands one boosted entry; the
2621 // compound extension pass (short stack, len < MAX_MV_REF_CANDIDATES)2621 // compound extension pass (short stack, len < MAX_MV_REF_CANDIDATES)
@@ -2639,7 +2639,7 @@ mod tests {
2639 grid.set(2, 1, comp_inter(mv0, mv1));2639 grid.set(2, 1, comp_inter(mv0, mv1));
2640 grid.set(3, 1, comp_inter(mv0, mv1));2640 grid.set(3, 1, comp_inter(mv0, mv1));
2641 2641
2642- let stack = find_mv_stack_compound(&grid, 2, 2, 2, 2, COMP_PAIR, 8, 8, &NO_SIGN_BIAS, None);2642+ let stack = find_mv_stack_compound(&grid, 2, 2, 2, 2, COMP_PAIR, 8, 8, &NO_SIGN_BIAS, &NO_GM_MV, None);
2643 2643
2644 // Exact libaom `is_dup` port: with exactly one entry already in the2644 // Exact libaom `is_dup` port: with exactly one entry already in the
2645 // stack (the four identical-pair neighbours deduped by the2645 // stack (the four identical-pair neighbours deduped by the
@@ -2671,7 +2671,7 @@ mod tests {
2671 grid.set(4, 2, comp_inter(left.0, left.1));2671 grid.set(4, 2, comp_inter(left.0, left.1));
2672 grid.set(5, 2, comp_inter(left.0, left.1));2672 grid.set(5, 2, comp_inter(left.0, left.1));
2673 2673
2674- let stack = find_mv_stack_compound(&grid, 3, 3, 2, 3, COMP_PAIR, 8, 8, &NO_SIGN_BIAS, None);2674+ let stack = find_mv_stack_compound(&grid, 3, 3, 2, 3, COMP_PAIR, 8, 8, &NO_SIGN_BIAS, &NO_GM_MV, None);
2675 2675
2676 assert_eq!(stack.entries.len(), 2);2676 assert_eq!(stack.entries.len(), 2);
2677 assert_eq!(stack.entries[0].mv0, left.0);2677 assert_eq!(stack.entries[0].mv0, left.0);
@@ -2760,7 +2760,7 @@ mod tests {
2760 },2760 },
2761 );2761 );
2762 2762
2763- let stack = find_mv_stack_compound(&grid, 2, 2, 2, 2, COMP_PAIR, 8, 8, &NO_SIGN_BIAS, None);2763+ let stack = find_mv_stack_compound(&grid, 2, 2, 2, 2, COMP_PAIR, 8, 8, &NO_SIGN_BIAS, &NO_GM_MV, None);
2764 2764
2765 // The combine step (libaom's real "Handle compound reference frame2765 // The combine step (libaom's real "Handle compound reference frame
2766 // extension") zips each side's ref_id-then-ref_diff lists2766 // extension") zips each side's ref_id-then-ref_diff lists