OLD | NEW |
1 @ | 1 @ |
2 @ Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 @ Copyright (c) 2012 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 @ Contains the core loop routine for the pitch filter function in iSAC, | 11 @ Contains the core loop routine for the pitch filter function in iSAC, |
12 @ optimized for ARMv7 platforms. | 12 @ optimized for ARMv7 platforms. |
13 @ | 13 @ |
14 @ Output is bit-exact with the reference C code in pitch_filter.c. | 14 @ Output is bit-exact with the reference C code in pitch_filter.c. |
15 | 15 |
16 #include "webrtc/system_wrappers/interface/asm_defines.h" | 16 #include "webrtc/system_wrappers/include/asm_defines.h" |
17 #include "settings.h" | 17 #include "settings.h" |
18 | 18 |
19 GLOBAL_FUNCTION WebRtcIsacfix_PitchFilterCore | 19 GLOBAL_FUNCTION WebRtcIsacfix_PitchFilterCore |
20 .align 2 | 20 .align 2 |
21 | 21 |
22 @ void WebRtcIsacfix_PitchFilterCore(int loopNumber, | 22 @ void WebRtcIsacfix_PitchFilterCore(int loopNumber, |
23 @ int16_t gain, | 23 @ int16_t gain, |
24 @ size_t index, | 24 @ size_t index, |
25 @ int16_t sign, | 25 @ int16_t sign, |
26 @ int16_t* inputState, | 26 @ int16_t* inputState, |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 strh r2, [r6], #2 @ outputBuff2[*index2 + PITCH_BUFFSIZE] | 134 strh r2, [r6], #2 @ outputBuff2[*index2 + PITCH_BUFFSIZE] |
135 bgt LOOP | 135 bgt LOOP |
136 | 136 |
137 add sp, #8 | 137 add sp, #8 |
138 pop {r4-r11} | 138 pop {r4-r11} |
139 bx lr | 139 bx lr |
140 | 140 |
141 .align 2 | 141 .align 2 |
142 kDampFilter: | 142 kDampFilter: |
143 .short -2294, 8192, 20972, 8192, -2294 | 143 .short -2294, 8192, 20972, 8192, -2294 |
OLD | NEW |