OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include <stddef.h> | |
Peter Kasting
2015/08/26 20:13:34
Nit: Blank line below this
bshe
2015/08/26 20:59:39
Done.
| |
11 #include "webrtc/modules/audio_coding/codecs/isac/fix/source/settings.h" | 12 #include "webrtc/modules/audio_coding/codecs/isac/fix/source/settings.h" |
12 #include "webrtc/typedefs.h" | 13 #include "webrtc/typedefs.h" |
13 | 14 |
14 // Filter ar_g_Q0[] and ar_f_Q0[] through an AR filter with coefficients | 15 // Filter ar_g_Q0[] and ar_f_Q0[] through an AR filter with coefficients |
15 // cth_Q15[] and sth_Q15[]. | 16 // cth_Q15[] and sth_Q15[]. |
16 void WebRtcIsacfix_FilterArLoop(int16_t* ar_g_Q0, // Input samples | 17 void WebRtcIsacfix_FilterArLoop(int16_t* ar_g_Q0, // Input samples |
17 int16_t* ar_f_Q0, // Input samples | 18 int16_t* ar_f_Q0, // Input samples |
18 int16_t* cth_Q15, // Filter coefficients | 19 int16_t* cth_Q15, // Filter coefficients |
19 int16_t* sth_Q15, // Filter coefficients | 20 int16_t* sth_Q15, // Filter coefficients |
20 int16_t order_coef) { // order of the filter | 21 int16_t order_coef) { // order of the filter |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
318 : [t16a] "=&r" (t16a), [t16b] "=&r" (t16b), [r0] "=&r" (r0), | 319 : [t16a] "=&r" (t16a), [t16b] "=&r" (t16b), [r0] "=&r" (r0), |
319 [r1] "=&r" (r1), [r2] "=&r" (r2), [r3] "=&r" (r3), | 320 [r1] "=&r" (r1), [r2] "=&r" (r2), [r3] "=&r" (r3), |
320 [r4] "=&r" (r4), [ptr0] "+r" (ptr0), [ptr1] "+r" (ptr1), | 321 [r4] "=&r" (r4), [ptr0] "+r" (ptr0), [ptr1] "+r" (ptr1), |
321 [ptr2] "+r" (ptr2), [n] "+r" (n) | 322 [ptr2] "+r" (ptr2), [n] "+r" (n) |
322 : [input0] "r" (input0), [input1] "r" (input1), | 323 : [input0] "r" (input0), [input1] "r" (input1), |
323 [input2] "r" (input2) | 324 [input2] "r" (input2) |
324 : "hi", "lo", "memory" | 325 : "hi", "lo", "memory" |
325 ); | 326 ); |
326 #endif | 327 #endif |
327 } | 328 } |
OLD | NEW |