]> granicus.if.org Git - libvpx/commitdiff
Extends ext_tx expt to include all hybrid variants
authorDeb Mukherjee <debargha@google.com>
Sat, 15 Nov 2014 01:11:45 +0000 (17:11 -0800)
committerDeb Mukherjee <debargha@google.com>
Fri, 21 Nov 2014 15:21:38 +0000 (07:21 -0800)
Extends the ext-tx experiment to include all 9 DST/DCT
variants.

Results with ext_tx experiment:
derflr: +1.338 derflr (improved from 1.12)

Change-Id: I24b5564f96bce6ccaa13d88ca6cb9d0c57000597

vp9/common/vp9_blockd.h
vp9/common/vp9_entropymode.c
vp9/common/vp9_enums.h

index 32c69ff4d302316864a43f5bbc5ab43ec2c09868..874841fa69023fddea7f7784e866c981d7afcec8 100644 (file)
@@ -266,7 +266,11 @@ static TX_TYPE ext_tx_to_txtype[EXT_TX_TYPES] = {
   ADST_ADST,
   FLIPADST_FLIPADST,
   ADST_FLIPADST,
-  FLIPADST_ADST
+  FLIPADST_ADST,
+  ADST_DCT,
+  DCT_ADST,
+  FLIPADST_DCT,
+  DCT_FLIPADST,
 };
 #endif
 
index 9385c36abf560758ecf1d7985f8420f80e0374f5..84e8c6dd1613693a928d6346bdd3706667e34267 100644 (file)
@@ -293,15 +293,19 @@ static const struct tx_probs default_tx_probs = {
 #if CONFIG_EXT_TX
 const vp9_tree_index vp9_ext_tx_tree[TREE_SIZE(EXT_TX_TYPES)] = {
   -NORM, 2,
-  4, 6,
+  4, 10,
+  6, 8,
   -ALT1, -ALT2,
   -ALT3, -ALT4,
+  12, 14,
+  -ALT5, -ALT6,
+  -ALT7, -ALT8,
 };
 
 static const vp9_prob default_ext_tx_prob[3][EXT_TX_TYPES - 1] = {
-  { 224, 128, 128, 128 },
-  { 208, 128, 128, 128 },
-  { 192, 128, 128, 128 },
+  { 240, 128, 128, 128, 128, 128, 128, 128 },
+  { 208, 128, 128, 128, 128, 128, 128, 128 },
+  { 176, 128, 128, 128, 128, 128, 128, 128 },
 };
 #endif  // CONFIG_EXT_TX
 
index cf6bba688b9669184c1cd24401273daae4a5b5f3..1549afd9d0592d9424af27ec5476dc4ae0663279 100644 (file)
@@ -119,6 +119,10 @@ typedef enum {
   ALT2 = 2,
   ALT3 = 3,
   ALT4 = 4,
+  ALT5 = 5,
+  ALT6 = 6,
+  ALT7 = 7,
+  ALT8 = 8,
   EXT_TX_TYPES
 } EXT_TX_TYPE;
 #endif