]> granicus.if.org Git - libvpx/commitdiff
vp9-rtc: Reduce color artifact for speed 8
authorMarco Paniconi <marpan@google.com>
Wed, 10 Jul 2019 16:48:19 +0000 (09:48 -0700)
committerMarco Paniconi <marpan@google.com>
Wed, 10 Jul 2019 16:49:41 +0000 (09:49 -0700)
Push the reduced chroma check to speed > 8.

Change-Id: I92dd0aa9933bb5417b1dc5eef8f805ee51e04ac9

vp9/encoder/vp9_encodeframe.c

index b91f4f2b3ed09914836c7778071c84b5b9a090a4..9eddf545eeda351da2703e8e17127fc099707853 100644 (file)
@@ -1214,8 +1214,8 @@ static void chroma_check(VP9_COMP *cpi, MACROBLOCK *x, int bsize,
 
   if (is_key_frame) return;
 
-  // For speed >= 8, avoid the chroma check if y_sad is above threshold.
-  if (cpi->oxcf.speed >= 8) {
+  // For speed > 8, avoid the chroma check if y_sad is above threshold.
+  if (cpi->oxcf.speed > 8) {
     if (y_sad > cpi->vbp_thresholds[1] &&
         (!cpi->noise_estimate.enabled ||
          vp9_noise_estimate_extract_level(&cpi->noise_estimate) < kMedium))