Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: webrtc/modules/audio_processing/ns/nsx_core.h

Issue 1955413003: Remove runtime NEON detection (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: gyp syntax Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aecm/aecm_core.cc ('k') | webrtc/modules/audio_processing/ns/nsx_core.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698