shithub: libvpx

Download patch

ref: 3ef16b45e61bf6e573a48e9c97562b551d966efd
parent: 006dc3a224c8cad4be18d25ca1e282a8d6bb6bbd
author: Jingning Han <jingning@google.com>
date: Tue Jul 10 10:36:02 EDT 2018

Enable tpl model only for ARFs

Currently only enable the temporal model for ARFs.

Change-Id: I6e7fd7bba54c3e0cf56147f049fc3ead85542d04

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -3631,6 +3631,8 @@
 
   if (tpl_frame->is_valid == 0) return orig_rdmult;
 
+  if (cpi->common.show_frame) return orig_rdmult;
+
   r0 = cpi->rd.r0;
 
   for (row = mi_row; row < mi_row + mi_high; ++row) {