diff options
author | Christian Duvivier <cduvivier@google.com> | 2012-08-17 15:37:51 -0700 |
---|---|---|
committer | Christian Duvivier <cduvivier@google.com> | 2012-08-17 16:35:48 -0700 |
commit | fc892cc54d6c443f2e29e270c7ad0dc5e0f137a2 (patch) | |
tree | f8828d36a873fe81dd170e67f12f353d3867fbbc /vp8/common | |
parent | ee59dd7e1513196a4f1b82cc98ca9c92bb9fd2e8 (diff) | |
download | libvpx-fc892cc54d6c443f2e29e270c7ad0dc5e0f137a2.tar libvpx-fc892cc54d6c443f2e29e270c7ad0dc5e0f137a2.tar.gz libvpx-fc892cc54d6c443f2e29e270c7ad0dc5e0f137a2.tar.bz2 libvpx-fc892cc54d6c443f2e29e270c7ad0dc5e0f137a2.zip |
Fix warnings.
Change-Id: I01dd96da18fe22450bb372b10ba90eab52e29bdf
Diffstat (limited to 'vp8/common')
-rw-r--r-- | vp8/common/findnearmv.c | 1 | ||||
-rw-r--r-- | vp8/common/findnearmv.h | 12 |
2 files changed, 13 insertions, 0 deletions
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 <limits.h> 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; |