diff options
Diffstat (limited to 'lib/rbcodec/codecs/libopus/celt/celt_lpc.h')
-rw-r--r-- | lib/rbcodec/codecs/libopus/celt/celt_lpc.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/lib/rbcodec/codecs/libopus/celt/celt_lpc.h b/lib/rbcodec/codecs/libopus/celt/celt_lpc.h index dc2a0a3d26..a4c5fd6ea5 100644 --- a/lib/rbcodec/codecs/libopus/celt/celt_lpc.h +++ b/lib/rbcodec/codecs/libopus/celt/celt_lpc.h | |||
@@ -29,24 +29,36 @@ | |||
29 | #define PLC_H | 29 | #define PLC_H |
30 | 30 | ||
31 | #include "arch.h" | 31 | #include "arch.h" |
32 | #include "cpu_support.h" | ||
33 | |||
34 | #if defined(OPUS_X86_MAY_HAVE_SSE4_1) | ||
35 | #include "x86/celt_lpc_sse.h" | ||
36 | #endif | ||
32 | 37 | ||
33 | #define LPC_ORDER 24 | 38 | #define LPC_ORDER 24 |
34 | 39 | ||
35 | void _celt_lpc(opus_val16 *_lpc, const opus_val32 *ac, int p); | 40 | void _celt_lpc(opus_val16 *_lpc, const opus_val32 *ac, int p); |
36 | 41 | ||
37 | void celt_fir(const opus_val16 *x, | 42 | void celt_fir_c( |
43 | const opus_val16 *x, | ||
38 | const opus_val16 *num, | 44 | const opus_val16 *num, |
39 | opus_val16 *y, | 45 | opus_val16 *y, |
40 | int N, | 46 | int N, |
41 | int ord, | 47 | int ord, |
42 | opus_val16 *mem); | 48 | int arch); |
49 | |||
50 | #if !defined(OVERRIDE_CELT_FIR) | ||
51 | #define celt_fir(x, num, y, N, ord, arch) \ | ||
52 | (celt_fir_c(x, num, y, N, ord, arch)) | ||
53 | #endif | ||
43 | 54 | ||
44 | void celt_iir(const opus_val32 *x, | 55 | void celt_iir(const opus_val32 *x, |
45 | const opus_val16 *den, | 56 | const opus_val16 *den, |
46 | opus_val32 *y, | 57 | opus_val32 *y, |
47 | int N, | 58 | int N, |
48 | int ord, | 59 | int ord, |
49 | opus_val16 *mem); | 60 | opus_val16 *mem, |
61 | int arch); | ||
50 | 62 | ||
51 | int _celt_autocorr(const opus_val16 *x, opus_val32 *ac, | 63 | int _celt_autocorr(const opus_val16 *x, opus_val32 *ac, |
52 | const opus_val16 *window, int overlap, int lag, int n, int arch); | 64 | const opus_val16 *window, int overlap, int lag, int n, int arch); |