]> granicus.if.org Git - libvpx/commitdiff
Disable tpl model in high bd route
authorJingning Han <jingning@google.com>
Wed, 20 Jun 2018 18:03:05 +0000 (11:03 -0700)
committerJingning Han <jingning@google.com>
Wed, 20 Jun 2018 19:29:46 +0000 (12:29 -0700)
Temporarily disable tpl dep model in the high bit-depth route to
prevent encoding failure.

Change-Id: Iebb3168a60b38dcc1273e25542530c4359dc679d

vp9/encoder/vp9_encoder.c

index 0953e7734c61ba90d969f51e9963c14e40f14392..cecd9c886613bd18f820abf79fadc785c96c61c8 100644 (file)
@@ -5666,6 +5666,15 @@ void setup_tpl_stats(VP9_COMP *cpi) {
   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);