OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 #ifndef WEBRTC_SYSTEM_WRAPPERS_INTERFACE_CPU_FEATURES_WRAPPER_H_ | 11 #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_CPU_FEATURES_WRAPPER_H_ |
12 #define WEBRTC_SYSTEM_WRAPPERS_INTERFACE_CPU_FEATURES_WRAPPER_H_ | 12 #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_CPU_FEATURES_WRAPPER_H_ |
13 | 13 |
14 #if defined(__cplusplus) || defined(c_plusplus) | 14 #if defined(__cplusplus) || defined(c_plusplus) |
15 extern "C" { | 15 extern "C" { |
16 #endif | 16 #endif |
17 | 17 |
18 #include "webrtc/typedefs.h" | 18 #include "webrtc/typedefs.h" |
19 | 19 |
20 // List of features in x86. | 20 // List of features in x86. |
21 typedef enum { | 21 typedef enum { |
22 kSSE2, | 22 kSSE2, |
(...skipping 18 matching lines...) Expand all Loading... |
41 | 41 |
42 // Return the features in an ARM device. | 42 // Return the features in an ARM device. |
43 // It detects the features in the hardware platform, and returns supported | 43 // It detects the features in the hardware platform, and returns supported |
44 // values in the above enum definition as a bitmask. | 44 // values in the above enum definition as a bitmask. |
45 extern uint64_t WebRtc_GetCPUFeaturesARM(void); | 45 extern uint64_t WebRtc_GetCPUFeaturesARM(void); |
46 | 46 |
47 #if defined(__cplusplus) || defined(c_plusplus) | 47 #if defined(__cplusplus) || defined(c_plusplus) |
48 } // extern "C" | 48 } // extern "C" |
49 #endif | 49 #endif |
50 | 50 |
51 #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_CPU_FEATURES_WRAPPER_H_ | 51 #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_CPU_FEATURES_WRAPPER_H_ |
OLD | NEW |