summaryrefslogtreecommitdiff
path: root/apps/codecs/lib/codeclib.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/lib/codeclib.h')
-rw-r--r--apps/codecs/lib/codeclib.h9
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
29extern struct codec_api *ci; 31extern struct codec_api *ci;
30extern size_t mem_ptr; 32extern size_t mem_ptr;
@@ -62,8 +64,13 @@ int strcmp(const char *, const char *);
62void qsort(void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *)); 64void 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 */
66extern void mdct_backward(int n, int32_t *in, int32_t *out); 68extern void mdct_backward(int n, int32_t *in, int32_t *out);
69/* -2- ffmpeg fft-based mdct */
70extern void ff_imdct_half(unsigned int nbits, int32_t *output, const int32_t *input);
71extern void ff_imdct_calc(unsigned int nbits, int32_t *output, const int32_t *input);
72/*ffmpeg fft (can be used without mdct)*/
73extern 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 */