]> granicus.if.org Git - libvpx/commitdiff
Removing unused SPEEDSTATS.
authorDmitry Kovalev <dkovalev@google.com>
Wed, 5 Feb 2014 19:23:13 +0000 (11:23 -0800)
committerDmitry Kovalev <dkovalev@google.com>
Wed, 5 Feb 2014 19:23:13 +0000 (11:23 -0800)
Change-Id: Ia41007206ce437852dd1b532ee8e233d889e0040

vp9/encoder/vp9_onyx_if.c
vp9/encoder/vp9_onyx_int.h

index 3cf8ddb8cf36190beb2bf0700385d7f57dcdf705..f37bb240b46e4949d0ff129da214f16f629d6ead 100644 (file)
@@ -93,12 +93,7 @@ FILE *kf_list;
 FILE *keyfile;
 #endif
 
-#ifdef SPEEDSTATS
-unsigned int frames_at_speed[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-                                    0, 0, 0};
-#endif
-
-extern void vp9_init_quantizer(VP9_COMP *cpi);
+void vp9_init_quantizer(VP9_COMP *cpi);
 
 static const double in_frame_q_adj_ratio[MAX_SEGMENTS] =
   {1.0, 1.5, 2.0, 1.0, 1.0, 1.0, 1.0, 1.0};
@@ -953,10 +948,6 @@ void vp9_set_speed_features(VP9_COMP *cpi) {
   }
 
   cpi->mb.optimize = cpi->sf.optimize_coefficients == 1 && cpi->pass != 1;
-
-#ifdef SPEEDSTATS
-  frames_at_speed[cpi->speed]++;
-#endif
 }
 
 static void alloc_raw_frame_buffers(VP9_COMP *cpi) {
index a98c6bf805cce99776aa06c5b3e0962cbcc04c36..1a49ee30533a012da65bef12ceb289e9a4261ddd 100644 (file)
@@ -39,7 +39,6 @@ extern "C" {
 #define DISABLE_RC_LONG_TERM_MEM 0
 // #define MODE_TEST_HIT_STATS
 
-// #define SPEEDSTATS 1
 #if CONFIG_MULTIPLE_ARF
 // Set MIN_GF_INTERVAL to 1 for the full decomposition.
 #define MIN_GF_INTERVAL             2