summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libopus/celt/kiss_fft.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/libopus/celt/kiss_fft.h')
-rw-r--r--lib/rbcodec/codecs/libopus/celt/kiss_fft.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/lib/rbcodec/codecs/libopus/celt/kiss_fft.h b/lib/rbcodec/codecs/libopus/celt/kiss_fft.h
index 66cf1f2126..390b54d948 100644
--- a/lib/rbcodec/codecs/libopus/celt/kiss_fft.h
+++ b/lib/rbcodec/codecs/libopus/celt/kiss_fft.h
@@ -79,8 +79,9 @@ typedef struct {
79 79
80typedef struct kiss_fft_state{ 80typedef struct kiss_fft_state{
81 int nfft; 81 int nfft;
82#ifndef FIXED_POINT 82 opus_val16 scale;
83 kiss_fft_scalar scale; 83#ifdef FIXED_POINT
84 int scale_shift;
84#endif 85#endif
85 int shift; 86 int shift;
86 opus_int16 factors[2*MAXFACTORS]; 87 opus_int16 factors[2*MAXFACTORS];
@@ -128,14 +129,10 @@ kiss_fft_state *opus_fft_alloc(int nfft,void * mem,size_t * lenmem);
128 f[k].r and f[k].i 129 f[k].r and f[k].i
129 * */ 130 * */
130void opus_fft(const kiss_fft_state *cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout); 131void opus_fft(const kiss_fft_state *cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout);
132void opus_ifft(const kiss_fft_state *cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout);
131 133
132#if defined(CPU_COLDFIRE) 134void opus_fft_impl(const kiss_fft_state *st,kiss_fft_cpx *fout);
133#define IFFT_ICODE ICODE_ATTR 135void opus_ifft_impl(const kiss_fft_state *st,kiss_fft_cpx *fout);
134#else
135#define IFFT_ICODE
136#endif
137
138void opus_ifft(const kiss_fft_state *cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout) IFFT_ICODE;
139 136
140void opus_fft_free(const kiss_fft_state *cfg); 137void opus_fft_free(const kiss_fft_state *cfg);
141 138