Merge "Update the condition when COPY_BLOCK is chosen."

This commit is contained in:
JackyChen 2014-09-04 15:48:22 -07:00 committed by Gerrit Code Review
commit b869b970c1

View File

@ -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;
}