Commit f08141c7 authored by Angie Chiang's avatar Angie Chiang
Browse files

Add vp10_fwd_txfm2d_8x8/16x16/32x32

Change-Id: I8d73beee5a619d26f3f8640a6679150d874522c4
parent ff7fe993
...@@ -58,3 +58,27 @@ void vp10_fwd_txfm2d_4x4(const int16_t *input, int32_t *output, ...@@ -58,3 +58,27 @@ void vp10_fwd_txfm2d_4x4(const int16_t *input, int32_t *output,
(void)bd; (void)bd;
fwd_txfm2d_c(input, output, stride, cfg, txfm_buf); 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);
}
...@@ -18,6 +18,15 @@ extern "C" { ...@@ -18,6 +18,15 @@ extern "C" {
void vp10_fwd_txfm2d_4x4(const int16_t *input, int32_t *output, void vp10_fwd_txfm2d_4x4(const int16_t *input, int32_t *output,
const int stride, const TXFM_2D_CFG *cfg, const int stride, const TXFM_2D_CFG *cfg,
const int bd); 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 #ifdef __cplusplus
} }
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment