Home
last modified time | relevance | path

Searched refs:p_extra (Results 1 – 16 of 16) sorted by relevance

/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec.cpp6442 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local
6443 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done()
6447 while (p_extra && in fill_buffer_done()
6448 (OMX_U8*)p_extra < (pBuffer + buffer->nAllocLen) ) { in fill_buffer_done()
6449 … DEBUG_PRINT_LOW("WRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done()
6450 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done()
6452 if (p_extra->eType == OMX_ExtraDataNone) { in fill_buffer_done()
6456 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done()
7983 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL, *p_extn_user[32]; in handle_extradata_secure() local
7994 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata_secure()
[all …]
Domx_vdec_msm8974.cpp7299 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local
7300 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done()
7303 while (p_extra && (OMX_U8*)p_extra < (pBuffer + buffer->nAllocLen) ) { in fill_buffer_done()
7305 p_extra->nSize, p_extra->eType); in fill_buffer_done()
7306 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done()
7308 if (p_extra->eType == OMX_ExtraDataNone) { in fill_buffer_done()
7311 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done()
9250 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local
9275 p_extra = NULL; in handle_extradata()
9279 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata()
[all …]
Domx_vdec_hevc.cpp6003 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local
6004 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done()
6007 while (p_extra && in fill_buffer_done()
6008 (OMX_U8*)p_extra < (buffer->pBuffer + buffer->nAllocLen) ) { in fill_buffer_done()
6009 … DEBUG_PRINT_LOW("WRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done()
6010 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done()
6011 if (p_extra->eType == OMX_ExtraDataNone) { in fill_buffer_done()
6014 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done()
7592 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local
7605 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata()
[all …]
Domx_vdec_hevc_swvdec.cpp7106 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local
7107 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done()
7110 while(p_extra && in fill_buffer_done()
7111 (OMX_U8*)p_extra < (buffer->pBuffer + buffer->nAllocLen) ) in fill_buffer_done()
7113 … DEBUG_PRINT_LOW("WRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done()
7114 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done()
7115 if (p_extra->eType == OMX_ExtraDataNone) in fill_buffer_done()
7119 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done()
8634 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local
8647 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp6230 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local
6231 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done()
6234 while(p_extra && in fill_buffer_done()
6235 (OMX_U8*)p_extra < (buffer->pBuffer + buffer->nAllocLen) ) in fill_buffer_done()
6237 DEBUG_PRINT_LOW("\nWRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done()
6238 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done()
6239 if (p_extra->eType == OMX_ExtraDataNone) in fill_buffer_done()
6243 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done()
7776 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local
7780 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata()
[all …]
Domx_vdec.cpp6656 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local
6657 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done()
6660 while(p_extra && in fill_buffer_done()
6661 (OMX_U8*)p_extra < (pBuffer + buffer->nAllocLen) ) in fill_buffer_done()
6663 DEBUG_PRINT_LOW("\nWRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done()
6664 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done()
6665 if (p_extra->eType == OMX_ExtraDataNone) in fill_buffer_done()
6669 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done()
8297 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local
8305 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp624 void venc_dev::append_extradata_mbidata(OMX_OTHER_EXTRADATATYPE *p_extra, in append_extradata_mbidata() argument
627 OMX_U32 payloadSize = append_mbi_extradata(&p_extra->data, p_extradata); in append_extradata_mbidata()
628 p_extra->nSize = ALIGN(sizeof(OMX_OTHER_EXTRADATATYPE) + payloadSize - sizeof(unsigned int), 4); in append_extradata_mbidata()
629 p_extra->nVersion.nVersion = OMX_SPEC_VERSION; in append_extradata_mbidata()
630 p_extra->nPortIndex = OMX_DirOutput; in append_extradata_mbidata()
631 p_extra->eType = (OMX_EXTRADATATYPE)OMX_ExtraDataVideoEncoderMBInfo; in append_extradata_mbidata()
632 p_extra->nDataSize = payloadSize; in append_extradata_mbidata()
636 void venc_dev::append_extradata_ltrinfo(OMX_OTHER_EXTRADATATYPE *p_extra, in append_extradata_ltrinfo() argument
639p_extra->nSize = ALIGN(sizeof(OMX_OTHER_EXTRADATATYPE) + p_extradata->data_size - sizeof(unsigned… in append_extradata_ltrinfo()
640 p_extra->nVersion.nVersion = OMX_SPEC_VERSION; in append_extradata_ltrinfo()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp523 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in handle_extradata() local
530 p_extra = (OMX_OTHER_EXTRADATATYPE *)ALIGN(p_bufhdr->pBuffer + in handle_extradata()
536 p_extra = NULL; in handle_extradata()
553 OMX_U32 payloadSize = append_mbi_extradata(&p_extra->data, p_extradata); in handle_extradata()
554 p_extra->nSize = ALIGN(sizeof(OMX_OTHER_EXTRADATATYPE) + payloadSize, 4); in handle_extradata()
555 p_extra->nVersion.nVersion = OMX_SPEC_VERSION; in handle_extradata()
556 p_extra->nPortIndex = OMX_DirOutput; in handle_extradata()
557 p_extra->eType = (OMX_EXTRADATATYPE)OMX_ExtraDataVideoEncoderMBInfo; in handle_extradata()
558 p_extra->nDataSize = payloadSize; in handle_extradata()
563 *p_extra->data = *p_extradata->data; in handle_extradata()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp650 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in handle_input_extradata() local
681 p_extra = (OMX_OTHER_EXTRADATATYPE *) ((unsigned long)(pVirt + yuv_size + 3)&(~3)); in handle_input_extradata()
689 while (p_extra && (consumed_len + sizeof(OMX_OTHER_EXTRADATATYPE)) <= (size - yuv_size) in handle_input_extradata()
690 && (consumed_len + p_extra->nSize) <= (size - yuv_size) in handle_input_extradata()
692 && (filled_len + p_extra->nSize <= input_extradata_info.buffer_size) in handle_input_extradata()
693 && (p_extra->eType != (OMX_EXTRADATATYPE)MSM_VIDC_EXTRADATA_NONE)) { in handle_input_extradata()
695 DEBUG_PRINT_LOW("Extradata Type = 0x%x", (OMX_QCOM_EXTRADATATYPE)p_extra->eType); in handle_input_extradata()
696 switch ((OMX_QCOM_EXTRADATATYPE)p_extra->eType) { in handle_input_extradata()
706 framedimension_format = (OMX_QCOM_EXTRADATA_FRAMEDIMENSION *)p_extra->data; in handle_input_extradata()
729 qp_payload = (OMX_QCOM_EXTRADATA_QP *)p_extra->data; in handle_input_extradata()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp618 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in handle_input_extradata() local
661p_extra = (OMX_OTHER_EXTRADATATYPE *) ((unsigned long)(pVirt + ((width * height * 3) / 2) + 3)&(~3… in handle_input_extradata()
664 if (p_extra) { in handle_input_extradata()
666 && (p_extra->eType != (OMX_EXTRADATATYPE)MSM_VIDC_EXTRADATA_NONE)) { in handle_input_extradata()
667 DEBUG_PRINT_LOW("Extradata Type = 0x%x", (OMX_QCOM_EXTRADATATYPE)p_extra->eType); in handle_input_extradata()
668 switch ((OMX_QCOM_EXTRADATATYPE)p_extra->eType) { in handle_input_extradata()
678 framedimension_format = (OMX_QCOM_EXTRADATA_FRAMEDIMENSION *)p_extra->data; in handle_input_extradata()
700 qp_payload = (OMX_QCOM_EXTRADATA_QP *)p_extra->data; in handle_input_extradata()
714 consumed_len += p_extra->nSize; in handle_input_extradata()
715 p_extra = (OMX_OTHER_EXTRADATATYPE *)((char *)p_extra + p_extra->nSize); in handle_input_extradata()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp8172 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local
8173 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done()
8176 while (p_extra && (OMX_U8*)p_extra < (pBuffer + buffer->nAllocLen) ) { in fill_buffer_done()
8178 p_extra->nSize, p_extra->eType); in fill_buffer_done()
8179 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done()
8181 if (p_extra->eType == OMX_ExtraDataNone) { in fill_buffer_done()
8184 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done()
10475 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local
10506 p_extra = NULL; in handle_extradata()
10510 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata()
[all …]
Domx_vdec_hevc.cpp5967 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local
5968 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done()
5971 while (p_extra && in fill_buffer_done()
5972 (OMX_U8*)p_extra < (buffer->pBuffer + buffer->nAllocLen) ) { in fill_buffer_done()
5973 … DEBUG_PRINT_LOW("WRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done()
5974 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done()
5975 if (p_extra->eType == OMX_ExtraDataNone) { in fill_buffer_done()
5978 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done()
7556 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local
7569 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata()
[all …]
Domx_vdec_hevc_swvdec.cpp7316 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local
7317 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done()
7320 while(p_extra && in fill_buffer_done()
7321 (OMX_U8*)p_extra < (buffer->pBuffer + buffer->nAllocLen) ) in fill_buffer_done()
7323 … DEBUG_PRINT_LOW("WRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done()
7324 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done()
7325 if (p_extra->eType == OMX_ExtraDataNone) in fill_buffer_done()
7329 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done()
8849 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local
8862 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp8817 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local
8818 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done()
8821 while (p_extra && (OMX_U8*)p_extra < (pBuffer + buffer->nAllocLen) ) { in fill_buffer_done()
8823 p_extra->nSize, p_extra->eType); in fill_buffer_done()
8824 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done()
8826 if (p_extra->eType == OMX_ExtraDataNone) { in fill_buffer_done()
8829 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done()
11452 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL, *p_client_extra = NULL; in handle_extradata() local
11487 p_extra = NULL; in handle_extradata()
11497 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp857 OMX_OTHER_EXTRADATATYPE *p_extra = (OMX_OTHER_EXTRADATATYPE*)p_bufhdr->pBuffer; in venc_handle_client_input_extradata() local
858 while(p_extra->eType != OMX_ExtraDataNone) { in venc_handle_client_input_extradata()
859 switch((int)p_extra->eType) { in venc_handle_client_input_extradata()
862 …QTI_VIDEO_CONFIG_ROIINFO* roiInfo = reinterpret_cast<OMX_QTI_VIDEO_CONFIG_ROIINFO*>(p_extra->data); in venc_handle_client_input_extradata()
894 p_extra = (OMX_OTHER_EXTRADATATYPE *)((char *)p_extra + p_extra->nSize); in venc_handle_client_input_extradata()
1374 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in venc_extradata_log_buffers() local
1376 p_extra = (OMX_OTHER_EXTRADATATYPE *)(!p_extra ? buffer_addr : in venc_extradata_log_buffers()
1377 ((char *)p_extra) + p_extra->nSize); in venc_extradata_log_buffers()
1378 fwrite(p_extra, p_extra->nSize, 1, m_debug.extradatafile); in venc_extradata_log_buffers()
1379 } while (p_extra->eType != OMX_ExtraDataNone); in venc_extradata_log_buffers()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp8617 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local
8618 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done()
8621 while (p_extra && (OMX_U8*)p_extra < (pBuffer + buffer->nAllocLen) ) { in fill_buffer_done()
8623 p_extra->nSize, p_extra->eType); in fill_buffer_done()
8624 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done()
8626 if (p_extra->eType == OMX_ExtraDataNone) { in fill_buffer_done()
8629 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done()