[xiph-commits] r9149 - experimental/giles/theora-exp-mt/examples

giles at motherfish-iii.xiph.org giles at motherfish-iii.xiph.org
Sun Apr 17 00:44:01 PDT 2005


Author: giles
Date: 2005-04-17 00:44:00 -0700 (Sun, 17 Apr 2005)
New Revision: 9149

Modified:
   experimental/giles/theora-exp-mt/examples/player_example.c
Log:
Start with postprocessing filters completely off, since we're
interested in performance for the moment.


Modified: experimental/giles/theora-exp-mt/examples/player_example.c
===================================================================
--- experimental/giles/theora-exp-mt/examples/player_example.c	2005-04-17 07:39:35 UTC (rev 9148)
+++ experimental/giles/theora-exp-mt/examples/player_example.c	2005-04-17 07:44:00 UTC (rev 9149)
@@ -695,7 +695,10 @@
     dump_comments(&tc);
     theora_decode_ctl(td,OC_DECCTL_GET_PPLEVEL_MAX,&pp_level_max,
      sizeof(pp_level_max));
-    pp_level=pp_level_max;
+    /* start with no preprocessing to avoid dropping initial frames
+       on cpu-bound streams. A real decoder would keep a heuristic
+       table based on the uncompressed data rate for initialization */
+    pp_level=0;
     theora_decode_ctl(td,OC_DECCTL_SET_PPLEVEL,&pp_level,sizeof(pp_level));
     pp_inc=0;
   }else{



More information about the commits mailing list