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

Side by Side Diff: webrtc/modules/audio_coding/codecs/isac/fix/source/codec.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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 void WebRtcIsacfix_Time2SpecC(int16_t* inre1Q9, 84 void WebRtcIsacfix_Time2SpecC(int16_t* inre1Q9,
85 int16_t* inre2Q9, 85 int16_t* inre2Q9,
86 int16_t* outre, 86 int16_t* outre,
87 int16_t* outim); 87 int16_t* outim);
88 void WebRtcIsacfix_Spec2TimeC(int16_t* inreQ7, 88 void WebRtcIsacfix_Spec2TimeC(int16_t* inreQ7,
89 int16_t* inimQ7, 89 int16_t* inimQ7,
90 int32_t* outre1Q16, 90 int32_t* outre1Q16,
91 int32_t* outre2Q16); 91 int32_t* outre2Q16);
92 92
93 #if (defined WEBRTC_DETECT_NEON) || (defined WEBRTC_HAS_NEON) 93 #if defined(WEBRTC_HAS_NEON)
94 void WebRtcIsacfix_Time2SpecNeon(int16_t* inre1Q9, 94 void WebRtcIsacfix_Time2SpecNeon(int16_t* inre1Q9,
95 int16_t* inre2Q9, 95 int16_t* inre2Q9,
96 int16_t* outre, 96 int16_t* outre,
97 int16_t* outim); 97 int16_t* outim);
98 void WebRtcIsacfix_Spec2TimeNeon(int16_t* inreQ7, 98 void WebRtcIsacfix_Spec2TimeNeon(int16_t* inreQ7,
99 int16_t* inimQ7, 99 int16_t* inimQ7,
100 int32_t* outre1Q16, 100 int32_t* outre1Q16,
101 int32_t* outre2Q16); 101 int32_t* outre2Q16);
102 #endif 102 #endif
103 103
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 int16_t order, 167 int16_t order,
168 int16_t* __restrict scale); 168 int16_t* __restrict scale);
169 169
170 void WebRtcIsacfix_FilterMaLoopC(int16_t input0, 170 void WebRtcIsacfix_FilterMaLoopC(int16_t input0,
171 int16_t input1, 171 int16_t input1,
172 int32_t input2, 172 int32_t input2,
173 int32_t* ptr0, 173 int32_t* ptr0,
174 int32_t* ptr1, 174 int32_t* ptr1,
175 int32_t* ptr2); 175 int32_t* ptr2);
176 176
177 #if (defined WEBRTC_DETECT_NEON) || (defined WEBRTC_HAS_NEON) 177 #if defined(WEBRTC_HAS_NEON)
178 int WebRtcIsacfix_AutocorrNeon(int32_t* __restrict r, 178 int WebRtcIsacfix_AutocorrNeon(int32_t* __restrict r,
179 const int16_t* __restrict x, 179 const int16_t* __restrict x,
180 int16_t N, 180 int16_t N,
181 int16_t order, 181 int16_t order,
182 int16_t* __restrict scale); 182 int16_t* __restrict scale);
183 183
184 void WebRtcIsacfix_FilterMaLoopNeon(int16_t input0, 184 void WebRtcIsacfix_FilterMaLoopNeon(int16_t input0,
185 int16_t input1, 185 int16_t input1,
186 int32_t input2, 186 int32_t input2,
187 int32_t* ptr0, 187 int32_t* ptr0,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 int32_t* ptr0, 219 int32_t* ptr0,
220 int32_t* ptr1, 220 int32_t* ptr1,
221 int32_t* ptr2); 221 int32_t* ptr2);
222 extern FilterMaLoopFix WebRtcIsacfix_FilterMaLoopFix; 222 extern FilterMaLoopFix WebRtcIsacfix_FilterMaLoopFix;
223 223
224 #ifdef __cplusplus 224 #ifdef __cplusplus
225 } // extern "C" 225 } // extern "C"
226 #endif 226 #endif
227 227
228 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_CODEC_H_ */ 228 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_CODEC_H_ */
OLDNEW
« no previous file with comments | « webrtc/common_audio/signal_processing/spl_init.c ('k') | webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698