diff options
Diffstat (limited to 'apps/codecs/lib/codeclib.h')
-rw-r--r-- | apps/codecs/lib/codeclib.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/codecs/lib/codeclib.h b/apps/codecs/lib/codeclib.h index 6dda3e794c..817d86a6a3 100644 --- a/apps/codecs/lib/codeclib.h +++ b/apps/codecs/lib/codeclib.h | |||
@@ -25,6 +25,8 @@ | |||
25 | #include "config.h" | 25 | #include "config.h" |
26 | #include "codecs.h" | 26 | #include "codecs.h" |
27 | #include <sys/types.h> | 27 | #include <sys/types.h> |
28 | #include "mdct.h" | ||
29 | #include "fft.h" | ||
28 | 30 | ||
29 | extern struct codec_api *ci; | 31 | extern struct codec_api *ci; |
30 | extern size_t mem_ptr; | 32 | extern size_t mem_ptr; |
@@ -62,8 +64,13 @@ int strcmp(const char *, const char *); | |||
62 | void qsort(void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *)); | 64 | void qsort(void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *)); |
63 | 65 | ||
64 | /*MDCT library functions*/ | 66 | /*MDCT library functions*/ |
65 | 67 | /* -1- Tremor mdct */ | |
66 | extern void mdct_backward(int n, int32_t *in, int32_t *out); | 68 | extern void mdct_backward(int n, int32_t *in, int32_t *out); |
69 | /* -2- ffmpeg fft-based mdct */ | ||
70 | extern void ff_imdct_half(unsigned int nbits, int32_t *output, const int32_t *input); | ||
71 | extern void ff_imdct_calc(unsigned int nbits, int32_t *output, const int32_t *input); | ||
72 | /*ffmpeg fft (can be used without mdct)*/ | ||
73 | extern void ff_fft_calc_c(int nbits, FFTComplex *z); | ||
67 | 74 | ||
68 | #if !defined(CPU_ARM) || ARM_ARCH < 5 | 75 | #if !defined(CPU_ARM) || ARM_ARCH < 5 |
69 | /* From libavutil/common.h */ | 76 | /* From libavutil/common.h */ |