diff options
| author | Dave Hooper <dave@beermex.com> | 2010-02-17 00:49:53 +0000 |
|---|---|---|
| committer | Dave Hooper <dave@beermex.com> | 2010-02-17 00:49:53 +0000 |
| commit | 42774d3128b91d5a37344cb40d56d3c4d147e5f2 (patch) | |
| tree | bf336b407992ec9a5e454556f3351e3f8a0d10de /apps/codecs/lib/codeclib.h | |
| parent | 62257ebc38bc0a3095b25dd0f58c4c8215edf602 (diff) | |
| download | rockbox-42774d3128b91d5a37344cb40d56d3c4d147e5f2.zip rockbox-42774d3128b91d5a37344cb40d56d3c4d147e5f2.tar.gz rockbox-42774d3128b91d5a37344cb40d56d3c4d147e5f2.tar.bz2 rockbox-42774d3128b91d5a37344cb40d56d3c4d147e5f2.tar.xz | |
Merge from branches/mdctexp - faster ifft+imdct in codec lib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24712 a1c6a512-1295-4272-9138-f99709370657
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 6dda3e7..817d86a 100644 --- a/apps/codecs/lib/codeclib.h +++ b/apps/codecs/lib/codeclib.h @@ -25,6 +25,8 @@ #include "config.h" #include "codecs.h" #include <sys/types.h> +#include "mdct.h" +#include "fft.h" extern struct codec_api *ci; extern size_t mem_ptr; @@ -62,8 +64,13 @@ int strcmp(const char *, const char *); void qsort(void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *)); /*MDCT library functions*/ - +/* -1- Tremor mdct */ extern void mdct_backward(int n, int32_t *in, int32_t *out); +/* -2- ffmpeg fft-based mdct */ +extern void ff_imdct_half(unsigned int nbits, int32_t *output, const int32_t *input); +extern void ff_imdct_calc(unsigned int nbits, int32_t *output, const int32_t *input); +/*ffmpeg fft (can be used without mdct)*/ +extern void ff_fft_calc_c(int nbits, FFTComplex *z); #if !defined(CPU_ARM) || ARM_ARCH < 5 /* From libavutil/common.h */ |