diff options
author | Marco Paniconi <marpan@google.com> | 2019-07-10 09:48:19 -0700 |
---|---|---|
committer | Marco Paniconi <marpan@google.com> | 2019-07-10 09:49:41 -0700 |
commit | 2d63dacfa022fc04b2a9c115f215652e6a840b7e (patch) | |
tree | 6b51c4e4b8d5906fe1359c5b1aa74834154d56ce | |
parent | 741f5dc77c031bfbe0ad637e20622dfb584ff7e6 (diff) | |
download | libvpx-2d63dacfa022fc04b2a9c115f215652e6a840b7e.tar libvpx-2d63dacfa022fc04b2a9c115f215652e6a840b7e.tar.gz libvpx-2d63dacfa022fc04b2a9c115f215652e6a840b7e.tar.bz2 libvpx-2d63dacfa022fc04b2a9c115f215652e6a840b7e.zip |
vp9-rtc: Reduce color artifact for speed 8
Push the reduced chroma check to speed > 8.
Change-Id: I92dd0aa9933bb5417b1dc5eef8f805ee51e04ac9
-rw-r--r-- | vp9/encoder/vp9_encodeframe.c | 4 |
1 files 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)) |