Commit d75266f1 authored by JackyChen's avatar JackyChen
Browse files

Update the condition when COPY_BLOCK is chosen.

The change is just to keep the condition the same with VP8.

Change-Id: I9662b40996126605945dd853c0cbe8916c1ce578
Showing with 2 additions and 1 deletion
......@@ -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;
}
......
Supports Markdown
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