Home
last modified time | relevance | path

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

/hardware/google/gchips/gralloc4/src/hidl_common/
DBufferDescriptor.h155 static bool grallocDecodeBufferDescriptor(const frameworks_vec<vecT> &androidDescriptor, buffer_des… in grallocDecodeBufferDescriptor() argument
162 sizeof('\0') > androidDescriptor.size()) in grallocDecodeBufferDescriptor()
168 if (static_cast<char>(androidDescriptor[androidDescriptor.size() - 1]) != '\0') { in grallocDecodeBufferDescriptor()
173 if (pop_descriptor_uint32(androidDescriptor, &pos) != HIDL_MAPPER_VERSION_SCALED / 10) in grallocDecodeBufferDescriptor()
175 …MALI_GRALLOC_LOGE("Corrupted buffer version in descriptor = %p, pid = %d ", &androidDescriptor, ge… in grallocDecodeBufferDescriptor()
179 grallocDescriptor.width = pop_descriptor_uint32(androidDescriptor, &pos); in grallocDecodeBufferDescriptor()
180 grallocDescriptor.height = pop_descriptor_uint32(androidDescriptor, &pos); in grallocDecodeBufferDescriptor()
181 grallocDescriptor.layer_count = pop_descriptor_uint32(androidDescriptor, &pos); in grallocDecodeBufferDescriptor()
182 …grallocDescriptor.hal_format = static_cast<uint64_t>(pop_descriptor_uint32(androidDescriptor, &pos… in grallocDecodeBufferDescriptor()
183 grallocDescriptor.producer_usage = pop_descriptor_uint64(androidDescriptor, &pos); in grallocDecodeBufferDescriptor()
[all …]