Home
last modified time | relevance | path

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

/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Domx_video_base.cpp4377 encoder_media_buffer_type *media_ptr; in omx_release_meta_buffer() local
4389 media_ptr = (encoder_media_buffer_type *) buffer->pBuffer; in omx_release_meta_buffer()
4390 if(media_ptr && media_ptr->meta_handle) in omx_release_meta_buffer()
4392 if(media_ptr->buffer_type == kMetadataBufferTypeCameraSource && in omx_release_meta_buffer()
4393 media_ptr->meta_handle->numFds == 1 && in omx_release_meta_buffer()
4394 media_ptr->meta_handle->numInts == 2) { in omx_release_meta_buffer()
4395 Input_pmem.fd = media_ptr->meta_handle->data[0]; in omx_release_meta_buffer()
4396 Input_pmem.buffer = media_ptr; in omx_release_meta_buffer()
4397 Input_pmem.size = media_ptr->meta_handle->data[2]; in omx_release_meta_buffer()
4398 Input_pmem.offset = media_ptr->meta_handle->data[1]; in omx_release_meta_buffer()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp4465 encoder_media_buffer_type *media_ptr; in omx_release_meta_buffer() local
4477 media_ptr = (encoder_media_buffer_type *) buffer->pBuffer; in omx_release_meta_buffer()
4478 if (media_ptr && media_ptr->meta_handle) { in omx_release_meta_buffer()
4479 if ((media_ptr->buffer_type == kMetadataBufferTypeCameraSource || in omx_release_meta_buffer()
4480 media_ptr->buffer_type == kMetadataBufferTypeNativeHandleSource) && in omx_release_meta_buffer()
4481 media_ptr->meta_handle->numFds == 1 && in omx_release_meta_buffer()
4482 media_ptr->meta_handle->numInts >= 2) { in omx_release_meta_buffer()
4483 Input_pmem.fd = media_ptr->meta_handle->data[0]; in omx_release_meta_buffer()
4484 Input_pmem.buffer = media_ptr; in omx_release_meta_buffer()
4485 Input_pmem.size = media_ptr->meta_handle->data[2]; in omx_release_meta_buffer()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp4777 encoder_media_buffer_type *media_ptr; in omx_release_meta_buffer() local
4789 media_ptr = (encoder_media_buffer_type *) buffer->pBuffer; in omx_release_meta_buffer()
4790 if (media_ptr && media_ptr->meta_handle) { in omx_release_meta_buffer()
4791 if (media_ptr->buffer_type == kMetadataBufferTypeCameraSource && in omx_release_meta_buffer()
4792 media_ptr->meta_handle->numFds == 1 && in omx_release_meta_buffer()
4793 media_ptr->meta_handle->numInts >= 2) { in omx_release_meta_buffer()
4794 Input_pmem.fd = media_ptr->meta_handle->data[0]; in omx_release_meta_buffer()
4795 Input_pmem.buffer = media_ptr; in omx_release_meta_buffer()
4796 Input_pmem.size = media_ptr->meta_handle->data[2]; in omx_release_meta_buffer()
4797 Input_pmem.offset = media_ptr->meta_handle->data[1]; in omx_release_meta_buffer()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp4901 LEGACY_CAM_METADATA_TYPE *media_ptr; in omx_release_meta_buffer() local
4913 media_ptr = (LEGACY_CAM_METADATA_TYPE *) buffer->pBuffer; in omx_release_meta_buffer()
4914 if (media_ptr && media_ptr->meta_handle) { in omx_release_meta_buffer()
4915 if (media_ptr->buffer_type == LEGACY_CAM_SOURCE) { in omx_release_meta_buffer()
4916 Input_pmem.buffer = media_ptr; in omx_release_meta_buffer()
4917 Input_pmem.fd = MetaBufferUtil::getFdAt(media_ptr->meta_handle, 0); in omx_release_meta_buffer()
4918 … int size = MetaBufferUtil::getIntAt(media_ptr->meta_handle, 0, MetaBufferUtil::INT_SIZE); in omx_release_meta_buffer()
4919 … int offset = MetaBufferUtil::getIntAt(media_ptr->meta_handle, 0, MetaBufferUtil::INT_OFFSET); in omx_release_meta_buffer()
4929 } else if (media_ptr->buffer_type == kMetadataBufferTypeGrallocSource) { in omx_release_meta_buffer()
4930 VideoGrallocMetadata *media_ptr = (VideoGrallocMetadata *)buffer->pBuffer; in omx_release_meta_buffer() local
[all …]