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

/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
H A Domx_video_base.cpp4475 encoder_media_buffer_type *media_ptr; local
4487 media_ptr = (encoder_media_buffer_type *) buffer->pBuffer;
4488 if (media_ptr && media_ptr->meta_handle) {
4489 if ((media_ptr->buffer_type == kMetadataBufferTypeCameraSource ||
4490 media_ptr->buffer_type == kMetadataBufferTypeNativeHandleSource) &&
4491 media_ptr->meta_handle->numFds == 1 &&
4492 media_ptr->meta_handle->numInts >= 2) {
4493 Input_pmem.fd = media_ptr->meta_handle->data[0];
4494 Input_pmem.buffer = media_ptr;
[all...]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
H A Domx_video_base.cpp4377 encoder_media_buffer_type *media_ptr; local
4389 media_ptr = (encoder_media_buffer_type *) buffer->pBuffer;
4390 if(media_ptr && media_ptr->meta_handle)
4392 if(media_ptr->buffer_type == kMetadataBufferTypeCameraSource &&
4393 media_ptr->meta_handle->numFds == 1 &&
4394 media_ptr->meta_handle->numInts == 2) {
4395 Input_pmem.fd = media_ptr->meta_handle->data[0];
4396 Input_pmem.buffer = media_ptr;
4397 Input_pmem.size = media_ptr
[all...]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
H A Domx_video_base.cpp4811 encoder_media_buffer_type *media_ptr; local
4823 media_ptr = (encoder_media_buffer_type *) buffer->pBuffer;
4824 if (media_ptr && media_ptr->meta_handle) {
4825 if (media_ptr->buffer_type == kMetadataBufferTypeCameraSource &&
4826 media_ptr->meta_handle->numFds == 1 &&
4827 media_ptr->meta_handle->numInts >= 2) {
4828 Input_pmem.fd = media_ptr->meta_handle->data[0];
4829 Input_pmem.buffer = media_ptr;
4830 Input_pmem.size = media_ptr
[all...]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
H A Domx_video_base.cpp4957 LEGACY_CAM_METADATA_TYPE *media_ptr; local
4969 media_ptr = (LEGACY_CAM_METADATA_TYPE *) buffer->pBuffer;
4970 if (media_ptr && media_ptr->meta_handle) {
4971 if (media_ptr->buffer_type == LEGACY_CAM_SOURCE) {
4972 Input_pmem.buffer = media_ptr;
4973 Input_pmem.fd = MetaBufferUtil::getFdAt(media_ptr->meta_handle, 0);
4974 int size = MetaBufferUtil::getIntAt(media_ptr->meta_handle, 0, MetaBufferUtil::INT_SIZE);
4975 int offset = MetaBufferUtil::getIntAt(media_ptr->meta_handle, 0, MetaBufferUtil::INT_OFFSET);
4985 } else if (media_ptr
4986 VideoGrallocMetadata *media_ptr = (VideoGrallocMetadata *)buffer->pBuffer; local
[all...]

Completed in 80 milliseconds