shithub: libvpx

Download patch

ref: 4d2ec89de0b9915bc93bcb5199855506e055b437
parent: d26b6b5b9a5964f526e55bc1887dcf10ea4430ec
parent: 112652fb0913f53a6c6fbfc2003d7857416ed7e2
author: Jingning Han <jingning@google.com>
date: Fri Jun 29 01:02:40 EDT 2018

Merge "Skip temporal dependency build when the speed feature is off"

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -5906,7 +5906,7 @@
     for (i = 0; i < MAX_REF_FRAMES; ++i) cpi->scaled_ref_idx[i] = INVALID_IDX;
   }
 
-  if (arf_src_index) setup_tpl_stats(cpi);
+  if (arf_src_index && cpi->sf.enable_tpl_model) setup_tpl_stats(cpi);
 
   cpi->td.mb.fp_src_pred = 0;
 #if CONFIG_REALTIME_ONLY