summaryrefslogtreecommitdiff
path: root/vpx_scale
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2013-04-29 13:44:54 -0700
committerJohn Koleszar <jkoleszar@google.com>2013-04-29 17:35:51 -0700
commit9f5fd31d7fdf8380fd95b5ceb073fa08ee7c4b65 (patch)
tree5c0d616cad6a754d4cf4ef2974e8ed48e5abbf8b /vpx_scale
parent907541ee1848e4b9e9e2b929a486d5a0edbd62d5 (diff)
downloadlibvpx-9f5fd31d7fdf8380fd95b5ceb073fa08ee7c4b65.tar
libvpx-9f5fd31d7fdf8380fd95b5ceb073fa08ee7c4b65.tar.gz
libvpx-9f5fd31d7fdf8380fd95b5ceb073fa08ee7c4b65.tar.bz2
libvpx-9f5fd31d7fdf8380fd95b5ceb073fa08ee7c4b65.zip
Expand UMV border to 96 pixels
Ensures that the full 64 pixel border is available for prediction (need a minimum of 64+INTERP_EXTEND on all sides, and 32+INTERP_EXTEND on UV). Value also must be a multiple of 32 to keep UV stride alignment. The smaller border was causing the prediction to read outside the frame, which can cause a mismatch. TODO: Get rid of this explicit border and use edge emulation instead. Change-Id: I3f68453a088ec0ab4349d0f5cc02b573be06d7c4
Diffstat (limited to 'vpx_scale')
-rw-r--r--vpx_scale/yv12config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpx_scale/yv12config.h b/vpx_scale/yv12config.h
index 14b6e278b..22df3999e 100644
--- a/vpx_scale/yv12config.h
+++ b/vpx_scale/yv12config.h
@@ -18,7 +18,7 @@ extern "C" {
#include "vpx/vpx_integer.h"
#define VP8BORDERINPIXELS 32
-#define VP9BORDERINPIXELS 64
+#define VP9BORDERINPIXELS 96
#define VP9_INTERP_EXTEND 4
/*************************************