shithub: libvpx

Download patch

ref: 7be8954e34903e144173ec0fce2418175da56970
parent: e1d3c36525fd5aadb24610b6cbf2b8219d435933
parent: eafd842a3ebc99a32fca3f741089d49957cbccb4
author: Yaowu Xu <yaowu@google.com>
date: Wed Sep 24 04:59:11 EDT 2014

Merge "Fix incorrect subsampling used in VP9 non420 loopfilter."

--- a/vp9/common/vp9_loopfilter.c
+++ b/vp9/common/vp9_loopfilter.c
@@ -1155,8 +1155,8 @@
                                       int mi_row, int mi_col) {
   const int ss_x = plane->subsampling_x;
   const int ss_y = plane->subsampling_y;
-  const int row_step = 1 << ss_x;
-  const int col_step = 1 << ss_y;
+  const int row_step = 1 << ss_y;
+  const int col_step = 1 << ss_x;
   const int row_step_stride = cm->mi_stride * row_step;
   struct buf_2d *const dst = &plane->dst;
   uint8_t* const dst0 = dst->buf;