Trivial clean up.
authorPaul Wilkins <paulwilkins@google.com>
Tue, 13 Aug 2013 12:22:13 +0000 (13:22 +0100)
committerPaul Wilkins <paulwilkins@google.com>
Tue, 13 Aug 2013 12:26:18 +0000 (13:26 +0100)
Delete unused / commented out  variable references.

Change-Id: Iaf20c0c3744f89adb296d153b516b5ea41b4f3b4

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

index 7ba322b..fd624af 100644 (file)
@@ -730,9 +730,7 @@ void vp9_set_speed_features(VP9_COMP *cpi) {
   sf->auto_min_max_partition_size = 0;
   sf->auto_min_max_partition_interval = 0;
   sf->auto_min_max_partition_count = 0;
-  // sf->use_max_partition_size = 0;
   sf->max_partition_size = BLOCK_64X64;
-  // sf->use_min_partition_size = 0;
   sf->min_partition_size = BLOCK_4X4;
   sf->adjust_partitioning_from_last_frame = 0;
   sf->last_partitioning_redo_frequency = 4;
@@ -794,8 +792,6 @@ void vp9_set_speed_features(VP9_COMP *cpi) {
         sf->auto_mv_step_size = 1;
 
         sf->auto_min_max_partition_size = 1;
-        // sf->use_max_partition_size = 1;
-        // sf->use_min_partition_size = 1;
         sf->auto_min_max_partition_interval = 1;
       }
       if (speed == 2) {
@@ -883,13 +879,11 @@ void vp9_set_speed_features(VP9_COMP *cpi) {
       if (speed == 2) {
         sf->first_step = 0;
         sf->comp_inter_joint_search_thresh = BLOCK_8X8;
-        sf->use_max_partition_size = 1;
         sf->max_partition_size = BLOCK_16X16;
       }
       if (speed == 3) {
         sf->first_step = 0;
         sf->comp_inter_joint_search_thresh = BLOCK_B8X8;
-        sf->use_min_partition_size = 1;
         sf->min_partition_size = BLOCK_8X8;
       }
       */
index e5b3eb7..5a78bd9 100644 (file)
@@ -275,8 +275,6 @@ typedef struct {
   int auto_min_max_partition_count;
   BLOCK_SIZE_TYPE min_partition_size;
   BLOCK_SIZE_TYPE max_partition_size;
-  // int use_min_partition_size;       // not used in code
-  // int use_max_partition_size;
   int adjust_partitioning_from_last_frame;
   int last_partitioning_redo_frequency;
   int disable_splitmv;