summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_mcomp.h
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2015-05-22 12:03:58 -0700
committerJingning Han <jingning@google.com>2015-05-22 15:40:45 -0700
commit96dba4902c8c7bf21a1413993ac1986b193295fc (patch)
treee7f01eff2193ed2969da558f1147278385ae8726 /vp9/encoder/vp9_mcomp.h
parent7ca17435d51111d7127586ed592480f9f85a8843 (diff)
downloadlibvpx-96dba4902c8c7bf21a1413993ac1986b193295fc.tar
libvpx-96dba4902c8c7bf21a1413993ac1986b193295fc.tar.gz
libvpx-96dba4902c8c7bf21a1413993ac1986b193295fc.tar.bz2
libvpx-96dba4902c8c7bf21a1413993ac1986b193295fc.zip
Fix integral projection motion search for frame resize
This commit fixes the integral projection motion search crash when frame resize is used. It fixes issue 994. Change-Id: Ieeb52619121d7444f7d6b3d0cf09415f990d1506
Diffstat (limited to 'vp9/encoder/vp9_mcomp.h')
-rw-r--r--vp9/encoder/vp9_mcomp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_mcomp.h b/vp9/encoder/vp9_mcomp.h
index dd8a46079..99c1afa28 100644
--- a/vp9/encoder/vp9_mcomp.h
+++ b/vp9/encoder/vp9_mcomp.h
@@ -83,7 +83,8 @@ int vp9_full_pixel_diamond(const struct VP9_COMP *cpi, MACROBLOCK *x,
// Perform integral projection based motion estimation.
unsigned int vp9_int_pro_motion_estimation(const struct VP9_COMP *cpi,
MACROBLOCK *x,
- BLOCK_SIZE bsize);
+ BLOCK_SIZE bsize,
+ int mi_row, int mi_col);
typedef int (integer_mv_pattern_search_fn) (
const MACROBLOCK *x,