Refactor: av1_make_inter_predictor
Update the parameter list of this function,
pass a pointer of SubpelParams, instead pass
the four members of it.
Change-Id: I8bd1b29ab2befb23fcffc22539784ba50f32f4d2
diff --git a/av1/common/reconinter.h b/av1/common/reconinter.h
index 759579e..ad62fef 100644
--- a/av1/common/reconinter.h
+++ b/av1/common/reconinter.h
@@ -198,18 +198,20 @@
return wedge_params_lookup[sb_type].bits;
}
-void av1_make_inter_predictor(
- const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride,
- const int subpel_x, const int subpel_y, const struct scale_factors *sf,
- int w, int h, ConvolveParams *conv_params, InterpFilters interp_filters,
- const WarpTypesAllowed *warp_types, int p_col, int p_row, int plane,
- int ref, const MB_MODE_INFO *mi, int build_for_obmc, int xs, int ys,
- const MACROBLOCKD *xd, int can_use_previous);
+void av1_make_inter_predictor(const uint8_t *src, int src_stride, uint8_t *dst,
+ int dst_stride, const SubpelParams *subpel_params,
+ const struct scale_factors *sf, int w, int h,
+ ConvolveParams *conv_params,
+ InterpFilters interp_filters,
+ const WarpTypesAllowed *warp_types, int p_col,
+ int p_row, int plane, int ref,
+ const MB_MODE_INFO *mi, int build_for_obmc,
+ const MACROBLOCKD *xd, int can_use_previous);
void av1_make_masked_inter_predictor(
const uint8_t *pre, int pre_stride, uint8_t *dst, int dst_stride,
- SubpelParams *subpel_params, const struct scale_factors *sf, int w, int h,
- ConvolveParams *conv_params, InterpFilters interp_filters, int plane,
+ const SubpelParams *subpel_params, const struct scale_factors *sf, int w,
+ int h, ConvolveParams *conv_params, InterpFilters interp_filters, int plane,
const WarpTypesAllowed *warp_types, int p_col, int p_row, int ref,
MACROBLOCKD *xd, int can_use_previous);