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

Side by Side Diff: webrtc/modules/audio_processing/aec/aec_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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 int extreme_filter_divergence; 232 int extreme_filter_divergence;
233 }; 233 };
234 234
235 AecCore* WebRtcAec_CreateAec(int instance_count); // Returns NULL on error. 235 AecCore* WebRtcAec_CreateAec(int instance_count); // Returns NULL on error.
236 void WebRtcAec_FreeAec(AecCore* aec); 236 void WebRtcAec_FreeAec(AecCore* aec);
237 int WebRtcAec_InitAec(AecCore* aec, int sampFreq); 237 int WebRtcAec_InitAec(AecCore* aec, int sampFreq);
238 void WebRtcAec_InitAec_SSE2(void); 238 void WebRtcAec_InitAec_SSE2(void);
239 #if defined(MIPS_FPU_LE) 239 #if defined(MIPS_FPU_LE)
240 void WebRtcAec_InitAec_mips(void); 240 void WebRtcAec_InitAec_mips(void);
241 #endif 241 #endif
242 #if defined(WEBRTC_DETECT_NEON) || defined(WEBRTC_HAS_NEON) 242 #if defined(WEBRTC_HAS_NEON)
243 void WebRtcAec_InitAec_neon(void); 243 void WebRtcAec_InitAec_neon(void);
244 #endif 244 #endif
245 245
246 void WebRtcAec_BufferFarendPartition(AecCore* aec, const float* farend); 246 void WebRtcAec_BufferFarendPartition(AecCore* aec, const float* farend);
247 void WebRtcAec_ProcessFrames(AecCore* aec, 247 void WebRtcAec_ProcessFrames(AecCore* aec,
248 const float* const* nearend, 248 const float* const* nearend,
249 size_t num_bands, 249 size_t num_bands,
250 size_t num_samples, 250 size_t num_samples,
251 int knownDelay, 251 int knownDelay,
252 float* const* out); 252 float* const* out);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 int WebRtcAec_system_delay(AecCore* self); 313 int WebRtcAec_system_delay(AecCore* self);
314 314
315 // Sets the |system_delay| to |value|. Note that if the value is changed 315 // Sets the |system_delay| to |value|. Note that if the value is changed
316 // improperly, there can be a performance regression. So it should be used with 316 // improperly, there can be a performance regression. So it should be used with
317 // care. 317 // care.
318 void WebRtcAec_SetSystemDelay(AecCore* self, int delay); 318 void WebRtcAec_SetSystemDelay(AecCore* self, int delay);
319 319
320 } // namespace webrtc 320 } // namespace webrtc
321 321
322 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_ 322 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698