]> granicus.if.org Git - libvpx/commitdiff
Add vp10_fwd_txfm2d_8x8/16x16/32x32
authorAngie Chiang <angiebird@google.com>
Wed, 28 Oct 2015 00:15:18 +0000 (17:15 -0700)
committerAngie Chiang <angiebird@google.com>
Fri, 6 Nov 2015 18:47:45 +0000 (10:47 -0800)
Change-Id: I8d73beee5a619d26f3f8640a6679150d874522c4

vp10/common/vp10_fwd_txfm2d.c
vp10/common/vp10_fwd_txfm2d.h

index ab93c623b7b896b1cd8e0f5584619b4f2634ab26..67449ec05790f992224cac3c74a8f454662b2059 100644 (file)
@@ -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);
+}
index 77b95006c0e66eb0638791f41ea57ea858f45a59..64e6f5607e273cd590358bda5e21ee750aecae69 100644 (file)
@@ -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