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 |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 int16_t* out); | 208 int16_t* out); |
209 extern NormalizeRealBuffer WebRtcNsx_NormalizeRealBuffer; | 209 extern NormalizeRealBuffer WebRtcNsx_NormalizeRealBuffer; |
210 | 210 |
211 // Compute speech/noise probability. | 211 // Compute speech/noise probability. |
212 // Intended to be private. | 212 // Intended to be private. |
213 void WebRtcNsx_SpeechNoiseProb(NoiseSuppressionFixedC* inst, | 213 void WebRtcNsx_SpeechNoiseProb(NoiseSuppressionFixedC* inst, |
214 uint16_t* nonSpeechProbFinal, | 214 uint16_t* nonSpeechProbFinal, |
215 uint32_t* priorLocSnr, | 215 uint32_t* priorLocSnr, |
216 uint32_t* postLocSnr); | 216 uint32_t* postLocSnr); |
217 | 217 |
218 #if (defined WEBRTC_DETECT_NEON || defined WEBRTC_HAS_NEON) | 218 #if defined(WEBRTC_HAS_NEON) |
219 // For the above function pointers, functions for generic platforms are declared | 219 // For the above function pointers, functions for generic platforms are declared |
220 // and defined as static in file nsx_core.c, while those for ARM Neon platforms | 220 // and defined as static in file nsx_core.c, while those for ARM Neon platforms |
221 // are declared below and defined in file nsx_core_neon.c. | 221 // are declared below and defined in file nsx_core_neon.c. |
222 void WebRtcNsx_NoiseEstimationNeon(NoiseSuppressionFixedC* inst, | 222 void WebRtcNsx_NoiseEstimationNeon(NoiseSuppressionFixedC* inst, |
223 uint16_t* magn, | 223 uint16_t* magn, |
224 uint32_t* noise, | 224 uint32_t* noise, |
225 int16_t* q_noise); | 225 int16_t* q_noise); |
226 void WebRtcNsx_SynthesisUpdateNeon(NoiseSuppressionFixedC* inst, | 226 void WebRtcNsx_SynthesisUpdateNeon(NoiseSuppressionFixedC* inst, |
227 int16_t* out_frame, | 227 int16_t* out_frame, |
228 int16_t gain_factor); | 228 int16_t gain_factor); |
(...skipping 25 matching lines...) Expand all Loading... |
254 int factor); | 254 int factor); |
255 #endif | 255 #endif |
256 | 256 |
257 #endif | 257 #endif |
258 | 258 |
259 #ifdef __cplusplus | 259 #ifdef __cplusplus |
260 } | 260 } |
261 #endif | 261 #endif |
262 | 262 |
263 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_NS_MAIN_SOURCE_NSX_CORE_H_ | 263 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_NS_MAIN_SOURCE_NSX_CORE_H_ |
OLD | NEW |