OLD | NEW |
1 /* Copyright (c) 2009-2010 Xiph.Org Foundation | 1 /* Copyright (c) 2009-2010 Xiph.Org Foundation |
2 Written by Jean-Marc Valin */ | 2 Written by Jean-Marc Valin */ |
3 /* | 3 /* |
4 Redistribution and use in source and binary forms, with or without | 4 Redistribution and use in source and binary forms, with or without |
5 modification, are permitted provided that the following conditions | 5 modification, are permitted provided that the following conditions |
6 are met: | 6 are met: |
7 | 7 |
8 - Redistributions of source code must retain the above copyright | 8 - Redistributions of source code must retain the above copyright |
9 notice, this list of conditions and the following disclaimer. | 9 notice, this list of conditions and the following disclaimer. |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 #define LPC_ORDER 24 | 38 #define LPC_ORDER 24 |
39 | 39 |
40 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); |
41 | 41 |
42 void celt_fir_c( | 42 void celt_fir_c( |
43 const opus_val16 *x, | 43 const opus_val16 *x, |
44 const opus_val16 *num, | 44 const opus_val16 *num, |
45 opus_val16 *y, | 45 opus_val16 *y, |
46 int N, | 46 int N, |
47 int ord, | 47 int ord, |
48 opus_val16 *mem, | |
49 int arch); | 48 int arch); |
50 | 49 |
51 #if !defined(OVERRIDE_CELT_FIR) | 50 #if !defined(OVERRIDE_CELT_FIR) |
52 #define celt_fir(x, num, y, N, ord, mem, arch) \ | 51 #define celt_fir(x, num, y, N, ord, arch) \ |
53 (celt_fir_c(x, num, y, N, ord, mem, arch)) | 52 (celt_fir_c(x, num, y, N, ord, arch)) |
54 #endif | 53 #endif |
55 | 54 |
56 void celt_iir(const opus_val32 *x, | 55 void celt_iir(const opus_val32 *x, |
57 const opus_val16 *den, | 56 const opus_val16 *den, |
58 opus_val32 *y, | 57 opus_val32 *y, |
59 int N, | 58 int N, |
60 int ord, | 59 int ord, |
61 opus_val16 *mem, | 60 opus_val16 *mem, |
62 int arch); | 61 int arch); |
63 | 62 |
64 int _celt_autocorr(const opus_val16 *x, opus_val32 *ac, | 63 int _celt_autocorr(const opus_val16 *x, opus_val32 *ac, |
65 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); |
66 | 65 |
67 #endif /* PLC_H */ | 66 #endif /* PLC_H */ |
OLD | NEW |