Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
DGralloc1Hal.h48 bufferDescriptorInfo.consumerUsage = toConsumerUsage(descriptorInfo.usage); in validateBufferSize()
143 uint64_t consumerUsage = in toConsumerUsage() local
150 consumerUsage |= GRALLOC1_CONSUMER_USAGE_CPU_READ; in toConsumerUsage()
153 consumerUsage |= GRALLOC1_CONSUMER_USAGE_CPU_READ_OFTEN; in toConsumerUsage()
162 consumerUsage |= GRALLOC1_CONSUMER_USAGE_GPU_DATA_BUFFER; in toConsumerUsage()
165 return consumerUsage; in toConsumerUsage()
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.cpp251 descriptor->producerUsage, descriptor->consumerUsage); in allocate()
269 static_cast<int>(descriptor->consumerUsage)); in allocate()
400 int consumerUsage = 0; in retain() local
408 bufferHandle, &consumerUsage); in retain()
416 static_cast<gralloc1_consumer_usage_t>(consumerUsage)); in retain()
442 gralloc1_consumer_usage_t consumerUsage, in lock() argument
448 android_convertGralloc1To0Usage(producerUsage, consumerUsage), in lock()
458 android_convertGralloc1To0Usage(producerUsage, consumerUsage), in lock()
474 gralloc1_consumer_usage_t consumerUsage, in lockFlex() argument
484 static_cast<int>(consumerUsage), in lockFlex()
[all …]
DGralloc1On0Adapter.h113 consumerUsage(GRALLOC1_CONSUMER_USAGE_NONE) {} in Descriptor()
137 consumerUsage = usage; in setConsumerUsage()
146 gralloc1_consumer_usage_t consumerUsage; member
220 *outUsage = mDescriptor.consumerUsage; in getConsumerUsage()
352 gralloc1_consumer_usage_t consumerUsage,
357 gralloc1_consumer_usage_t consumerUsage,
390 auto consumerUsage = in lockHook() local
399 if ((consumerUsage & GRALLOC1_CONSUMER_USAGE_CPU_READ) != 0) { in lockHook()
414 auto error = ((*adapter).*member)(buffer, producerUsage, consumerUsage, in lockHook()
/hardware/interfaces/camera/device/3.3/default/
Dconvert.cpp39 dst->v3_2.consumerUsage = (BufferUsageFlags)0; in convertToHidl()
43 dst->v3_2.consumerUsage = (BufferUsageFlags)src->usage; in convertToHidl()
/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/
DGralloc1Hal.h253 uint64_t consumerUsage = in toConsumerUsage() local
260 consumerUsage |= GRALLOC1_CONSUMER_USAGE_CPU_READ; in toConsumerUsage()
263 consumerUsage |= GRALLOC1_CONSUMER_USAGE_CPU_READ_OFTEN; in toConsumerUsage()
272 consumerUsage |= GRALLOC1_CONSUMER_USAGE_GPU_DATA_BUFFER; in toConsumerUsage()
275 return consumerUsage; in toConsumerUsage()
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc1Hal.h127 const uint64_t consumerUsage = in lock() local
131 int32_t error = mDispatch.lock(mDevice, bufferHandle, cpuUsage, consumerUsage, &accessRect, in lock()
152 const uint64_t consumerUsage = in lockYCbCr() local
155 error = mDispatch.lockFlex(mDevice, bufferHandle, cpuUsage, consumerUsage, &accessRect, in lockYCbCr()
/hardware/libhardware/include/hardware/
Dgralloc1.h707 uint64_t consumerUsage; member
963 uint64_t /*gralloc1_consumer_usage_t*/ consumerUsage,
1012 uint64_t /*gralloc1_consumer_usage_t*/ consumerUsage,
/hardware/interfaces/camera/device/3.2/default/
Dconvert.cpp80 dst->consumerUsage = (BufferUsageFlags)0; in convertToHidl()
84 dst->consumerUsage = (BufferUsageFlags)src->usage; in convertToHidl()
/hardware/qcom/display/msm8994/libgralloc/
Dmapper.cpp515 auto consumerUsage = va_arg(args, int); in gralloc_perform() local
517 hnd->consumer_usage = consumerUsage; in gralloc_perform()
578 auto consumerUsage = va_arg(args, int); in gralloc_perform() local
595 producerUsage | consumerUsage, in gralloc_perform()
/hardware/qcom/display/msm8996/libgralloc/
Dmapper.cpp565 auto consumerUsage = va_arg(args, int); in gralloc_perform() local
567 hnd->consumer_usage = consumerUsage; in gralloc_perform()
628 auto consumerUsage = va_arg(args, int); in gralloc_perform() local
645 producerUsage | consumerUsage, in gralloc_perform()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3StreamMem.h145 uint64_t consumerUsage,
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_device_impl.cpp537 (info->consumerUsage); in validateBufferSize()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_device_impl.cpp518 (info->consumerUsage); in validateBufferSize()
/hardware/interfaces/camera/device/3.2/
Dtypes.hal371 * consumerUsage must be set. For other types, producerUsage must be set,
372 * and consumerUsage must be 0.
375 BufferUsageFlags consumerUsage;
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp1395 halStream.producerUsage, halStream.consumerUsage), in requestStreamBuffers()
3953 halStreamConfig.streams[0].consumerUsage), in TEST_F()
4175 halStream.v3_3.v3_2.consumerUsage), in TEST_F()
4388 halStreamConfig.streams[0].consumerUsage), in TEST_F()
4494 halStreamConfig.streams[0].consumerUsage), in TEST_F()
4660 halStreamConfig.streams[0].consumerUsage), in TEST_F()
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp2125 OMX_U32 *consumerUsage = (OMX_U32 *)paramData; in get_parameter() local
2134 memcpy(consumerUsage, &m_sParamConsumerUsage, sizeof(m_sParamConsumerUsage)); in get_parameter()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp2169 OMX_U32 *consumerUsage = (OMX_U32 *)paramData; in get_parameter() local
2172 memcpy(consumerUsage, &m_sParamConsumerUsage, sizeof(m_sParamConsumerUsage)); in get_parameter()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDeviceSession.cpp2752 out->streams[i].v3_2.consumerUsage = 0; in configureStreams()