From: Marco Paniconi Date: Wed, 10 Jul 2019 16:48:19 +0000 (-0700) Subject: vp9-rtc: Reduce color artifact for speed 8 X-Git-Tag: v1.8.2~172 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d63dacfa022fc04b2a9c115f215652e6a840b7e;p=libvpx vp9-rtc: Reduce color artifact for speed 8 Push the reduced chroma check to speed > 8. Change-Id: I92dd0aa9933bb5417b1dc5eef8f805ee51e04ac9 --- diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index b91f4f2b3..9eddf545e 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -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))