]> granicus.if.org Git - libvpx/commitdiff
cleanup experiments in configure
authorYaowu Xu <yaowu@google.com>
Wed, 18 Jul 2012 05:34:07 +0000 (22:34 -0700)
committerYaowu Xu <yaowu@google.com>
Wed, 18 Jul 2012 05:34:07 +0000 (22:34 -0700)
this commit removes a number of experiment options from configure
script. the associated experiments are already fully merged, the
options in configure script have no effect at all.

Change-Id: I8054ccaee0a04610162ed76ac9e59c4538217113

configure
vp8/encoder/encodeframe.c
vp8/encoder/onyx_if.c
vp8/encoder/rdopt.c

index 5f39413f2f975dce6c158ffa30e1d08cb3030109..c9b71c5a92e4e7a0b8b12e9dc0c11073cd54ee49 100755 (executable)
--- a/configure
+++ b/configure
@@ -214,11 +214,7 @@ HAVE_LIST="
     unistd_h
 "
 EXPERIMENT_LIST="
-    t8x8
     csm
-    qimode
-    uvintra
-    compred
     enhanced_interp
     featureupdates
     high_precision_mv
index ee0ed292112f819d3d5ca37ba3baa0d88ee296fb..ef34dd33e26a7fd8b90f06eabcfef8f5629e86b6 100644 (file)
@@ -854,13 +854,6 @@ static void encode_sb(VP8_COMP *cpi,
             check_segref(xd, *segment_id, LAST_FRAME) +
             check_segref(xd, *segment_id, GOLDEN_FRAME) +
             check_segref(xd, *segment_id, ALTREF_FRAME)) > 1)) {
-// TODO this may not be a good idea as it makes sample size small and means
-// the predictor functions cannot use data about most likely value only most
-// likely unpredicted value.
-// #if CONFIG_COMPRED
-//        // Only update count for incorrectly predicted cases
-//        if ( !ref_pred_flag )
-// #endif
         {
           cpi->count_mb_ref_frame_usage
           [xd->mode_info_context->mbmi.ref_frame]++;
index 3eb25d255f482e5302c79e30d5523326be86e79d..7a9022a1d21d1f07796f893048d60f7ebff5550d 100644 (file)
@@ -3013,12 +3013,6 @@ static void encode_frame_to_data_rate
     }
   }
 
-// #if !CONFIG_COMPRED
-  // This function has been deprecated for now but we may want to do
-  // something here at a late date
-  // update_rd_ref_frame_probs(cpi);
-// #endif
-
   // Test code for new segment features
   init_seg_features(cpi);
 
index 00732fdc738b914c9e45bcddba7b0e540f72e682..2c04b54b1a75da7cf4a1f8b448afc7f035350c79 100644 (file)
@@ -3748,9 +3748,6 @@ int vp8cx_pick_mode_inter_macroblock
   int distortion;
   int intra_error = 0;
   unsigned char *segment_id = &xd->mode_info_context->mbmi.segment_id;
-#if CONFIG_COMPRED
-  unsigned char ref_pred_flag;
-#endif
 
   if (xd->segmentation_enabled)
     x->encode_breakout = cpi->segment_encode_breakout[*segment_id];