From fc892cc54d6c443f2e29e270c7ad0dc5e0f137a2 Mon Sep 17 00:00:00 2001 From: Christian Duvivier Date: Fri, 17 Aug 2012 15:37:51 -0700 Subject: Fix warnings. Change-Id: I01dd96da18fe22450bb372b10ba90eab52e29bdf --- vp8/common/findnearmv.c | 1 + vp8/common/findnearmv.h | 12 ++++++++++++ 2 files changed, 13 insertions(+) (limited to 'vp8/common') diff --git a/vp8/common/findnearmv.c b/vp8/common/findnearmv.c index 05789aff2..6f7361dd0 100644 --- a/vp8/common/findnearmv.c +++ b/vp8/common/findnearmv.c @@ -10,6 +10,7 @@ #include "findnearmv.h" +#include "vp8/encoder/variance.h" #include const unsigned char vp8_mbsplit_offset[4][16] = { diff --git a/vp8/common/findnearmv.h b/vp8/common/findnearmv.h index eff00c47e..e3cdab5ce 100644 --- a/vp8/common/findnearmv.h +++ b/vp8/common/findnearmv.h @@ -18,6 +18,18 @@ #include "treecoder.h" #include "onyxc_int.h" +#if CONFIG_NEWBESTREFMV +/* check a list of motion vectors by sad score using a number rows of pixels + * above and a number cols of pixels in the left to select the one with best + * score to use as ref motion vector + */ +void vp8_find_best_ref_mvs(MACROBLOCKD *xd, + unsigned char *ref_y_buffer, + int ref_y_stride, + int_mv *best_mv, + int_mv *nearest, + int_mv *near); +#endif static void mv_bias(int refmb_ref_frame_sign_bias, int refframe, int_mv *mvp, const int *ref_frame_sign_bias) { MV xmv; -- cgit v1.2.3