]> granicus.if.org Git - libvpx/commitdiff
Silence unused parameter warnings.
authorPaul Wilkins <paulwilkins@google.com>
Wed, 14 May 2014 12:50:51 +0000 (13:50 +0100)
committerPaul Wilkins <paulwilkins@google.com>
Wed, 14 May 2014 15:47:32 +0000 (16:47 +0100)
The various motion search functions share a
common function prototype. In the case of
vp9_full_range_search() two of the parameters
are not needed.

Change-Id: I0e190af54a3b3f276409f20e8ec55912f9b0b798

vp9/encoder/vp9_mcomp.c

index 43c8ab8683afa3f7b9d1c5c986e3f2a0b16c1093..290da5d5965169045922355f076f848ae9319956 100644 (file)
@@ -886,6 +886,10 @@ int vp9_full_range_search_c(const MACROBLOCK *x,
   int r, c, i;
   int start_col, end_col, start_row, end_row;
 
+  // The cfg and search_param parameters are not used in this search variant
+  (void)cfg;
+  (void)search_param;
+
   clamp_mv(ref_mv, x->mv_col_min, x->mv_col_max, x->mv_row_min, x->mv_row_max);
   *best_mv = *ref_mv;
   *num00 = 11;