]> granicus.if.org Git - libvpx/commitdiff
Remove TX_SIZE_MAX_MB.
authorRonald S. Bultje <rbultje@google.com>
Thu, 30 May 2013 23:17:41 +0000 (16:17 -0700)
committerRonald S. Bultje <rbultje@google.com>
Fri, 31 May 2013 00:21:06 +0000 (17:21 -0700)
Change-Id: I715870513d1fef8471bfd0f5218a79360a1ef126

vp9/common/vp9_blockd.h
vp9/encoder/vp9_onyx_int.h

index 54d19f5180a4881b12e43365e9497b94560524b4..4456fd983e3e02e85e8fd26fe5cad546da9f77fb 100644 (file)
@@ -105,8 +105,7 @@ typedef enum {
   TX_4X4 = 0,                      // 4x4 dct transform
   TX_8X8 = 1,                      // 8x8 dct transform
   TX_16X16 = 2,                    // 16x16 dct transform
-  TX_SIZE_MAX_MB = 3,              // Number of different transforms available
-  TX_32X32 = TX_SIZE_MAX_MB,       // 32x32 dct transform
+  TX_32X32 = 3,                    // 32x32 dct transform
   TX_SIZE_MAX_SB,                  // Number of transforms available to SBs
 } TX_SIZE;
 
index cb787866e00328ebc9faf30e5d9cd95fd2bc9460..61b8907e6b9f0fb6afcbeff19c3c5d4febe422da 100644 (file)
@@ -334,8 +334,8 @@ typedef struct VP9_COMP {
   int single_pred_count[COMP_PRED_CONTEXTS];
   // FIXME contextualize
   int txfm_count_32x32p[TX_SIZE_MAX_SB];
-  int txfm_count_16x16p[TX_SIZE_MAX_MB];
-  int txfm_count_8x8p[TX_SIZE_MAX_MB - 1];
+  int txfm_count_16x16p[TX_SIZE_MAX_SB - 1];
+  int txfm_count_8x8p[TX_SIZE_MAX_SB - 2];
   int64_t rd_tx_select_diff[NB_TXFM_MODES];
   int rd_tx_select_threshes[4][NB_TXFM_MODES];