Remove unused members from VP9_COMP
authorAdrian Grange <agrange@google.com>
Mon, 4 Nov 2013 20:17:54 +0000 (12:17 -0800)
committerAdrian Grange <agrange@google.com>
Mon, 4 Nov 2013 20:32:17 +0000 (12:32 -0800)
Removed:
goldfreq, avg_encode_time, avg_pick_mode_time,
cpu_freq, interquantizer
member variables from VP9_COMP since they are no longer
used in the code.

Change-Id: I010a82c217d0da03c3f53d1858d3462190c12dcf

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

index 0b05cf2..0b1c322 100644 (file)
@@ -1180,7 +1180,6 @@ static void init_config(VP9_PTR ptr, VP9_CONFIG *oxcf) {
   int i;
 
   cpi->oxcf = *oxcf;
-  cpi->goldfreq = 7;
 
   cm->version = oxcf->version;
 
index 44f1e26..7a8a38e 100644 (file)
@@ -506,14 +506,9 @@ typedef struct VP9_COMP {
   int decimation_count;
 
   // for real time encoding
-  int avg_encode_time;              // microsecond
-  int avg_pick_mode_time;            // microsecond
   int speed;
-  unsigned int cpu_freq;           // Mhz
   int compressor_speed;
 
-  int interquantizer;
-  int goldfreq;
   int auto_worst_q;
   int cpu_used;
   int pass;