shithub: libvpx

Download patch

ref: 22d8c156f946bed1ac6fccd893f9a4d10e206b50
parent: 76035d16d9b01d15a9fa873e579bd5c923c4bec3
parent: d237d483a524dc9188d5721a87287ee3e9a06910
author: Yaowu Xu <yaowu@google.com>
date: Wed Sep 24 10:09:45 EDT 2014

Merge "Correct the condition for border extension"

--- a/vp9/common/vp9_reconinter.c
+++ b/vp9/common/vp9_reconinter.c
@@ -463,7 +463,7 @@
 
     // Do border extension if there is motion or the
     // width/height is not a multiple of 8 pixels.
-    if (scaled_mv.col || scaled_mv.row ||
+    if (vp9_is_scaled(sf) || scaled_mv.col || scaled_mv.row ||
         (frame_width & 0x7) || (frame_height & 0x7)) {
       // Get reference block bottom right coordinate.
       int x1 = ((x0_16 + (w - 1) * xs) >> SUBPEL_BITS) + 1;