Lines Matching refs:p_extra
613 OMX_OTHER_EXTRADATATYPE *p_extra = NULL;
656 p_extra = (OMX_OTHER_EXTRADATATYPE *) ((unsigned long)(pVirt + ((width * height * 3) / 2) + 3)&(~3));
659 if (p_extra) {
661 && (p_extra->eType != (OMX_EXTRADATATYPE)MSM_VIDC_EXTRADATA_NONE)) {
662 DEBUG_PRINT_LOW("Extradata Type = 0x%x", (OMX_QCOM_EXTRADATATYPE)p_extra->eType);
663 switch ((OMX_QCOM_EXTRADATATYPE)p_extra->eType) {
673 framedimension_format = (OMX_QCOM_EXTRADATA_FRAMEDIMENSION *)p_extra->data;
695 qp_payload = (OMX_QCOM_EXTRADATA_QP *)p_extra->data;
709 consumed_len += p_extra->nSize;
710 p_extra = (OMX_OTHER_EXTRADATATYPE *)((char *)p_extra + p_extra->nSize);
747 OMX_OTHER_EXTRADATATYPE *p_extra = NULL;
750 p_extra = (OMX_OTHER_EXTRADATATYPE *)ALIGN(p_bufhdr->pBuffer +
756 p_extra = NULL;
772 OMX_U32 payloadSize = append_mbi_extradata(&p_extra->data, p_extradata);
773 p_extra->nSize = ALIGN(sizeof(OMX_OTHER_EXTRADATATYPE) + payloadSize, 4);
774 p_extra->nVersion.nVersion = OMX_SPEC_VERSION;
775 p_extra->nPortIndex = OMX_DirOutput;
776 p_extra->eType = (OMX_EXTRADATATYPE)OMX_ExtraDataVideoEncoderMBInfo;
777 p_extra->nDataSize = payloadSize;
782 *p_extra->data = *p_extradata->data;
783 p_extra->nSize = ALIGN(sizeof(OMX_OTHER_EXTRADATATYPE) + p_extradata->data_size, 4);
784 p_extra->nVersion.nVersion = OMX_SPEC_VERSION;
785 p_extra->nPortIndex = OMX_DirOutput;
786 p_extra->eType = (OMX_EXTRADATATYPE) OMX_ExtraDataVideoLTRInfo;
787 p_extra->nDataSize = p_extradata->data_size;
791 p_extra->nSize = ALIGN(sizeof(OMX_OTHER_EXTRADATATYPE), 4);
792 p_extra->nVersion.nVersion = OMX_SPEC_VERSION;
793 p_extra->nPortIndex = OMX_DirOutput;
794 p_extra->eType = OMX_ExtraDataNone;
795 p_extra->nDataSize = 0;
804 p_extra = (OMX_OTHER_EXTRADATATYPE *)(((char *)p_extra) + p_extra->nSize);
808 p_extra = (OMX_OTHER_EXTRADATATYPE *)ALIGN(p_bufhdr->pBuffer +
810 while(p_extra->eType != OMX_ExtraDataNone)
813 p_bufhdr->pBuffer, (unsigned int)p_bufhdr->nFilledLen, p_extra->eType,
814 (unsigned int)p_extra->nSize, (unsigned int)p_extra->nDataSize, p_extra);
816 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) +
817 p_extra->nSize);
929 OMX_OTHER_EXTRADATATYPE *p_extra = NULL;
931 p_extra = (OMX_OTHER_EXTRADATATYPE *)(!p_extra ? buffer_addr :
932 ((char *)p_extra) + p_extra->nSize);
933 fwrite(p_extra, p_extra->nSize, 1, m_debug.extradatafile);
934 } while (p_extra->eType != OMX_ExtraDataNone);