Silence unused parameter warnings.
Remove two unused parameters in the function vp9_refining_search_8p_c(). Change-Id: Ic192734586291cf5400926eeb8e720e69d40835c
This commit is contained in:
parent
eecc750b33
commit
200f9aed4f
@ -1551,7 +1551,7 @@ int vp9_refining_search_8p_c(const MACROBLOCK *x,
|
|||||||
int search_range,
|
int search_range,
|
||||||
const vp9_variance_fn_ptr_t *fn_ptr,
|
const vp9_variance_fn_ptr_t *fn_ptr,
|
||||||
const MV *center_mv,
|
const MV *center_mv,
|
||||||
const uint8_t *second_pred, int w, int h) {
|
const uint8_t *second_pred) {
|
||||||
const MV neighbors[8] = {{-1, 0}, {0, -1}, {0, 1}, {1, 0},
|
const MV neighbors[8] = {{-1, 0}, {0, -1}, {0, 1}, {1, 0},
|
||||||
{-1, -1}, {1, -1}, {-1, 1}, {1, 1}};
|
{-1, -1}, {1, -1}, {-1, 1}, {1, 1}};
|
||||||
const MACROBLOCKD *const xd = &x->e_mbd;
|
const MACROBLOCKD *const xd = &x->e_mbd;
|
||||||
|
@ -144,8 +144,7 @@ int vp9_refining_search_8p_c(const MACROBLOCK *x,
|
|||||||
MV *ref_mv, int error_per_bit,
|
MV *ref_mv, int error_per_bit,
|
||||||
int search_range,
|
int search_range,
|
||||||
const vp9_variance_fn_ptr_t *fn_ptr,
|
const vp9_variance_fn_ptr_t *fn_ptr,
|
||||||
const MV *center_mv, const uint8_t *second_pred,
|
const MV *center_mv, const uint8_t *second_pred);
|
||||||
int w, int h);
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
#endif
|
#endif
|
||||||
|
@ -2514,8 +2514,7 @@ static void joint_motion_search(VP9_COMP *cpi, MACROBLOCK *x,
|
|||||||
bestsme = vp9_refining_search_8p_c(x, &tmp_mv, sadpb,
|
bestsme = vp9_refining_search_8p_c(x, &tmp_mv, sadpb,
|
||||||
search_range,
|
search_range,
|
||||||
&cpi->fn_ptr[bsize],
|
&cpi->fn_ptr[bsize],
|
||||||
&ref_mv[id].as_mv, second_pred,
|
&ref_mv[id].as_mv, second_pred);
|
||||||
pw, ph);
|
|
||||||
if (bestsme < INT_MAX)
|
if (bestsme < INT_MAX)
|
||||||
bestsme = vp9_get_mvpred_av_var(x, &tmp_mv, &ref_mv[id].as_mv,
|
bestsme = vp9_get_mvpred_av_var(x, &tmp_mv, &ref_mv[id].as_mv,
|
||||||
second_pred, &cpi->fn_ptr[bsize], 1);
|
second_pred, &cpi->fn_ptr[bsize], 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user