From: Marco Date: Tue, 26 Sep 2017 22:47:14 +0000 (-0700) Subject: Remove the speed condition in setting compute_source_sad. X-Git-Tag: v1.7.0~149 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=819c5b365d4bf58446246b724cbbcca5fd064ae4;p=libvpx Remove the speed condition in setting compute_source_sad. The speed condition is not needed, feature can used for any speed in 1 pass code. Change-Id: I878ef3f63a075302eda48c0343fa243c80aab9ba --- diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c index 10b419966..bb93da4f4 100644 --- a/vp9/encoder/vp9_encoder.c +++ b/vp9/encoder/vp9_encoder.c @@ -3434,7 +3434,7 @@ static void encode_without_recode_loop(VP9_COMP *cpi, size_t *size, // scene detection and for superblock content state in CBR mode). // The flag may get reset below based on SVC or resizing state. cpi->compute_source_sad_onepass = - cpi->oxcf.mode == REALTIME && cpi->oxcf.speed >= 5 && cm->show_frame; + cpi->oxcf.mode == REALTIME && cm->show_frame; vpx_clear_system_state();