From: Yaowu Xu Date: Tue, 2 Sep 2014 23:21:57 +0000 (-0700) Subject: select_tx_mode(): remove special case for key frame X-Git-Tag: v1.4.0~859^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1058e5bbec4d6b5b6770f3011bca183a3948e93;p=platform%2Fupstream%2Flibvpx.git select_tx_mode(): remove special case for key frame This commit removes the special case for key frame, as transform size decision is controlled by the appropriate speed feature for all lossy coding modes: tx_size_search_method. Change-Id: I9677171e3f2432ec23705f7c5ea8170dd4562fae --- diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 07134dc..72ced05 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -2603,8 +2603,6 @@ static MV_REFERENCE_FRAME get_frame_type(const VP9_COMP *cpi) { static TX_MODE select_tx_mode(const VP9_COMP *cpi) { if (cpi->mb.e_mbd.lossless) return ONLY_4X4; - if (cpi->common.frame_type == KEY_FRAME) - return TX_MODE_SELECT; if (cpi->sf.tx_size_search_method == USE_LARGESTALL) return ALLOW_32X32; else if (cpi->sf.tx_size_search_method == USE_FULL_RD||