Commit 7bc61a6a authored by Peter de Rivaz's avatar Peter de Rivaz

Correct loopfilter for non420 streams

BUG=aomedia:84

Change-Id: Ieb4bd4893970a910e7277d49956a389ed19be777
parent 1ecdf2bf
......@@ -1308,8 +1308,8 @@ void av1_filter_block_plane_non420_ver(AV1_COMMON *cm,
const int skip_border_4x4_c = ss_x && mi_col + c == cm->mi_cols - 1;
const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1;
TX_SIZE tx_size_c = tx_size_wide_unit[tx_size];
TX_SIZE tx_size_r = tx_size_high_unit[tx_size];
TX_SIZE tx_size_c = txsize_horz_map[tx_size];
TX_SIZE tx_size_r = txsize_vert_map[tx_size];
int tx_size_mask = 0;
const int c_step = (c >> ss_x);
......@@ -1480,8 +1480,8 @@ void av1_filter_block_plane_non420_hor(AV1_COMMON *cm,
const int skip_border_4x4_c = ss_x && mi_col + c == cm->mi_cols - 1;
const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1;
TX_SIZE tx_size_c = tx_size_wide_unit[tx_size];
TX_SIZE tx_size_r = tx_size_high_unit[tx_size];
TX_SIZE tx_size_c = txsize_horz_map[tx_size];
TX_SIZE tx_size_r = txsize_vert_map[tx_size];
int tx_size_mask = 0;
const int c_step = (c >> ss_x);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment