Home
last modified time | relevance | path

Searched refs:AHARDWAREBUFFER_USAGE_CPU_READ_MASK (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/nativewindow/include/android/
Dhardware_buffer.h233 AHARDWAREBUFFER_USAGE_CPU_READ_MASK = 0xFUL, enumerator
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp199 if (usage & ~(AHARDWAREBUFFER_USAGE_CPU_READ_MASK | in AHardwareBuffer_lockAndGetInfo()
251 if (usage & ~(AHARDWAREBUFFER_USAGE_CPU_READ_MASK | in AHardwareBuffer_lock()
280 if (usage & ~(AHARDWAREBUFFER_USAGE_CPU_READ_MASK | in AHardwareBuffer_lockPlanes()
697 …if ((desc->usage & (AHARDWAREBUFFER_USAGE_CPU_READ_MASK | AHARDWAREBUFFER_USAGE_CPU_WRITE_MASK)) && in AHardwareBuffer_isValidDescription()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp2629 if ((desc.usage & AHARDWAREBUFFER_USAGE_CPU_READ_MASK) == 0) { in android_media_MediaCodec_mapHardwareBuffer()
2636 cpuUsage |= (desc.usage & AHARDWAREBUFFER_USAGE_CPU_READ_MASK); in android_media_MediaCodec_mapHardwareBuffer()