Home
last modified time | relevance | path

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

/hardware/google/gchips/gralloc4/src/
Dmali_gralloc_usages.h35 namespace hidl_common = android::hardware::graphics::common::V1_1; variable
91 #define GRALLOC_USAGE_SW_WRITE_RARELY static_cast<uint64_t>(hidl_common::BufferUsage::CPU_WRITE_RAR…
92 #define GRALLOC_USAGE_SW_WRITE_OFTEN static_cast<uint64_t>(hidl_common::BufferUsage::CPU_WRITE_OFTE…
93 #define GRALLOC_USAGE_SW_READ_RARELY static_cast<uint64_t>(hidl_common::BufferUsage::CPU_READ_RAREL…
94 #define GRALLOC_USAGE_SW_READ_OFTEN static_cast<uint64_t>(hidl_common::BufferUsage::CPU_READ_OFTEN)
95 #define GRALLOC_USAGE_RENDERSCRIPT static_cast<uint64_t>(hidl_common::BufferUsage::RENDERSCRIPT)
96 #define GRALLOC_USAGE_HW_FB static_cast<uint64_t>(hidl_common::BufferUsage::COMPOSER_CLIENT_TARGET)
101 #define GRALLOC_USAGE_SW_WRITE_MASK static_cast<uint64_t>(hidl_common::BufferUsage::CPU_WRITE_MASK)
102 #define GRALLOC_USAGE_SW_READ_MASK static_cast<uint64_t>(hidl_common::BufferUsage::CPU_READ_MASK)
103 #define GRALLOC_USAGE_PROTECTED static_cast<uint64_t>(hidl_common::BufferUsage::PROTECTED)
[all …]
/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferallocation.cpp543 if (usage & hidl_common::BufferUsage::CPU_READ_OFTEN) { in update_usage_for_BIG()
544 usage &= ~(static_cast<uint64_t>(hidl_common::BufferUsage::CPU_READ_OFTEN)); in update_usage_for_BIG()
545 usage |= hidl_common::BufferUsage::CPU_READ_RARELY; in update_usage_for_BIG()
548 if (usage & hidl_common::BufferUsage::CPU_WRITE_OFTEN) { in update_usage_for_BIG()
549 usage &= ~(static_cast<uint64_t>(hidl_common::BufferUsage::CPU_WRITE_OFTEN)); in update_usage_for_BIG()
550 usage |= hidl_common::BufferUsage::CPU_WRITE_RARELY; in update_usage_for_BIG()
1206 …if (((usage & hidl_common::BufferUsage::VIDEO_DECODER)||(usage & hidl_common::BufferUsage::VIDEO_E… in mali_gralloc_buffer_allocate()
Dmali_gralloc_formats.cpp80 if (!(usage & hidl_common::BufferUsage::VIDEO_ENCODER)) in get_vpu_consumer()
173 if (!(usage & hidl_common::BufferUsage::VIDEO_DECODER)) in get_vpu_producer()