From 9e408e35041f52e2608915493964d2cda6ae6969 Mon Sep 17 00:00:00 2001 From: Yaowu Xu Date: Mon, 1 Jul 2013 19:13:18 -0700 Subject: [PATCH] fix the mismatch again in cpu_used 2 Change-Id: Icc4f70f0b0f91c9e7d5d00eedd67841afe2f2679 --- vp9/encoder/vp9_onyx_if.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_onyx_if.c b/vp9/encoder/vp9_onyx_if.c index bb4bbd87c..51dc7911c 100644 --- a/vp9/encoder/vp9_onyx_if.c +++ b/vp9/encoder/vp9_onyx_if.c @@ -738,7 +738,9 @@ void vp9_set_speed_features(VP9_COMP *cpi) { 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; -- 2.40.0