shithub: libvpx

Download patch

ref: 10e83b07170d52cdb66ef740b67addcc38f7ef0c
parent: 9ca66ec050004636fef67ad06c0ff3460fb1a507
author: Yunqing Wang <yunqingwang@google.com>
date: Wed Jul 17 05:37:14 EDT 2013

Enable disable_splitmv feature for other speeds

Added disable_splitmv feature at other speed levels. For speed 3 or
above, always turn it on.

Change-Id: Ibb36f0a7ef12a34b4f8d0f9cb6193eab43b34360

--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -796,6 +796,8 @@
         sf->skip_encode_sb = 1;
         sf->use_uv_intra_rd_estimate = 1;
         sf->using_small_partition_info = 1;
+        sf->disable_splitmv =
+            (MIN(cpi->common.width, cpi->common.height) >= 720)? 1 : 0;
       }
       if (speed == 3) {
         sf->comp_inter_joint_search_thresh = BLOCK_SIZE_TYPES;
@@ -811,6 +813,7 @@
                                      FLAG_SKIP_COMP_REFMISMATCH;
         sf->use_rd_breakout = 1;
         sf->skip_encode_sb = 1;
+        sf->disable_splitmv = 1;
       }
       if (speed == 4) {
         sf->comp_inter_joint_search_thresh = BLOCK_SIZE_TYPES;
@@ -829,6 +832,8 @@
         sf->optimize_coefficients = 0;
         // sf->reduce_first_step_size = 1;
         // sf->reference_masking = 1;
+
+        sf->disable_splitmv = 1;
       }
       /*
       if (speed == 2) {
--