Lines Matching refs:descriptorInfo

102         IMapper::BufferDescriptorInfo* descriptorInfo) const {  in validateBufferDescriptorInfo()
108 if (descriptorInfo->usage & ~validUsageBits) { in validateBufferDescriptorInfo()
110 descriptorInfo->usage & ~validUsageBits); in validateBufferDescriptorInfo()
118 IMapper::BufferDescriptorInfo* descriptorInfo = in createDescriptor() local
122 status_t status = validateBufferDescriptorInfo(descriptorInfo); in createDescriptor()
140 ret = mMapperV2_1->createDescriptor_2_1(*descriptorInfo, hidl_cb); in createDescriptor()
143 descriptorInfo->width, in createDescriptor()
144 descriptorInfo->height, in createDescriptor()
145 descriptorInfo->layerCount, in createDescriptor()
146 static_cast<hardware::graphics::common::V1_0::PixelFormat>(descriptorInfo->format), in createDescriptor()
147 descriptorInfo->usage, in createDescriptor()
189 IMapper::BufferDescriptorInfo descriptorInfo = {}; in validateBufferSize() local
190 descriptorInfo.width = width; in validateBufferSize()
191 descriptorInfo.height = height; in validateBufferSize()
192 descriptorInfo.layerCount = layerCount; in validateBufferSize()
193 descriptorInfo.format = static_cast<hardware::graphics::common::V1_1::PixelFormat>(format); in validateBufferSize()
194 descriptorInfo.usage = usage; in validateBufferSize()
197 auto ret = mMapperV2_1->validateBufferSize(buffer, descriptorInfo, stride); in validateBufferSize()
385 IMapper::BufferDescriptorInfo descriptorInfo = {}; in allocate() local
386 descriptorInfo.width = width; in allocate()
387 descriptorInfo.height = height; in allocate()
388 descriptorInfo.layerCount = layerCount; in allocate()
389 descriptorInfo.format = static_cast<hardware::graphics::common::V1_1::PixelFormat>(format); in allocate()
390 descriptorInfo.usage = usage; in allocate()
393 status_t error = mMapper.createDescriptor(static_cast<void*>(&descriptorInfo), in allocate()