]> granicus.if.org Git - libvpx/commitdiff
Speed 2 feature adjustment.
authorPaul Wilkins <paulwilkins@google.com>
Wed, 3 Jul 2013 16:54:06 +0000 (17:54 +0100)
committerPaul Wilkins <paulwilkins@google.com>
Thu, 11 Jul 2013 12:59:12 +0000 (13:59 +0100)
With sf->auto_mv_step_size on it is questionable
whether sf->reduce_first_step_size is worthwhile.
At speed 2 it was not having a big impact.

Even at speed 2 sf->optimize_coefficients = 0 is not
having a big speed imapct so for now I have moved it
down into a higher speed setting.

Change-Id: I8a54de76d486ad37aabce76474889da2768b14c1

vp9/encoder/vp9_onyx_if.c

index 67d0c4c76015579029556bbd322e2dc0956e600f..e50d90472ed7682f6d1dbab769939c6decdb2594 100644 (file)
@@ -779,9 +779,6 @@ void vp9_set_speed_features(VP9_COMP *cpi) {
         sf->adjust_partitioning_from_last_frame = 1;
         sf->last_partitioning_redo_frequency = 3;
         sf->unused_mode_skip_lvl = BLOCK_SIZE_SB32X32;
-        sf->reduce_first_step_size = 1;
-        sf->optimize_coefficients = 0;
-        // sf->reference_masking = 1;
         sf->tx_size_search_method = ((cpi->common.frame_type == KEY_FRAME ||
                                       cpi->common.intra_only ||
                                       cpi->common.show_frame == 0) ?
@@ -802,7 +799,6 @@ void vp9_set_speed_features(VP9_COMP *cpi) {
                                       cpi->common.show_frame == 0) ?
                                      USE_FULL_RD :
                                      USE_LARGESTALL);
-        sf->reduce_first_step_size = 1;
         sf->mode_search_skip_flags = FLAG_SKIP_INTRA_DIRMISMATCH |
                                      FLAG_SKIP_INTRA_BESTINTER |
                                      FLAG_SKIP_COMP_BESTINTRA |
@@ -823,6 +819,9 @@ void vp9_set_speed_features(VP9_COMP *cpi) {
                                      FLAG_SKIP_COMP_BESTINTRA |
                                      FLAG_SKIP_COMP_REFMISMATCH;
         sf->use_rd_breakout = 1;
+        sf->optimize_coefficients = 0;
+        // sf->reduce_first_step_size = 1;
+        // sf->reference_masking = 1;
       }
       /*
       if (speed == 2) {