summaryrefslogtreecommitdiff
path: root/vp8/common/entropy.h
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2012-08-29 11:25:38 -0700
committerJingning Han <jingning@google.com>2012-08-30 16:52:25 -0700
commitde6dfa6bb0cd680ca446a15b52b2a026859eb1e6 (patch)
tree50bc09ddb7d72155a8a37079cf33c25fdf4a60bc /vp8/common/entropy.h
parentc59e36fc76ce3c5dd0b9a40e8f95a225248ce018 (diff)
downloadlibvpx-de6dfa6bb0cd680ca446a15b52b2a026859eb1e6.tar
libvpx-de6dfa6bb0cd680ca446a15b52b2a026859eb1e6.tar.gz
libvpx-de6dfa6bb0cd680ca446a15b52b2a026859eb1e6.tar.bz2
libvpx-de6dfa6bb0cd680ca446a15b52b2a026859eb1e6.zip
hybrid transform of 16x16 dimension
Enable ADST/DCT of dimension 16x16 for I16X16 modes. This change provides benefits mostly for hd sequences. Set up the framework for selectable transform dimension. Also allowing quantization parameter threshold to control the use of hybrid transform (This is currently disabled by setting threshold always above the quantization parameter. Adaptive thresholding can be built upon this, which will further improve the coding performance.) The coding performance gains (with respect to the codec that has all other configuration settings turned on) are derf: 0.013 yt: 0.086 hd: 0.198 std-hd: 0.501 Change-Id: Ibb4263a61fc74e0b3c345f54d73e8c73552bf926
Diffstat (limited to 'vp8/common/entropy.h')
-rw-r--r--vp8/common/entropy.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/vp8/common/entropy.h b/vp8/common/entropy.h
index a435448e6..f82df9681 100644
--- a/vp8/common/entropy.h
+++ b/vp8/common/entropy.h
@@ -67,6 +67,7 @@ extern vp8_extra_bit_struct vp8_extra_bits[12]; /* indexed by token value */
#else
#define BLOCK_TYPES_8X8 3
#endif
+
#define BLOCK_TYPES_16X16 4
/* Middle dimension is a coarsening of the coefficient's
@@ -75,7 +76,7 @@ extern vp8_extra_bit_struct vp8_extra_bits[12]; /* indexed by token value */
#define COEF_BANDS 8
extern DECLARE_ALIGNED(16, const int, vp8_coef_bands[16]);
extern DECLARE_ALIGNED(64, const int, vp8_coef_bands_8x8[64]);
-#if CONFIG_TX16X16
+#if CONFIG_TX16X16 || CONFIG_HYBRIDTRANSFORM16X16
extern DECLARE_ALIGNED(16, const int, vp8_coef_bands_16x16[256]);
#endif
@@ -118,7 +119,7 @@ extern short vp8_default_zig_zag_mask[16];
extern DECLARE_ALIGNED(64, const int, vp8_default_zig_zag1d_8x8[64]);
void vp8_coef_tree_initialize(void);
-#if CONFIG_TX16X16
+#if CONFIG_TX16X16 || CONFIG_HYBRIDTRANSFORM16X16
extern DECLARE_ALIGNED(16, const int, vp8_default_zig_zag1d_16x16[256]);
#endif
void vp8_adapt_coef_probs(struct VP8Common *);