From: Jingning Han Date: Fri, 11 Mar 2016 20:05:18 +0000 (-0800) Subject: Turn off 32x32 transform type selection X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2c87a3ddaa653af8768852cd1bc43d9ce4d016a;p=libvpx Turn off 32x32 transform type selection Temporarily disable transform type selection for 32x32 transform block size. This speeds up the encoding process. For bus at CIF 150 frames, the encoding time goes from 896s -> 762s (11% faster). The compression performance for lowres set is improved by 0.15%, and -0.029% for hdres. Change-Id: If239b272970eb302150bec13b8cf192fbe045332 --- diff --git a/vp10/common/blockd.h b/vp10/common/blockd.h index d5139f7d1..016fc7559 100644 --- a/vp10/common/blockd.h +++ b/vp10/common/blockd.h @@ -380,7 +380,7 @@ static INLINE int supertx_enabled(const MB_MODE_INFO *mbmi) { #if CONFIG_EXT_TX #define ALLOW_INTRA_EXT_TX 1 // whether masked transforms are used for 32X32 -#define USE_MSKTX_FOR_32X32 1 +#define USE_MSKTX_FOR_32X32 0 static const int num_ext_tx_set_inter[EXT_TX_SETS_INTER] = { 1, 19, 12, 2 @@ -447,7 +447,7 @@ static const int ext_tx_used_inter[EXT_TX_SETS_INTER][TX_TYPES] = { { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, { 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1}, - { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1}, + { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0}, }; static INLINE int get_ext_tx_types(TX_SIZE tx_size, BLOCK_SIZE bs,