Home
last modified time | relevance | path

Searched refs:cpu_info_ (Results 1 – 4 of 4) sorted by relevance

/external/libvpx/libvpx/third_party/libyuv/source/
Dcpu_id.cc177 int cpu_info_ = kCpuInit; // cpu_info is not initialized yet. variable
210 cpu_info_ = ((cpu_info1[3] & 0x04000000) ? kCpuHasSSE2 : 0) | in InitCpuFlags()
221 cpu_info_ |= ((cpu_info7[1] & 0x00000020) ? kCpuHasAVX2 : 0) | in InitCpuFlags()
227 cpu_info_ &= ~kCpuHasX86; in InitCpuFlags()
230 cpu_info_ &= ~kCpuHasSSE2; in InitCpuFlags()
233 cpu_info_ &= ~kCpuHasSSSE3; in InitCpuFlags()
236 cpu_info_ &= ~kCpuHasSSE41; in InitCpuFlags()
239 cpu_info_ &= ~kCpuHasSSE42; in InitCpuFlags()
242 cpu_info_ &= ~kCpuHasAVX; in InitCpuFlags()
245 cpu_info_ &= ~kCpuHasAVX2; in InitCpuFlags()
[all …]
/external/libyuv/files/source/
Dcpu_id.cc125 int cpu_info_ = 0; variable
144 cpu_info_ = ((cpu_info[3] & 0x04000000) ? kCpuHasSSE2 : 0) | in InitCpuFlags()
151 if (cpu_info_ & kCpuHasAVX) { in InitCpuFlags()
155 cpu_info_ |= kCpuHasAVX2; in InitCpuFlags()
161 cpu_info_ &= ~kCpuHasX86; in InitCpuFlags()
164 cpu_info_ &= ~kCpuHasSSE2; in InitCpuFlags()
167 cpu_info_ &= ~kCpuHasSSSE3; in InitCpuFlags()
170 cpu_info_ &= ~kCpuHasSSE41; in InitCpuFlags()
173 cpu_info_ &= ~kCpuHasSSE42; in InitCpuFlags()
176 cpu_info_ &= ~kCpuHasAVX; in InitCpuFlags()
[all …]
/external/libyuv/files/include/libyuv/
Dcpu_id.h50 LIBYUV_API extern int cpu_info_; in TestCpuFlag()
51 return (cpu_info_ ? cpu_info_ : InitCpuFlags()) & test_flag; in TestCpuFlag()
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Dcpu_id.h59 LIBYUV_API extern int cpu_info_; in TestCpuFlag()
60 return (cpu_info_ == kCpuInit ? InitCpuFlags() : cpu_info_) & test_flag; in TestCpuFlag()