From 31341374d72c51652f312f71f3eb658a7c9f665a Mon Sep 17 00:00:00 2001 From: Debargha Mukherjee Date: Tue, 15 Sep 2015 12:12:34 -0700 Subject: [PATCH] Inter UV blocks use the same transform type as Y Extend the ext_tx experiment to make the UV inter blocks use the same transform type as the extended transform type used for Y. derflr: +1.792% (about +0.06) Change-Id: I4a77e1f7764b2e8b523e28f42ba13559dde4f0ca --- vp10/common/blockd.h | 6 +----- vp10/common/entropymode.c | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/vp10/common/blockd.h b/vp10/common/blockd.h index ce4bd3926..bdf09d69b 100644 --- a/vp10/common/blockd.h +++ b/vp10/common/blockd.h @@ -266,11 +266,7 @@ static INLINE TX_TYPE get_tx_type(PLANE_TYPE plane_type, if (xd->lossless || tx_size >= TX_32X32) return DCT_DCT; if (is_inter_block(&mi->mbmi)) { - if (plane_type == PLANE_TYPE_Y) { - return ext_tx_to_txtype[mi->mbmi.ext_txfrm]; - } else { - return DCT_DCT; - } + return ext_tx_to_txtype[mi->mbmi.ext_txfrm]; } return intra_mode_to_tx_type_lookup[plane_type == PLANE_TYPE_Y ? get_y_mode(mi, block_idx) : mbmi->uv_mode]; diff --git a/vp10/common/entropymode.c b/vp10/common/entropymode.c index b8c735058..a194c1478 100644 --- a/vp10/common/entropymode.c +++ b/vp10/common/entropymode.c @@ -334,9 +334,9 @@ const vpx_tree_index vp10_ext_tx_tree[TREE_SIZE(EXT_TX_TYPES)] = { }; static const vpx_prob default_ext_tx_prob[EXT_TX_SIZES][EXT_TX_TYPES - 1] = { - { 160, 20, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128 }, { 144, 20, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128 }, { 128, 20, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128 }, + { 112, 20, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128 }, }; #endif // CONFIG_EXT_TX -- 2.40.0