From 9824230fe3ee33fa2deac0745521e625b4c38be9 Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Mon, 25 Jun 2012 12:26:09 -0700 Subject: Adds hybrid transform Adds ADST/DCT hybrid transform coding for Intra4x4 mode. The ADST is applied to directions in which the boundary pixels are used for prediction, while DCT applied to directions without corresponding boundary prediction. Adds enum TX_TYPE in b_mode_infor to indicate the transform type used. Make coding style consistent with google style. Fixed the commented issues. Experimental results in terms of bit-rate reduction: derf: 0.731% yt: 0.982% std-hd: 0.459% hd: 0.725% Will be looking at 8x8 transforms next. Change-Id: I46dbd7b80dbb3e8856e9c34fbc58cb3764a12fcf --- vp8/common/invtrans.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vp8/common/invtrans.h') diff --git a/vp8/common/invtrans.h b/vp8/common/invtrans.h index 4c4f0d3d2..1eda173b4 100644 --- a/vp8/common/invtrans.h +++ b/vp8/common/invtrans.h @@ -15,6 +15,11 @@ #include "vpx_ports/config.h" #include "idct.h" #include "blockd.h" + +#if CONFIG_HYBRIDTRANSFORM +extern void vp8_inverse_htransform_b(const vp8_idct_rtcd_vtable_t *rtcd, BLOCKD *b, int pitch); +#endif + extern void vp8_inverse_transform_b(const vp8_idct_rtcd_vtable_t *rtcd, BLOCKD *b, int pitch); extern void vp8_inverse_transform_mb(const vp8_idct_rtcd_vtable_t *rtcd, MACROBLOCKD *x); extern void vp8_inverse_transform_mby(const vp8_idct_rtcd_vtable_t *rtcd, MACROBLOCKD *x); -- cgit v1.2.3