diff --git a/vp9/encoder/vp9_denoiser.c b/vp9/encoder/vp9_denoiser.c index e047f7ef6d1d18aee9550be0ce9c49ed4cae28b4..12f6d3abde137d38dde1eeb87efd6d8dc97a7810 100644 --- a/vp9/encoder/vp9_denoiser.c +++ b/vp9/encoder/vp9_denoiser.c @@ -130,7 +130,8 @@ static VP9_DENOISER_DECISION denoiser_filter(const uint8_t *sig, int sig_stride, // Otherwise, we try to dampen the filter if the delta is not too high. delta = ((abs(total_adj) - total_adj_strong_thresh(bs, increase_denoising)) >> 8) + 1; - if (delta > delta_thresh(bs, increase_denoising)) { + + if (delta >= delta_thresh(bs, increase_denoising)) { return COPY_BLOCK; }