Lines Matching refs:descriptor_info
62 Error QtiMapper::CreateDescriptor(const BufferDescriptorInfo_2_1& descriptor_info, in CreateDescriptor() argument
66 descriptor_info.width, descriptor_info.height, descriptor_info.usage, in CreateDescriptor()
67 static_cast<uint32_t>(descriptor_info.format), descriptor_info.layerCount); in CreateDescriptor()
69 if (ValidDescriptor(descriptor_info)) { in CreateDescriptor()
70 auto vec = gralloc::BufferDescriptor::Encode(descriptor_info); in CreateDescriptor()
79 Return<void> QtiMapper::createDescriptor(const BufferDescriptorInfo_2_0 &descriptor_info, in createDescriptor() argument
83 descriptor_info.width, in createDescriptor()
84 descriptor_info.height, in createDescriptor()
85 descriptor_info.layerCount, in createDescriptor()
86 static_cast<PixelFormat>(descriptor_info.format), in createDescriptor()
87 descriptor_info.usage, in createDescriptor()
226 const BufferDescriptorInfo_2_1& descriptor_info, in validateBufferSize() argument
234 auto info = gralloc::BufferInfo(descriptor_info.width, descriptor_info.height, in validateBufferSize()
235 static_cast<uint32_t>(descriptor_info.format), in validateBufferSize()
236 static_cast<uint64_t>(descriptor_info.usage)); in validateBufferSize()
237 info.layer_count = descriptor_info.layerCount; in validateBufferSize()
259 Return<void> QtiMapper::createDescriptor_2_1(const BufferDescriptorInfo_2_1& descriptor_info, in createDescriptor_2_1() argument
262 auto err = CreateDescriptor(descriptor_info, &descriptor); in createDescriptor_2_1()