Merge "Fix incorrect subsampling used in VP9 non420 loopfilter."
This commit is contained in:
commit
7be8954e34
@ -1155,8 +1155,8 @@ static void filter_block_plane_non420(VP9_COMMON *cm,
|
|||||||
int mi_row, int mi_col) {
|
int mi_row, int mi_col) {
|
||||||
const int ss_x = plane->subsampling_x;
|
const int ss_x = plane->subsampling_x;
|
||||||
const int ss_y = plane->subsampling_y;
|
const int ss_y = plane->subsampling_y;
|
||||||
const int row_step = 1 << ss_x;
|
const int row_step = 1 << ss_y;
|
||||||
const int col_step = 1 << ss_y;
|
const int col_step = 1 << ss_x;
|
||||||
const int row_step_stride = cm->mi_stride * row_step;
|
const int row_step_stride = cm->mi_stride * row_step;
|
||||||
struct buf_2d *const dst = &plane->dst;
|
struct buf_2d *const dst = &plane->dst;
|
||||||
uint8_t* const dst0 = dst->buf;
|
uint8_t* const dst0 = dst->buf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user