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.h33 namespace hidl_common = android::hardware::graphics::common::V1_1; variable
84 #define GRALLOC_USAGE_SW_WRITE_RARELY static_cast<uint64_t>(hidl_common::BufferUsage::CPU_WRITE_RAR…
85 #define GRALLOC_USAGE_SW_WRITE_OFTEN static_cast<uint64_t>(hidl_common::BufferUsage::CPU_WRITE_OFTE…
86 #define GRALLOC_USAGE_SW_READ_RARELY static_cast<uint64_t>(hidl_common::BufferUsage::CPU_READ_RAREL…
87 #define GRALLOC_USAGE_SW_READ_OFTEN static_cast<uint64_t>(hidl_common::BufferUsage::CPU_READ_OFTEN)
88 #define GRALLOC_USAGE_RENDERSCRIPT static_cast<uint64_t>(hidl_common::BufferUsage::RENDERSCRIPT)
89 #define GRALLOC_USAGE_HW_FB static_cast<uint64_t>(hidl_common::BufferUsage::COMPOSER_CLIENT_TARGET)
94 #define GRALLOC_USAGE_SW_WRITE_MASK static_cast<uint64_t>(hidl_common::BufferUsage::CPU_WRITE_MASK)
95 #define GRALLOC_USAGE_SW_READ_MASK static_cast<uint64_t>(hidl_common::BufferUsage::CPU_READ_MASK)
96 #define GRALLOC_USAGE_PROTECTED static_cast<uint64_t>(hidl_common::BufferUsage::PROTECTED)
[all …]
/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferallocation.cpp475 if (usage & hidl_common::BufferUsage::CPU_READ_OFTEN) { in update_usage_for_BO()
476 usage &= ~(static_cast<uint64_t>(hidl_common::BufferUsage::CPU_READ_OFTEN)); in update_usage_for_BO()
477 usage |= hidl_common::BufferUsage::CPU_READ_RARELY; in update_usage_for_BO()
480 if (usage & hidl_common::BufferUsage::CPU_WRITE_OFTEN) { in update_usage_for_BO()
481 usage &= ~(static_cast<uint64_t>(hidl_common::BufferUsage::CPU_WRITE_OFTEN)); in update_usage_for_BO()
482 usage |= hidl_common::BufferUsage::CPU_WRITE_RARELY; in update_usage_for_BO()
1091 if ((usage & hidl_common::BufferUsage::VIDEO_DECODER) && (usage & GRALLOC_USAGE_GOOGLE_IP_BO)) { in mali_gralloc_buffer_allocate()
Dmali_gralloc_formats.cpp79 if (!(usage & hidl_common::BufferUsage::VIDEO_ENCODER)) in get_vpu_consumer()
172 if (!(usage & hidl_common::BufferUsage::VIDEO_DECODER)) in get_vpu_producer()