shithub: libvpx

Download patch

ref: b869b970c1a965f77a401a68245a1ba01b6a665c
parent: 46b83391e24cd3c9227c29b540ee654c3dc3491a
parent: d75266f14135d35509d2a7a609bd879f805d4903
author: JackyChen <[email protected]>
date: Thu Sep 4 11:48:22 EDT 2014

Merge "Update the condition when COPY_BLOCK is chosen."

--- a/vp9/encoder/vp9_denoiser.c
+++ b/vp9/encoder/vp9_denoiser.c
@@ -130,7 +130,8 @@
   // 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;
   }