shithub: libvpx

Download patch

ref: ad3b12f85714214dd06ad4dc05551c2b60357217
parent: 1a5bb3cc76304bf46a2ca8d1c1ec9ec95e060759
parent: 01016ff9a60bbf3c2f742661138db08ee6801a4f
author: John Koleszar <[email protected]>
date: Wed Jun 12 08:39:10 EDT 2013

Merge "Fix chroma output when scaling"

--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -1981,7 +1981,7 @@
         const int dst_stride = dst_strides[i];
         uint8_t *src = srcs[i] + y / factor * in_h / out_h * src_stride +
                                  x / factor * in_w / out_w;
-        uint8_t *dst = dsts[i] + y * dst_stride + x;
+        uint8_t *dst = dsts[i] + y / factor * dst_stride + x / factor;
 
         vp9_convolve8(src, src_stride, dst, dst_stride,
                       vp9_sub_pel_filters_8[x_q4 & 0xf], 16 * in_w / out_w,