Home
last modified time | relevance | path

Searched refs:cpuCoreCount (Results 1 – 6 of 6) sorted by relevance

/hardware/google/av/media/codecs/vpx/
DC2SoftVpxEnc.cpp36 long cpuCoreCount = 1;
38 cpuCoreCount = sysconf(_SC_NPROCESSORS_ONLN);
41 cpuCoreCount = sysconf(_SC_NPROC_ONLN);
43 CHECK(cpuCoreCount >= 1);
44 ALOGV("Number of CPU cores: %ld", cpuCoreCount);
45 return (size_t)cpuCoreCount;
DC2SoftVpxDec.cpp329 int cpuCoreCount = 1; in GetCPUCoreCount() local
331 cpuCoreCount = sysconf(_SC_NPROCESSORS_ONLN); in GetCPUCoreCount()
334 cpuCoreCount = sysconf(_SC_NPROC_ONLN); in GetCPUCoreCount()
336 CHECK(cpuCoreCount >= 1); in GetCPUCoreCount()
337 ALOGV("Number of CPU cores: %d", cpuCoreCount); in GetCPUCoreCount()
338 return cpuCoreCount; in GetCPUCoreCount()
/hardware/google/av/media/codecs/mpeg2/
DC2SoftMpeg2Dec.cpp287 long cpuCoreCount = 1; in getCpuCoreCount() local
289 cpuCoreCount = sysconf(_SC_NPROCESSORS_ONLN); in getCpuCoreCount()
292 cpuCoreCount = sysconf(_SC_NPROC_ONLN); in getCpuCoreCount()
294 CHECK(cpuCoreCount >= 1); in getCpuCoreCount()
295 ALOGV("Number of CPU cores: %ld", cpuCoreCount); in getCpuCoreCount()
296 return (size_t)cpuCoreCount; in getCpuCoreCount()
/hardware/google/av/media/codecs/avc/
DC2SoftAvcDec.cpp299 long cpuCoreCount = 1; in getCpuCoreCount() local
301 cpuCoreCount = sysconf(_SC_NPROCESSORS_ONLN); in getCpuCoreCount()
304 cpuCoreCount = sysconf(_SC_NPROC_ONLN); in getCpuCoreCount()
306 CHECK(cpuCoreCount >= 1); in getCpuCoreCount()
307 ALOGV("Number of CPU cores: %ld", cpuCoreCount); in getCpuCoreCount()
308 return (size_t)cpuCoreCount; in getCpuCoreCount()
DC2SoftAvcEnc.cpp352 long cpuCoreCount = 1; in GetCPUCoreCount() local
354 cpuCoreCount = sysconf(_SC_NPROCESSORS_ONLN); in GetCPUCoreCount()
357 cpuCoreCount = sysconf(_SC_NPROC_ONLN); in GetCPUCoreCount()
359 CHECK(cpuCoreCount >= 1); in GetCPUCoreCount()
360 ALOGV("Number of CPU cores: %ld", cpuCoreCount); in GetCPUCoreCount()
361 return (size_t)cpuCoreCount; in GetCPUCoreCount()
/hardware/google/av/media/codecs/hevc/
DC2SoftHevcDec.cpp295 long cpuCoreCount = 1; in getCpuCoreCount() local
297 cpuCoreCount = sysconf(_SC_NPROCESSORS_ONLN); in getCpuCoreCount()
300 cpuCoreCount = sysconf(_SC_NPROC_ONLN); in getCpuCoreCount()
302 CHECK(cpuCoreCount >= 1); in getCpuCoreCount()
303 ALOGV("Number of CPU cores: %ld", cpuCoreCount); in getCpuCoreCount()
304 return (size_t)cpuCoreCount; in getCpuCoreCount()