From: Angie Chiang Date: Wed, 28 Oct 2015 00:15:18 +0000 (-0700) Subject: Add vp10_fwd_txfm2d_8x8/16x16/32x32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f08141c7340cd9be0ab868ebe8750b2774787005;p=libvpx Add vp10_fwd_txfm2d_8x8/16x16/32x32 Change-Id: I8d73beee5a619d26f3f8640a6679150d874522c4 --- diff --git a/vp10/common/vp10_fwd_txfm2d.c b/vp10/common/vp10_fwd_txfm2d.c index ab93c623b..67449ec05 100644 --- a/vp10/common/vp10_fwd_txfm2d.c +++ b/vp10/common/vp10_fwd_txfm2d.c @@ -58,3 +58,27 @@ void vp10_fwd_txfm2d_4x4(const int16_t *input, int32_t *output, (void)bd; fwd_txfm2d_c(input, output, stride, cfg, txfm_buf); } + +void vp10_fwd_txfm2d_8x8(const int16_t *input, int32_t *output, + const int stride, const TXFM_2D_CFG *cfg, + const int bd) { + int txfm_buf[8 * 8 + 8 + 8]; + (void)bd; + fwd_txfm2d_c(input, output, stride, cfg, txfm_buf); +} + +void vp10_fwd_txfm2d_16x16(const int16_t *input, int32_t *output, + const int stride, const TXFM_2D_CFG *cfg, + const int bd) { + int txfm_buf[16 * 16 + 16 + 16]; + (void)bd; + fwd_txfm2d_c(input, output, stride, cfg, txfm_buf); +} + +void vp10_fwd_txfm2d_32x32(const int16_t *input, int32_t *output, + const int stride, const TXFM_2D_CFG *cfg, + const int bd) { + int txfm_buf[32 * 32 + 32 + 32]; + (void)bd; + fwd_txfm2d_c(input, output, stride, cfg, txfm_buf); +} diff --git a/vp10/common/vp10_fwd_txfm2d.h b/vp10/common/vp10_fwd_txfm2d.h index 77b95006c..64e6f5607 100644 --- a/vp10/common/vp10_fwd_txfm2d.h +++ b/vp10/common/vp10_fwd_txfm2d.h @@ -18,6 +18,15 @@ extern "C" { void vp10_fwd_txfm2d_4x4(const int16_t *input, int32_t *output, const int stride, const TXFM_2D_CFG *cfg, const int bd); +void vp10_fwd_txfm2d_8x8(const int16_t *input, int32_t *output, + const int stride, const TXFM_2D_CFG *cfg, + const int bd); +void vp10_fwd_txfm2d_16x16(const int16_t *input, int32_t *output, + const int stride, const TXFM_2D_CFG *cfg, + const int bd); +void vp10_fwd_txfm2d_32x32(const int16_t *input, int32_t *output, + const int stride, const TXFM_2D_CFG *cfg, + const int bd); #ifdef __cplusplus } #endif