Commit 78cde4f5 authored by Jacky Chen's avatar Jacky Chen Committed by Gerrit Code Review
Browse files

Merge "vp9: Don't force block size to 8x8 in denoiser."

parents 43622dd9 c69a141a
...@@ -1845,8 +1845,7 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, ...@@ -1845,8 +1845,7 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
cpi->denoiser.denoising_level > kDenLowLow && cpi->denoiser.denoising_level > kDenLowLow &&
cpi->denoiser.reset == 0) { cpi->denoiser.reset == 0) {
VP9_DENOISER_DECISION decision = COPY_BLOCK; VP9_DENOISER_DECISION decision = COPY_BLOCK;
vp9_denoiser_denoise(cpi, x, mi_row, mi_col, VPXMAX(BLOCK_8X8, bsize), vp9_denoiser_denoise(cpi, x, mi_row, mi_col, bsize, ctx, &decision);
ctx, &decision);
// If INTRA or GOLDEN reference was selected, re-evaluate ZEROMV on denoised // If INTRA or GOLDEN reference was selected, re-evaluate ZEROMV on denoised
// result. Only do this under noise conditions, and if rdcost of ZEROMV on // result. Only do this under noise conditions, and if rdcost of ZEROMV on
// original source is not significantly higher than rdcost of best mode. // original source is not significantly higher than rdcost of best mode.
......
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