Index: source/libvpx/vpx_dsp/mips/inv_txfm_dspr2.h |
diff --git a/source/libvpx/vp9/common/mips/dspr2/vp9_common_dspr2.h b/source/libvpx/vpx_dsp/mips/inv_txfm_dspr2.h |
similarity index 73% |
rename from source/libvpx/vp9/common/mips/dspr2/vp9_common_dspr2.h |
rename to source/libvpx/vpx_dsp/mips/inv_txfm_dspr2.h |
index 4e6b3552e1d03f3ab7411e8284ffe0805b6867fa..abd85091188eb371cc2375b26665c3cd9e95e118 100644 |
--- a/source/libvpx/vp9/common/mips/dspr2/vp9_common_dspr2.h |
+++ b/source/libvpx/vpx_dsp/mips/inv_txfm_dspr2.h |
@@ -8,13 +8,14 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#ifndef VP9_COMMON_MIPS_DSPR2_VP9_COMMON_DSPR2_H_ |
-#define VP9_COMMON_MIPS_DSPR2_VP9_COMMON_DSPR2_H_ |
+#ifndef VPX_DSP_MIPS_INV_TXFM_DSPR2_H_ |
+#define VPX_DSP_MIPS_INV_TXFM_DSPR2_H_ |
#include <assert.h> |
#include "./vpx_config.h" |
#include "vpx/vpx_integer.h" |
+#include "vpx_dsp/inv_txfm.h" |
#include "vpx_dsp/mips/common_dspr2.h" |
#ifdef __cplusplus |
@@ -22,9 +23,6 @@ extern "C" { |
#endif |
#if HAVE_DSPR2 |
- |
-extern uint8_t *vpx_ff_cropTbl; |
- |
#define DCT_CONST_ROUND_SHIFT_TWICE_COSPI_16_64(input) ({ \ |
\ |
int32_t tmp, out; \ |
@@ -51,12 +49,25 @@ extern uint8_t *vpx_ff_cropTbl; |
); \ |
out; }) |
-void vp9_idct32_cols_add_blk_dspr2(int16_t *input, uint8_t *dest, |
+void vpx_idct32_cols_add_blk_dspr2(int16_t *input, uint8_t *dest, |
int dest_stride); |
+void vpx_idct4_rows_dspr2(const int16_t *input, int16_t *output); |
+void vpx_idct4_columns_add_blk_dspr2(int16_t *input, uint8_t *dest, |
+ int dest_stride); |
+void iadst4_dspr2(const int16_t *input, int16_t *output); |
+void idct8_rows_dspr2(const int16_t *input, int16_t *output, uint32_t no_rows); |
+void idct8_columns_add_blk_dspr2(int16_t *input, uint8_t *dest, |
+ int dest_stride); |
+void iadst8_dspr2(const int16_t *input, int16_t *output); |
+void idct16_rows_dspr2(const int16_t *input, int16_t *output, |
+ uint32_t no_rows); |
+void idct16_cols_add_blk_dspr2(int16_t *input, uint8_t *dest, |
+ int dest_stride); |
+void iadst16_dspr2(const int16_t *input, int16_t *output); |
#endif // #if HAVE_DSPR2 |
#ifdef __cplusplus |
} // extern "C" |
#endif |
-#endif // VP9_COMMON_MIPS_DSPR2_VP9_COMMON_DSPR2_H_ |
+#endif // VPX_DSP_MIPS_INV_TXFM_DSPR2_H_ |