diff options
author | Mamadou DIOP <bossiel@yahoo.fr> | 2016-02-23 22:00:35 +0100 |
---|---|---|
committer | Mamadou DIOP <bossiel@yahoo.fr> | 2016-02-23 22:00:35 +0100 |
commit | 50dfb4359619563012997bc3ddafb7667741066c (patch) | |
tree | db234c1edc3240a653363b5735fc4077af4b8720 /thirdparties/android/common/include/libyuv/libyuv/cpu_id.h | |
parent | 94b2219209038e05dd26395f6fb700be4d1062c0 (diff) | |
download | doubango-50dfb4359619563012997bc3ddafb7667741066c.zip doubango-50dfb4359619563012997bc3ddafb7667741066c.tar.gz |
Add new QoS implementation
Code formatting
Diffstat (limited to 'thirdparties/android/common/include/libyuv/libyuv/cpu_id.h')
-rwxr-xr-x | thirdparties/android/common/include/libyuv/libyuv/cpu_id.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/thirdparties/android/common/include/libyuv/libyuv/cpu_id.h b/thirdparties/android/common/include/libyuv/libyuv/cpu_id.h index dc858a8..d36213c 100755 --- a/thirdparties/android/common/include/libyuv/libyuv/cpu_id.h +++ b/thirdparties/android/common/include/libyuv/libyuv/cpu_id.h @@ -14,7 +14,8 @@ #include "libyuv/basic_types.h" #ifdef __cplusplus -namespace libyuv { +namespace libyuv +{ extern "C" { #endif @@ -55,9 +56,10 @@ int ArmCpuCaps(const char* cpuinfo_name); // Detect CPU has SSE2 etc. // Test_flag parameter should be one of kCpuHas constants above. // returns non-zero if instruction set is detected -static __inline int TestCpuFlag(int test_flag) { - LIBYUV_API extern int cpu_info_; - return (cpu_info_ == kCpuInit ? InitCpuFlags() : cpu_info_) & test_flag; +static __inline int TestCpuFlag(int test_flag) +{ + LIBYUV_API extern int cpu_info_; + return (cpu_info_ == kCpuInit ? InitCpuFlags() : cpu_info_) & test_flag; } // For testing, allow CPU flags to be disabled. |