shithub: libvpx

Download patch

ref: 819c5b365d4bf58446246b724cbbcca5fd064ae4
parent: d5094cfde8850293bc7790190300533483651f9d
author: Marco <marpan@google.com>
date: Tue Sep 26 11:47:14 EDT 2017

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

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -3434,7 +3434,7 @@
   // 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();