Home
last modified time | relevance | path

Searched refs:meta_buf (Results 1 – 15 of 15) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraChannel.cpp1481 mm_camera_buf_def_t *meta_buf, QCameraStream *pStream) in doReprocessOffline() argument
1488 if ((frame == NULL) || (meta_buf == NULL)) { in doReprocessOffline()
1510 if (meta_buf != NULL) { in doReprocessOffline()
1514 meta_buf->fd, in doReprocessOffline()
1515 meta_buf->buffer, in doReprocessOffline()
1516 meta_buf->frame_len); in doReprocessOffline()
1563 if (meta_buf != NULL) { in doReprocessOffline()
1595 mm_camera_buf_def_t *meta_buf, QCameraParametersIntf &mParameter) in doReprocessOffline() argument
1635 if (meta_buf != NULL) { in doReprocessOffline()
1640 (metadata_buffer_t *)meta_buf->buffer; in doReprocessOffline()
[all …]
DQCameraChannel.h155 mm_camera_buf_def_t *meta_buf, QCameraParametersIntf &param);
158 mm_camera_buf_def_t *meta_buf, QCameraStream *pStream = NULL);
DQCameraPostProc.cpp3386 mm_camera_buf_def_t *meta_buf = NULL; in doReprocess() local
3433 meta_buf = src_frame->bufs[i]; in doReprocess()
3438 if ((pMetaStream != NULL) && (meta_buf != NULL)) { in doReprocess()
3445 if ((pMetaStream == NULL) && (meta_buf == NULL)) { in doReprocess()
3457 meta_buf = src_reproc_frame->bufs[i]; in doReprocess()
3461 if ((pMetaStream != NULL) && (meta_buf != NULL)) { in doReprocess()
3484 meta_buf, m_parent->mParameters); in doReprocess()
3493 ppreq_job->offline_reproc_buf, meta_buf); in doReprocess()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp1804 LEGACY_CAM_METADATA_TYPE *meta_buf = NULL; in dev_empty_buf() local
1805 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in dev_empty_buf()
1811 if(!meta_buf) in dev_empty_buf()
1827 if (meta_buf->buffer_type == LEGACY_CAM_SOURCE) in dev_empty_buf()
1829 offset = meta_buf->meta_handle->data[1]; in dev_empty_buf()
1830 size = meta_buf->meta_handle->data[2]; in dev_empty_buf()
1831 … if (set_format && (meta_buf->meta_handle->numFds + meta_buf->meta_handle->numInts > 5)) in dev_empty_buf()
1833 … m_sInPortFormat.eColorFormat = (OMX_COLOR_FORMATTYPE)meta_buf->meta_handle->data[5]; in dev_empty_buf()
1844 else if (meta_buf->buffer_type == kMetadataBufferTypeGrallocSource) in dev_empty_buf()
1846 VideoGrallocMetadata *meta_buf = (VideoGrallocMetadata *)bufhdr->pBuffer; in dev_empty_buf() local
[all …]
Dvideo_encoder_device_v4l2.cpp3845 LEGACY_CAM_METADATA_TYPE * meta_buf = NULL; in venc_empty_buf() local
3880 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in venc_empty_buf()
3882 if (!meta_buf) { in venc_empty_buf()
3894 if (meta_buf->buffer_type == LEGACY_CAM_SOURCE) { in venc_empty_buf()
3895 native_handle_t *hnd = (native_handle_t*)meta_buf->meta_handle; in venc_empty_buf()
3984 } else if (meta_buf->buffer_type == kMetadataBufferTypeGrallocSource) { in venc_empty_buf()
3985 VideoGrallocMetadata *meta_buf = (VideoGrallocMetadata *)bufhdr->pBuffer; in venc_empty_buf() local
3986 private_handle_t *handle = (private_handle_t *)meta_buf->pHandle; in venc_empty_buf()
4232 LEGACY_CAM_METADATA_TYPE * meta_buf = NULL; in venc_empty_batch() local
4243 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in venc_empty_batch()
[all …]
Domx_video_encoder.cpp2750 output_metabuffer *meta_buf = (output_metabuffer *)(omxhdr->pBuffer); in async_message_process() local
2751 native_handle_t *nh = meta_buf->nh; in async_message_process()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp1808 encoder_media_buffer_type *meta_buf = NULL; in dev_empty_buf() local
1809 meta_buf = (encoder_media_buffer_type *)bufhdr->pBuffer; in dev_empty_buf()
1810 if (meta_buf) in dev_empty_buf()
1812 if (meta_buf->buffer_type == kMetadataBufferTypeCameraSource) in dev_empty_buf()
1814 offset = meta_buf->meta_handle->data[1]; in dev_empty_buf()
1815 size = meta_buf->meta_handle->data[2]; in dev_empty_buf()
1817 (meta_buf->meta_handle->numFds + meta_buf->meta_handle->numInts > 5)) in dev_empty_buf()
1820 if (((OMX_COLOR_FORMATTYPE) meta_buf->meta_handle->data[5]) != in dev_empty_buf()
1827 else if (meta_buf->buffer_type == kMetadataBufferTypeGrallocSource) in dev_empty_buf()
1829 private_handle_t *handle = (private_handle_t *)meta_buf->meta_handle; in dev_empty_buf()
[all …]
Domx_swvenc_hevc.cpp1202 encoder_media_buffer_type *meta_buf = NULL; in dev_empty_buf() local
1203 meta_buf = (encoder_media_buffer_type *)bufHdr->pBuffer; in dev_empty_buf()
1204 if (meta_buf) in dev_empty_buf()
1206 if (meta_buf->buffer_type == kMetadataBufferTypeCameraSource) in dev_empty_buf()
1208 offset = meta_buf->meta_handle->data[1]; in dev_empty_buf()
1209 size = meta_buf->meta_handle->data[2]; in dev_empty_buf()
1211 else if (meta_buf->buffer_type == kMetadataBufferTypeGrallocSource) in dev_empty_buf()
1213 private_handle_t *handle = (private_handle_t *)meta_buf->meta_handle; in dev_empty_buf()
Dvideo_encoder_device_v4l2.cpp3406 encoder_media_buffer_type * meta_buf = NULL; in venc_empty_buf() local
3441 meta_buf = (encoder_media_buffer_type *)bufhdr->pBuffer; in venc_empty_buf()
3443 if (!meta_buf) { in venc_empty_buf()
3456 if (meta_buf->buffer_type == kMetadataBufferTypeCameraSource) { in venc_empty_buf()
3457 native_handle_t *hnd = (native_handle_t*)meta_buf->meta_handle; in venc_empty_buf()
3531 } else if (meta_buf->buffer_type == kMetadataBufferTypeGrallocSource) { in venc_empty_buf()
3532 private_handle_t *handle = (private_handle_t *)meta_buf->meta_handle; in venc_empty_buf()
3748 encoder_media_buffer_type * meta_buf = NULL; in venc_empty_batch() local
3759 meta_buf = (encoder_media_buffer_type *)bufhdr->pBuffer; in venc_empty_batch()
3762 if (meta_buf->buffer_type == kMetadataBufferTypeCameraSource) { in venc_empty_batch()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp2220 LEGACY_CAM_METADATA_TYPE *meta_buf = NULL; in dev_empty_buf() local
2221 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in dev_empty_buf()
2227 if(!meta_buf) in dev_empty_buf()
2243 if (meta_buf->buffer_type == LEGACY_CAM_SOURCE) in dev_empty_buf()
2245 offset = meta_buf->meta_handle->data[1]; in dev_empty_buf()
2246 size = meta_buf->meta_handle->data[2]; in dev_empty_buf()
2247 … if (set_format && (meta_buf->meta_handle->numFds + meta_buf->meta_handle->numInts > 5)) in dev_empty_buf()
2249 … m_sInPortFormat.eColorFormat = (OMX_COLOR_FORMATTYPE)meta_buf->meta_handle->data[5]; in dev_empty_buf()
2260 else if (meta_buf->buffer_type == kMetadataBufferTypeGrallocSource) in dev_empty_buf()
2262 VideoGrallocMetadata *meta_buf = (VideoGrallocMetadata *)bufhdr->pBuffer; in dev_empty_buf() local
[all …]
Dvideo_encoder_device_v4l2.cpp3832 LEGACY_CAM_METADATA_TYPE * meta_buf = NULL; in venc_empty_buf() local
3867 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in venc_empty_buf()
3869 if (!meta_buf) { in venc_empty_buf()
3881 if (meta_buf->buffer_type == LEGACY_CAM_SOURCE) { in venc_empty_buf()
3882 native_handle_t *hnd = (native_handle_t*)meta_buf->meta_handle; in venc_empty_buf()
3967 } else if (meta_buf->buffer_type == kMetadataBufferTypeGrallocSource) { in venc_empty_buf()
3968 VideoGrallocMetadata *meta_buf = (VideoGrallocMetadata *)bufhdr->pBuffer; in venc_empty_buf() local
3969 private_handle_t *handle = (private_handle_t *)meta_buf->pHandle; in venc_empty_buf()
4304 LEGACY_CAM_METADATA_TYPE * meta_buf = NULL; in venc_empty_batch() local
4315 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in venc_empty_batch()
[all …]
Domx_video_encoder.cpp2513 output_metabuffer *meta_buf = (output_metabuffer *)(omxhdr->pBuffer); in async_message_process() local
2514 native_handle_t *nh = meta_buf->nh; in async_message_process()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp2695 encoder_media_buffer_type * meta_buf = NULL; in venc_empty_buf() local
2727 meta_buf = (encoder_media_buffer_type *)bufhdr->pBuffer; in venc_empty_buf()
2729 if (!meta_buf) { in venc_empty_buf()
2742 if ((meta_buf->buffer_type == kMetadataBufferTypeCameraSource) || in venc_empty_buf()
2743 (meta_buf->buffer_type == kMetadataBufferTypeNativeHandleSource)) { in venc_empty_buf()
2744 if (meta_buf->meta_handle->numFds + meta_buf->meta_handle->numInts > 3 && in venc_empty_buf()
2745 meta_buf->meta_handle->data[3] & private_handle_t::PRIV_FLAGS_ITU_R_709) { in venc_empty_buf()
2750 if (meta_buf->meta_handle->numFds + meta_buf->meta_handle->numInts > 2) { in venc_empty_buf()
2751 plane.data_offset = meta_buf->meta_handle->data[1]; in venc_empty_buf()
2752 plane.length = meta_buf->meta_handle->data[2]; in venc_empty_buf()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Channel.h640 mm_camera_super_buf_t *meta_buf);
DQCamera3Channel.cpp1372 mm_camera_buf_def_t meta_buf; in setFwkInputPPData() local
1374 rc = mOfflineMetaMemory.getBufDef(offset, meta_buf, metaBufIdx, true /*virtualAddr*/); in setFwkInputPPData()
1378 memcpy(meta_buf.buffer, metadata, sizeof(metadata_buffer_t)); in setFwkInputPPData()
1379 src_frame->metadata_buffer = meta_buf; in setFwkInputPPData()