Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
DGralloc1Hal.h49 bufferDescriptorInfo.producerUsage = toProducerUsage(descriptorInfo.usage); in validateBufferSize()
109 uint64_t producerUsage = usage & ~static_cast<uint64_t>(BufferUsage::CPU_READ_MASK | in toProducerUsage() local
115 producerUsage |= GRALLOC1_PRODUCER_USAGE_CPU_WRITE; in toProducerUsage()
118 producerUsage |= GRALLOC1_PRODUCER_USAGE_CPU_WRITE_OFTEN; in toProducerUsage()
126 producerUsage |= GRALLOC1_PRODUCER_USAGE_CPU_READ; in toProducerUsage()
129 producerUsage |= GRALLOC1_PRODUCER_USAGE_CPU_READ_OFTEN; in toProducerUsage()
137 return producerUsage; in toProducerUsage()
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.cpp251 descriptor->producerUsage, descriptor->consumerUsage); in allocate()
268 static_cast<int>(descriptor->producerUsage), in allocate()
399 int producerUsage = 0; in retain() local
406 bufferHandle, &producerUsage); in retain()
414 static_cast<gralloc1_producer_usage_t>(producerUsage)); in retain()
441 gralloc1_producer_usage_t producerUsage, in lock() argument
448 android_convertGralloc1To0Usage(producerUsage, consumerUsage), in lock()
458 android_convertGralloc1To0Usage(producerUsage, consumerUsage), in lock()
473 gralloc1_producer_usage_t producerUsage, in lockFlex() argument
483 static_cast<int>(producerUsage), in lockFlex()
[all …]
DGralloc1On0Adapter.h112 producerUsage(GRALLOC1_PRODUCER_USAGE_NONE), in Descriptor()
132 producerUsage = usage; in setProducerUsage()
145 gralloc1_producer_usage_t producerUsage; member
248 *outUsage = mDescriptor.producerUsage; in getProducerUsage()
351 gralloc1_producer_usage_t producerUsage,
356 gralloc1_producer_usage_t producerUsage,
388 auto producerUsage = in lockHook() local
396 if ((producerUsage & producerCpuUsage) != 0) { in lockHook()
414 auto error = ((*adapter).*member)(buffer, producerUsage, consumerUsage, in lockHook()
/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/
DGralloc1Hal.h219 uint64_t producerUsage = usage & ~static_cast<uint64_t>(BufferUsage::CPU_READ_MASK | in toProducerUsage() local
225 producerUsage |= GRALLOC1_PRODUCER_USAGE_CPU_WRITE; in toProducerUsage()
228 producerUsage |= GRALLOC1_PRODUCER_USAGE_CPU_WRITE_OFTEN; in toProducerUsage()
236 producerUsage |= GRALLOC1_PRODUCER_USAGE_CPU_READ; in toProducerUsage()
239 producerUsage |= GRALLOC1_PRODUCER_USAGE_CPU_READ_OFTEN; in toProducerUsage()
247 return producerUsage; in toProducerUsage()
/hardware/interfaces/camera/device/3.3/default/
Dconvert.cpp40 dst->v3_2.producerUsage = (BufferUsageFlags)src->usage; in convertToHidl()
42 dst->v3_2.producerUsage = (BufferUsageFlags)0; in convertToHidl()
/hardware/libhardware/include/hardware/
Dgralloc1.h706 uint64_t producerUsage; member
962 uint64_t /*gralloc1_producer_usage_t*/ producerUsage,
1011 uint64_t /*gralloc1_producer_usage_t*/ producerUsage,
/hardware/interfaces/camera/device/3.2/default/
Dconvert.cpp81 dst->producerUsage = (BufferUsageFlags)src->usage; in convertToHidl()
83 dst->producerUsage = (BufferUsageFlags)0; in convertToHidl()
/hardware/qcom/display/msm8994/libgralloc/
Dmapper.cpp514 auto producerUsage = va_arg(args, int); in gralloc_perform() local
516 hnd->producer_usage = producerUsage; in gralloc_perform()
577 auto producerUsage = va_arg(args, int); in gralloc_perform() local
595 producerUsage | consumerUsage, in gralloc_perform()
/hardware/qcom/display/msm8996/libgralloc/
Dmapper.cpp564 auto producerUsage = va_arg(args, int); in gralloc_perform() local
566 hnd->producer_usage = producerUsage; in gralloc_perform()
627 auto producerUsage = va_arg(args, int); in gralloc_perform() local
645 producerUsage | consumerUsage, in gralloc_perform()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3StreamMem.h144 uint64_t producerUsage,
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_device_impl.cpp534 (info->producerUsage); in validateBufferSize()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_device_impl.cpp515 (info->producerUsage); in validateBufferSize()
/hardware/interfaces/camera/device/3.2/
Dtypes.hal370 * If the stream's type is INPUT, then producerUsage must be 0, and
371 * consumerUsage must be set. For other types, producerUsage must be set,
374 BufferUsageFlags producerUsage;
DICameraDeviceSession.hal95 * requestedConfiguration. Upon return, the HAL device must set producerUsage,
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp1395 halStream.producerUsage, halStream.consumerUsage), in requestStreamBuffers()
3952 android_convertGralloc1To0Usage(halStreamConfig.streams[0].producerUsage, in TEST_F()
4174 android_convertGralloc1To0Usage(halStream.v3_3.v3_2.producerUsage, in TEST_F()
4387 android_convertGralloc1To0Usage(halStreamConfig.streams[0].producerUsage, in TEST_F()
4493 android_convertGralloc1To0Usage(halStreamConfig.streams[0].producerUsage, in TEST_F()
4659 android_convertGralloc1To0Usage(halStreamConfig.streams[0].producerUsage, in TEST_F()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDeviceSession.cpp2749 out->streams[i].v3_2.producerUsage = config.streams[i].usage | in configureStreams()