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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 const uint16_t* far_spectrum, | 395 const uint16_t* far_spectrum, |
396 int32_t* echo_est); | 396 int32_t* echo_est); |
397 extern StoreAdaptiveChannel WebRtcAecm_StoreAdaptiveChannel; | 397 extern StoreAdaptiveChannel WebRtcAecm_StoreAdaptiveChannel; |
398 | 398 |
399 typedef void (*ResetAdaptiveChannel)(AecmCore* aecm); | 399 typedef void (*ResetAdaptiveChannel)(AecmCore* aecm); |
400 extern ResetAdaptiveChannel WebRtcAecm_ResetAdaptiveChannel; | 400 extern ResetAdaptiveChannel WebRtcAecm_ResetAdaptiveChannel; |
401 | 401 |
402 // For the above function pointers, functions for generic platforms are declared | 402 // For the above function pointers, functions for generic platforms are declared |
403 // and defined as static in file aecm_core.c, while those for ARM Neon platforms | 403 // and defined as static in file aecm_core.c, while those for ARM Neon platforms |
404 // are declared below and defined in file aecm_core_neon.c. | 404 // are declared below and defined in file aecm_core_neon.c. |
405 #if defined(WEBRTC_DETECT_NEON) || defined(WEBRTC_HAS_NEON) | 405 #if defined(WEBRTC_HAS_NEON) |
406 void WebRtcAecm_CalcLinearEnergiesNeon(AecmCore* aecm, | 406 void WebRtcAecm_CalcLinearEnergiesNeon(AecmCore* aecm, |
407 const uint16_t* far_spectrum, | 407 const uint16_t* far_spectrum, |
408 int32_t* echo_est, | 408 int32_t* echo_est, |
409 uint32_t* far_energy, | 409 uint32_t* far_energy, |
410 uint32_t* echo_energy_adapt, | 410 uint32_t* echo_energy_adapt, |
411 uint32_t* echo_energy_stored); | 411 uint32_t* echo_energy_stored); |
412 | 412 |
413 void WebRtcAecm_StoreAdaptiveChannelNeon(AecmCore* aecm, | 413 void WebRtcAecm_StoreAdaptiveChannelNeon(AecmCore* aecm, |
414 const uint16_t* far_spectrum, | 414 const uint16_t* far_spectrum, |
415 int32_t* echo_est); | 415 int32_t* echo_est); |
(...skipping 11 matching lines...) Expand all Loading... |
427 #if defined(MIPS_DSP_R1_LE) | 427 #if defined(MIPS_DSP_R1_LE) |
428 void WebRtcAecm_StoreAdaptiveChannel_mips(AecmCore* aecm, | 428 void WebRtcAecm_StoreAdaptiveChannel_mips(AecmCore* aecm, |
429 const uint16_t* far_spectrum, | 429 const uint16_t* far_spectrum, |
430 int32_t* echo_est); | 430 int32_t* echo_est); |
431 | 431 |
432 void WebRtcAecm_ResetAdaptiveChannel_mips(AecmCore* aecm); | 432 void WebRtcAecm_ResetAdaptiveChannel_mips(AecmCore* aecm); |
433 #endif | 433 #endif |
434 #endif | 434 #endif |
435 | 435 |
436 #endif | 436 #endif |
OLD | NEW |