Home
last modified time | relevance | path

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

/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp625 struct msm_vidc_extradata_header *p_extradata) in append_extradata_mbidata() argument
627 OMX_U32 payloadSize = append_mbi_extradata(&p_extra->data, p_extradata); in append_extradata_mbidata()
637 struct msm_vidc_extradata_header *p_extradata) in append_extradata_ltrinfo() argument
639 …p_extra->nSize = ALIGN(sizeof(OMX_OTHER_EXTRADATATYPE) + p_extradata->data_size - sizeof(unsigned… in append_extradata_ltrinfo()
643 p_extra->nDataSize = p_extradata->data_size; in append_extradata_ltrinfo()
644 memcpy(p_extra->data, p_extradata->data, p_extradata->data_size); in append_extradata_ltrinfo()
668 char *p_extradata = NULL; in handle_input_extradata() local
705 p_extradata = input_extradata_info.uaddr + index * input_extradata_info.buffer_size; in handle_input_extradata()
706 data = (struct OMX_OTHER_EXTRADATATYPE *)p_extradata; in handle_input_extradata()
1030 struct msm_vidc_extradata_header *p_extradata = NULL; in handle_output_extradata() local
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp669 char *p_extradata = NULL; in handle_input_extradata() local
689 p_extradata = input_extradata_info.ion[index].uaddr; in handle_input_extradata()
690 data = (struct OMX_OTHER_EXTRADATATYPE *)p_extradata; in handle_input_extradata()
903 struct msm_vidc_extradata_header *p_extradata = NULL; in handle_output_extradata() local
921 p_extradata = (struct msm_vidc_extradata_header *)output_extradata_info.ion[index].uaddr; in handle_output_extradata()
923 memcpy(p_clientextra, p_extradata, output_extradata_info.buffer_size); in handle_output_extradata()
928 remaining_fw_extradata_size >= p_extradata->size && in handle_output_extradata()
929 p_extradata->type != MSM_VIDC_EXTRADATA_NONE) { in handle_output_extradata()
931 switch (p_extradata->type) { in handle_output_extradata()
934 DEBUG_PRINT_LOW("LTRInfo Extradata = 0x%x", *((OMX_U32 *)p_extradata->data)); in handle_output_extradata()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp544 struct msm_vidc_extradata_header *p_extradata = NULL; in handle_extradata() local
546 p_extradata = (struct msm_vidc_extradata_header *) (p_extradata ? in handle_extradata()
547 ((char *)p_extradata) + p_extradata->size : in handle_extradata()
550 switch (p_extradata->type) { in handle_extradata()
553 OMX_U32 payloadSize = append_mbi_extradata(&p_extra->data, p_extradata); in handle_extradata()
563 *p_extra->data = *p_extradata->data; in handle_extradata()
564 p_extra->nSize = ALIGN(sizeof(OMX_OTHER_EXTRADATATYPE) + p_extradata->data_size, 4); in handle_extradata()
568 p_extra->nDataSize = p_extradata->data_size; in handle_extradata()
581 p_extradata->type); in handle_extradata()
586 } while (p_extradata->type != MSM_VIDC_EXTRADATA_NONE); in handle_extradata()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp662 char *p_extradata = userptr; in handle_input_extradata() local
663 OMX_OTHER_EXTRADATATYPE *data = (struct OMX_OTHER_EXTRADATATYPE *)p_extradata; in handle_input_extradata()
769 struct msm_vidc_extradata_header *p_extradata = NULL; in handle_output_extradata() local
771 p_extradata = (struct msm_vidc_extradata_header *) (p_extradata ? in handle_output_extradata()
772 ((char *)p_extradata) + p_extradata->size : extradata_uaddr); in handle_output_extradata()
774 switch (p_extradata->type) { in handle_output_extradata()
777 OMX_U32 payloadSize = append_mbi_extradata(&p_extra->data, p_extradata); in handle_output_extradata()
787 *p_extra->data = *p_extradata->data; in handle_output_extradata()
788 p_extra->nSize = ALIGN(sizeof(OMX_OTHER_EXTRADATATYPE) + p_extradata->data_size, 4); in handle_output_extradata()
792 p_extra->nDataSize = p_extradata->data_size; in handle_output_extradata()
[all …]
Domx_swvenc_mpeg4.cpp1899 opbuffer.p_extradata = NULL; in dev_fill_buf()
1911 opbuffer.p_extradata); in dev_fill_buf()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp685 char *p_extradata = input_extradata_info.uaddr + index * input_extradata_info.buffer_size; in handle_input_extradata() local
686 OMX_OTHER_EXTRADATATYPE *data = (struct OMX_OTHER_EXTRADATATYPE *)p_extradata; in handle_input_extradata()
909 struct msm_vidc_extradata_header *p_extradata = NULL; in handle_output_extradata() local
911 p_extradata = (struct msm_vidc_extradata_header *) (p_extradata ? in handle_output_extradata()
912 ((char *)p_extradata) + p_extradata->size : in handle_output_extradata()
915 switch (p_extradata->type) { in handle_output_extradata()
918 OMX_U32 payloadSize = append_mbi_extradata(&p_extra->data, p_extradata); in handle_output_extradata()
928 p_extra->nSize = ALIGN(sizeof(OMX_OTHER_EXTRADATATYPE) + p_extradata->data_size, 4); in handle_output_extradata()
932 p_extra->nDataSize = p_extradata->data_size; in handle_output_extradata()
933 memcpy(p_extra->data, p_extradata->data, p_extradata->data_size); in handle_output_extradata()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp8008 char *p_extradata = NULL; in handle_extradata() local
8037 p_extradata = drv_ctx.extradata_info.ion[buf_index].uaddr; in handle_extradata()
8038 if (p_extradata && p_client_extra) { in handle_extradata()
8039 memcpy(p_client_extra, p_extradata, drv_ctx.extradata_info.buffer_size); in handle_extradata()
8044 data = (struct OMX_OTHER_EXTRADATATYPE *)p_extradata; in handle_extradata()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_msm8974.cpp9283 … char *p_extradata = drv_ctx.extradata_info.uaddr + buf_index * drv_ctx.extradata_info.buffer_size; in handle_extradata() local
9290 OMX_OTHER_EXTRADATATYPE *data = (struct OMX_OTHER_EXTRADATATYPE *)p_extradata; in handle_extradata()
9484 if (secure_mode && p_extradata && m_other_extradata) { in handle_extradata()
9486 memcpy(p_extradata, m_other_extradata, drv_ctx.extradata_info.buffer_size); in handle_extradata()
9488 ptr_extradatabuff->metadata_info.metabufaddr = (void *)p_extradata; in handle_extradata()
Domx_vdec_hevc.cpp7607 … char *p_extradata = drv_ctx.extradata_info.uaddr + buf_index * drv_ctx.extradata_info.buffer_size; in handle_extradata() local
7610 OMX_OTHER_EXTRADATATYPE *data = (struct OMX_OTHER_EXTRADATATYPE *)p_extradata; in handle_extradata()
Domx_vdec_hevc_swvdec.cpp8651 … char *p_extradata = drv_ctx.extradata_info.uaddr + buf_index * drv_ctx.extradata_info.buffer_size; in handle_extradata() local
8654 OMX_OTHER_EXTRADATATYPE *data = (struct OMX_OTHER_EXTRADATATYPE *)p_extradata; in handle_extradata()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp10514 … char *p_extradata = drv_ctx.extradata_info.uaddr + buf_index * drv_ctx.extradata_info.buffer_size; in handle_extradata() local
10521 OMX_OTHER_EXTRADATATYPE *data = (struct OMX_OTHER_EXTRADATATYPE *)p_extradata; in handle_extradata()
10716 if (secure_mode && p_extradata && m_other_extradata) { in handle_extradata()
10718 memcpy(p_extradata, m_other_extradata, drv_ctx.extradata_info.buffer_size); in handle_extradata()
10720 ptr_extradatabuff->metadata_info.metabufaddr = (void *)p_extradata; in handle_extradata()
Domx_vdec_hevc.cpp7571 … char *p_extradata = drv_ctx.extradata_info.uaddr + buf_index * drv_ctx.extradata_info.buffer_size; in handle_extradata() local
7574 OMX_OTHER_EXTRADATATYPE *data = (struct OMX_OTHER_EXTRADATATYPE *)p_extradata; in handle_extradata()
Domx_vdec_hevc_swvdec.cpp8866 … char *p_extradata = drv_ctx.extradata_info.uaddr + buf_index * drv_ctx.extradata_info.buffer_size; in handle_extradata() local
8869 OMX_OTHER_EXTRADATATYPE *data = (struct OMX_OTHER_EXTRADATATYPE *)p_extradata; in handle_extradata()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp11508 … char *p_extradata = drv_ctx.extradata_info.uaddr + buf_index * drv_ctx.extradata_info.buffer_size; in handle_extradata() local
11516 OMX_OTHER_EXTRADATATYPE *data = (struct OMX_OTHER_EXTRADATATYPE *)p_extradata; in handle_extradata()
11817 if (secure_mode && p_extradata && m_other_extradata) { in handle_extradata()
11819 memcpy(p_extradata, m_other_extradata, drv_ctx.extradata_info.buffer_size); in handle_extradata()
11821 ptr_extradatabuff->metadata_info.metabufaddr = (void *)p_extradata; in handle_extradata()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp11319 char *p_extradata = NULL; in handle_extradata() local
11354 p_extradata = drv_ctx.extradata_info.uaddr + buf_index * drv_ctx.extradata_info.buffer_size; in handle_extradata()
11357 data = (struct OMX_OTHER_EXTRADATATYPE *)p_extradata; in handle_extradata()