From 2d63dacfa022fc04b2a9c115f215652e6a840b7e Mon Sep 17 00:00:00 2001 From: Marco Paniconi Date: Wed, 10 Jul 2019 09:48:19 -0700 Subject: vp9-rtc: Reduce color artifact for speed 8 Push the reduced chroma check to speed > 8. Change-Id: I92dd0aa9933bb5417b1dc5eef8f805ee51e04ac9 --- vp9/encoder/vp9_encodeframe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- cgit v1.2.3