shithub: libvpx

Download patch

ref: 9e408e35041f52e2608915493964d2cda6ae6969
parent: d4158283e79fbdf684ec4f2f983509b793c59090
author: Yaowu Xu <[email protected]>
date: Mon Jul 1 15:13:18 EDT 2013

fix the mismatch again in cpu_used 2

Change-Id: Icc4f70f0b0f91c9e7d5d00eedd67841afe2f2679

--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -738,7 +738,9 @@
                                           cpi->common.show_frame == 0);
       }
       if (speed == 2) {
-        sf->use_largest_txform        = 1;
+        sf->use_largest_txform        = !(cpi->common.frame_type == KEY_FRAME ||
+                                                  cpi->common.intra_only ||
+                                                  cpi->common.show_frame == 0);
         sf->adjust_thresholds_by_speed = 1;
         sf->less_rectangular_check  = 1;
         sf->comp_inter_joint_search_thresh = BLOCK_SIZE_TYPES;