ref: 14437d0fa6b6ec9059f6b14e9a387a463c52392f
parent: c59d1a4dc7969d926d55b18e895e13076bba81eb
parent: e9ccc6fe7949cf7d97f2fbcce482daf4be856c05
author: Marco Paniconi <marpan@google.com>
date: Tue Aug 15 13:53:08 EDT 2017
Merge "vp9: Denoiser fix: use correct bsize for skin detection."
--- a/vp9/encoder/vp9_denoiser.c
+++ b/vp9/encoder/vp9_denoiser.c
@@ -350,8 +350,8 @@
VP9_COMMON *const cm = &cpi->common;
int j, i;
// Loop through the 8x8 sub-blocks.
- const int bw = num_8x8_blocks_wide_lookup[BLOCK_64X64];
- const int bh = num_8x8_blocks_high_lookup[BLOCK_64X64];
+ const int bw = num_8x8_blocks_wide_lookup[bs];
+ const int bh = num_8x8_blocks_high_lookup[bs];
const int xmis = VPXMIN(cm->mi_cols - mi_col, bw);
const int ymis = VPXMIN(cm->mi_rows - mi_row, bh);
const int block_index = mi_row * cm->mi_cols + mi_col;