shithub: libvpx

Download patch

ref: 561e01e7103a2c20e269b74e068113507ea2427e
parent: 729d7d6a2ff0f9a9d2f5534767ddb7edd6f598a7
author: Jingning Han <jingning@google.com>
date: Wed Jun 20 07:03:05 EDT 2018

Disable tpl model in high bd route

Temporarily disable tpl dep model in the high bit-depth route to
prevent encoding failure.

Change-Id: Iebb3168a60b38dcc1273e25542530c4359dc679d

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -5666,6 +5666,15 @@
   int tpl_group_frames = 0;
   int frame_idx;
 
+  // TODO(jingning): Make the model support high bit-depth route.
+#if CONFIG_VP9_HIGHBITDEPTH
+  (void)gf_picture;
+  (void)gf_group;
+  (void)tpl_group_frames;
+  (void)frame_idx;
+  return;
+#endif
+
   init_gop_frames(cpi, gf_picture, gf_group, &tpl_group_frames);
 
   init_tpl_stats(cpi);