From 33dafdb58b35c7710aeb6f66e62a2a5a85183e38 Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Tue, 7 Jun 2016 09:40:17 -0700 Subject: [PATCH] Add tx type speed feature to recursive transform block partitioning Change-Id: I45440a72b4287d98cbe21b72defc67138a8eb953 --- vp10/encoder/rdopt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vp10/encoder/rdopt.c b/vp10/encoder/rdopt.c index f701f64d7..9e18e12d5 100644 --- a/vp10/encoder/rdopt.c +++ b/vp10/encoder/rdopt.c @@ -3534,6 +3534,10 @@ static void select_tx_type_yrd(const VP10_COMP *cpi, MACROBLOCK *x, !do_tx_type_search(tx_type, prune)) continue; #endif // CONFIG_EXT_TX + if (is_inter && x->use_default_inter_tx_type && + tx_type != get_default_tx_type(0, xd, 0, max_tx_size)) + continue; + rd = select_tx_size_fix_type(cpi, x, &this_rate, &this_dist, &this_skip, &this_sse, bsize, ref_best_rd, tx_type);