]> granicus.if.org Git - libvpx/commitdiff
Silence unused parameter warnings.
authorPaul Wilkins <paulwilkins@google.com>
Wed, 14 May 2014 13:06:16 +0000 (14:06 +0100)
committerPaul Wilkins <paulwilkins@google.com>
Wed, 14 May 2014 13:06:16 +0000 (14:06 +0100)
Remove two unused parameters in the function
vp9_refining_search_8p_c().

Change-Id: Ic192734586291cf5400926eeb8e720e69d40835c

vp9/encoder/vp9_mcomp.c
vp9/encoder/vp9_mcomp.h
vp9/encoder/vp9_rdopt.c

index 43c8ab8683afa3f7b9d1c5c986e3f2a0b16c1093..7e5f35bbf4bd8d128bb2d3501941af5933188720 100644 (file)
@@ -1551,7 +1551,7 @@ int vp9_refining_search_8p_c(const MACROBLOCK *x,
                              int search_range,
                              const vp9_variance_fn_ptr_t *fn_ptr,
                              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},
                            {-1, -1}, {1, -1}, {-1, 1}, {1, 1}};
   const MACROBLOCKD *const xd = &x->e_mbd;
index 827957d62c39dc9035f5056d4fdb844d2115380e..873edf376de6a032fce9e2289b001572696adf17 100644 (file)
@@ -144,8 +144,7 @@ int vp9_refining_search_8p_c(const MACROBLOCK *x,
                              MV *ref_mv, int error_per_bit,
                              int search_range,
                              const vp9_variance_fn_ptr_t *fn_ptr,
-                             const MV *center_mv, const uint8_t *second_pred,
-                             int w, int h);
+                             const MV *center_mv, const uint8_t *second_pred);
 #ifdef __cplusplus
 }  // extern "C"
 #endif
index 22e19feeea10e2857d759227a8ac02c233a3cc63..0f1e9a04c66aefa5e57bb47f8deaa163b56d6ea4 100644 (file)
@@ -2514,8 +2514,7 @@ static void joint_motion_search(VP9_COMP *cpi, MACROBLOCK *x,
     bestsme = vp9_refining_search_8p_c(x, &tmp_mv, sadpb,
                                        search_range,
                                        &cpi->fn_ptr[bsize],
-                                       &ref_mv[id].as_mv, second_pred,
-                                       pw, ph);
+                                       &ref_mv[id].as_mv, second_pred);
     if (bestsme < INT_MAX)
       bestsme = vp9_get_mvpred_av_var(x, &tmp_mv, &ref_mv[id].as_mv,
                                       second_pred, &cpi->fn_ptr[bsize], 1);