forge
Explore
Log in

Don't you dare go Hollow

warp merge: bool mv_to_q4 calls follow the ss-aware signature

Browse files at this commit

a4e057881477dede7ddc61650ff62c4853f66cbeAhmet Kaan GümüşParent: bddda13
The auto-merge kept three luma=true/false call sites against the 444
signature that takes a subsampling usize. Luma passes 0. Chroma passes
ss_x/ss_y. Same math the 444 merge used for 4:2:0.
crates/ec-av1/src/decode.rsmodified+3 -3
@@ -11695,7 +11695,7 @@ fn decode_intrabc_128rect(
1169511695 let mut pred_y_dense = vec![0u16; bw * bh];
1169611696 mc::predict_with_filter(
1169711697 &y.data, y.width, y.true_width, y.true_height,
11698- mv_to_q4(px, dv_col, true), mv_to_q4(py, dv_row, true),
11698+ mv_to_q4(px, dv_col, 0), mv_to_q4(py, dv_row, 0),
1169911699 bw, bh, mc::InterpFilterKind::Bilinear, &mut pred_y_dense, fctx,
1170011700 );
1170111701 let mut pred_y = vec![0u16; side * side];
@@ -11705,7 +11705,7 @@ fn decode_intrabc_128rect(
1170511705 let mut pred_u_dense = vec![0u16; cw * ch];
1170611706 mc::predict_with_filter(
1170711707 &u.data, u.width, u.true_width, u.true_height,
11708- mv_to_q4(cpx, dv_col, false), mv_to_q4(cpy, dv_row, false),
11708+ mv_to_q4(cpx, dv_col, ss_x(fctx)), mv_to_q4(cpy, dv_row, ss_y(fctx)),
1170911709 cw, ch, mc::InterpFilterKind::Bilinear, &mut pred_u_dense, fctx,
1171011710 );
1171111711 let mut pred_u = vec![0u16; cside * cside];
@@ -11715,7 +11715,7 @@ fn decode_intrabc_128rect(
1171511715 let mut pred_v_dense = vec![0u16; cw * ch];
1171611716 mc::predict_with_filter(
1171711717 &v.data, v.width, v.true_width, v.true_height,
11718- mv_to_q4(cpx, dv_col, false), mv_to_q4(cpy, dv_row, false),
11718+ mv_to_q4(cpx, dv_col, ss_x(fctx)), mv_to_q4(cpy, dv_row, ss_y(fctx)),
1171911719 cw, ch, mc::InterpFilterKind::Bilinear, &mut pred_v_dense, fctx,
1172011720 );
1172111721 let mut pred_v = vec![0u16; cside * cside];