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 /* The global function contained in this file initializes SPL function | 11 /* The global function contained in this file initializes SPL function |
12 * pointers, currently only for ARM platforms. | 12 * pointers, currently only for ARM platforms. |
13 * | 13 * |
14 * Some code came from common/rtcd.c in the WebM project. | 14 * Some code came from common/rtcd.c in the WebM project. |
15 */ | 15 */ |
16 | 16 |
17 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" | 17 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" |
18 #include "webrtc/system_wrappers/interface/cpu_features_wrapper.h" | 18 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" |
19 | 19 |
20 /* Declare function pointers. */ | 20 /* Declare function pointers. */ |
21 MaxAbsValueW16 WebRtcSpl_MaxAbsValueW16; | 21 MaxAbsValueW16 WebRtcSpl_MaxAbsValueW16; |
22 MaxAbsValueW32 WebRtcSpl_MaxAbsValueW32; | 22 MaxAbsValueW32 WebRtcSpl_MaxAbsValueW32; |
23 MaxValueW16 WebRtcSpl_MaxValueW16; | 23 MaxValueW16 WebRtcSpl_MaxValueW16; |
24 MaxValueW32 WebRtcSpl_MaxValueW32; | 24 MaxValueW32 WebRtcSpl_MaxValueW32; |
25 MinValueW16 WebRtcSpl_MinValueW16; | 25 MinValueW16 WebRtcSpl_MinValueW16; |
26 MinValueW32 WebRtcSpl_MinValueW32; | 26 MinValueW32 WebRtcSpl_MinValueW32; |
27 CrossCorrelation WebRtcSpl_CrossCorrelation; | 27 CrossCorrelation WebRtcSpl_CrossCorrelation; |
28 DownsampleFast WebRtcSpl_DownsampleFast; | 28 DownsampleFast WebRtcSpl_DownsampleFast; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 131 |
132 /* There's no fallback version as an #else block here to ensure thread safety. | 132 /* There's no fallback version as an #else block here to ensure thread safety. |
133 * In case of neither pthread for WEBRTC_POSIX nor _WIN32 is present, build | 133 * In case of neither pthread for WEBRTC_POSIX nor _WIN32 is present, build |
134 * system should pick it up. | 134 * system should pick it up. |
135 */ | 135 */ |
136 #endif /* WEBRTC_POSIX */ | 136 #endif /* WEBRTC_POSIX */ |
137 | 137 |
138 void WebRtcSpl_Init() { | 138 void WebRtcSpl_Init() { |
139 once(InitFunctionPointers); | 139 once(InitFunctionPointers); |
140 } | 140 } |
OLD | NEW |