Commit 77f7f6a8 authored by Dmitry Kovalev's avatar Dmitry Kovalev Committed by Gerrit Code Review
Browse files

Merge "Removing unused SPEEDSTATS."

parents 340f0c96 faeb21dd
...@@ -93,12 +93,7 @@ FILE *kf_list; ...@@ -93,12 +93,7 @@ FILE *kf_list;
FILE *keyfile; FILE *keyfile;
#endif #endif
#ifdef SPEEDSTATS void vp9_init_quantizer(VP9_COMP *cpi);
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);
static const double in_frame_q_adj_ratio[MAX_SEGMENTS] = 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}; {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) { ...@@ -953,10 +948,6 @@ void vp9_set_speed_features(VP9_COMP *cpi) {
} }
cpi->mb.optimize = cpi->sf.optimize_coefficients == 1 && cpi->pass != 1; 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) { static void alloc_raw_frame_buffers(VP9_COMP *cpi) {
......
...@@ -38,7 +38,6 @@ extern "C" { ...@@ -38,7 +38,6 @@ extern "C" {
// #define MODE_TEST_HIT_STATS // #define MODE_TEST_HIT_STATS
// #define SPEEDSTATS 1
#if CONFIG_MULTIPLE_ARF #if CONFIG_MULTIPLE_ARF
// Set MIN_GF_INTERVAL to 1 for the full decomposition. // Set MIN_GF_INTERVAL to 1 for the full decomposition.
#define MIN_GF_INTERVAL 2 #define MIN_GF_INTERVAL 2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment