diff options
author | Ranjit Kumar Tulabandu <ranjit.tulabandu@ittiam.com> | 2017-03-22 19:38:59 +0530 |
---|---|---|
committer | Yunqing Wang <yunqingwang@google.com> | 2017-04-03 16:16:49 +0000 |
commit | bf15ca10911024e224a4c168c6f5778a23cb7275 (patch) | |
tree | 704d5feb2230ee9deefa9a099b291f56d9113789 /vp9/encoder/vp9_mcomp.h | |
parent | 904b957ae965bd3d67f15a75cd9db7954f810d33 (diff) | |
download | libvpx-bf15ca10911024e224a4c168c6f5778a23cb7275.tar libvpx-bf15ca10911024e224a4c168c6f5778a23cb7275.tar.gz libvpx-bf15ca10911024e224a4c168c6f5778a23cb7275.tar.bz2 libvpx-bf15ca10911024e224a4c168c6f5778a23cb7275.zip |
Fix for out of range motion vector bug in sub-pel motion estimation
BUG=webm:1397
(yunqingwang)
To verify that this patch wouldn't cause much performance change,
the Borg tests were run. Here was the result:
avg_psnr overall_psnr ssim
hdres: -0.002 0.006 0.013
midres: 0 0 0
lowres: 0 0 0
Change-Id: Iae395ae7b741e0513cf5bab9dcace110b792a67d
Diffstat (limited to 'vp9/encoder/vp9_mcomp.h')
-rw-r--r-- | vp9/encoder/vp9_mcomp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_mcomp.h b/vp9/encoder/vp9_mcomp.h index d17b8e9bb..443b45136 100644 --- a/vp9/encoder/vp9_mcomp.h +++ b/vp9/encoder/vp9_mcomp.h @@ -109,6 +109,10 @@ int vp9_full_pixel_search(struct VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bsize, int error_per_bit, int *cost_list, const MV *ref_mv, MV *tmp_mv, int var_max, int rd); +void vp9_set_subpel_mv_search_range(MvLimits *subpel_mv_limits, + const MvLimits *umv_window_limits, + const MV *ref_mv); + #ifdef __cplusplus } // extern "C" #endif |