Home
last modified time | relevance | path

Searched refs:portFmt (Results 1 – 25 of 41) sorted by relevance

12

/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp217 OMX_PARAM_PORTDEFINITIONTYPE portFmt; variable
639 if (free_op_buf_cnt == portFmt.nBufferCountActual) in fbd_thread()
1735 portFmt.format.video.eCompressionFormat = OMX_VIDEO_CodingAVC; in Init_Decoder()
1739 portFmt.format.video.eCompressionFormat = OMX_VIDEO_CodingMPEG4; in Init_Decoder()
1743 portFmt.format.video.eCompressionFormat = OMX_VIDEO_CodingH263; in Init_Decoder()
1747 portFmt.format.video.eCompressionFormat = OMX_VIDEO_CodingWMV; in Init_Decoder()
1751 portFmt.format.video.eCompressionFormat = in Init_Decoder()
1756 portFmt.format.video.eCompressionFormat = OMX_VIDEO_CodingMPEG2; in Init_Decoder()
1857 CONFIG_VERSION_SIZE(portFmt); in Play_Decoder()
1860 portFmt.nPortIndex = portParam.nStartPortNumber; in Play_Decoder()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2_params.cpp126 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local
130 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter()
131 portFmt->nSize = sizeof(OMX_VIDEO_PARAM_PORTFORMATTYPE); in get_parameter()
133 if (0 == portFmt->nPortIndex) { in get_parameter()
134 if (0 == portFmt->nIndex) { in get_parameter()
135 portFmt->eColorFormat = OMX_COLOR_FormatUnused; in get_parameter()
136 portFmt->eCompressionFormat = eCompressionFormat; in get_parameter()
142 } else if (1 == portFmt->nPortIndex) { in get_parameter()
143 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter()
154 portFmt->eColorFormat = useNonSurfaceMode ? in get_parameter()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp344 OMX_PARAM_PORTDEFINITIONTYPE portFmt; variable
772 if (free_op_buf_cnt == portFmt.nBufferCountActual) in fbd_thread()
852 … unsigned int stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, portFmt.format.video.nFrameWidth); in fbd_thread()
853 … unsigned int scanlines = VENUS_Y_SCANLINES(COLOR_FMT_NV12, portFmt.format.video.nFrameHeight); in fbd_thread()
859 portFmt.format.video.nFrameWidth, in fbd_thread()
860 portFmt.format.video.nFrameHeight): in fbd_thread()
1942 portFmt.format.video.eCompressionFormat = OMX_VIDEO_CodingAVC; in Init_Decoder()
1944 portFmt.format.video.eCompressionFormat = (OMX_VIDEO_CODINGTYPE)QOMX_VIDEO_CodingMVC; in Init_Decoder()
1946 portFmt.format.video.eCompressionFormat = OMX_VIDEO_CodingMPEG4; in Init_Decoder()
1948 portFmt.format.video.eCompressionFormat = OMX_VIDEO_CodingH263; in Init_Decoder()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_hevc.cpp500 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local
503 portFmt->eColorFormat); in set_parameter()
505 if (PORT_INDEX_IN == portFmt->nPortIndex) { in set_parameter()
508 portFmt->eColorFormat); in set_parameter()
511 prop.uProperty.nFrameRate = portFmt->xFramerate; in set_parameter()
518 if (portFmt->eColorFormat == in set_parameter()
534 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter()
538 m_sInPortFormat.xFramerate = portFmt->xFramerate; in set_parameter()
Domx_swvenc_mpeg4.cpp688 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local
691 portFmt->eColorFormat); in set_parameter()
695 if (PORT_INDEX_IN == portFmt->nPortIndex) in set_parameter()
697 if (portFmt->eColorFormat == in set_parameter()
718 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter()
719 if ((portFmt->eColorFormat == OMX_COLOR_FormatYUV420SemiPlanar) || in set_parameter()
720 (portFmt->eColorFormat == in set_parameter()
725 else if (portFmt->eColorFormat == in set_parameter()
734 portFmt->eColorFormat); in set_parameter()
741 portFmt->eColorFormat); in set_parameter()
[all …]
Domx_video_encoder.cpp792 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local
795 portFmt->eColorFormat); in set_parameter()
797 if (PORT_INDEX_IN == portFmt->nPortIndex) { in set_parameter()
803 portFmt->eColorFormat); in set_parameter()
807 if (portFmt->eColorFormat == in set_parameter()
823 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter()
824 m_sInPortDef.format.video.eColorFormat = portFmt->eColorFormat; in set_parameter()
828 m_sInPortFormat.xFramerate = portFmt->xFramerate; in set_parameter()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Domx_video_encoder.cpp597 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local
600 portFmt->eColorFormat); in set_parameter()
602 if(PORT_INDEX_IN == portFmt->nPortIndex) in set_parameter()
610 portFmt->eColorFormat); in set_parameter()
614 if (portFmt->eColorFormat == in set_parameter()
634 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter()
638 m_sInPortFormat.xFramerate = portFmt->xFramerate; in set_parameter()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec.cpp2742 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local
2746 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter()
2747 portFmt->nSize = sizeof(portFmt); in get_parameter()
2749 if (0 == portFmt->nPortIndex) in get_parameter()
2751 if (0 == portFmt->nIndex) in get_parameter()
2753 portFmt->eColorFormat = OMX_COLOR_FormatUnused; in get_parameter()
2754 portFmt->eCompressionFormat = eCompressionFormat; in get_parameter()
2763 else if (1 == portFmt->nPortIndex) in get_parameter()
2765 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter()
2767 if (0 == portFmt->nIndex) in get_parameter()
[all …]
Domx_vdec_copper.cpp2584 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local
2588 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter()
2589 portFmt->nSize = sizeof(portFmt); in get_parameter()
2591 if (0 == portFmt->nPortIndex) in get_parameter()
2593 if (0 == portFmt->nIndex) in get_parameter()
2595 portFmt->eColorFormat = OMX_COLOR_FormatUnused; in get_parameter()
2596 portFmt->eCompressionFormat = eCompressionFormat; in get_parameter()
2605 else if (1 == portFmt->nPortIndex) in get_parameter()
2607 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter()
2609 if(0 == portFmt->nIndex) in get_parameter()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec.cpp2606 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local
2608 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter()
2609 portFmt->nSize = sizeof(portFmt); in get_parameter()
2611 if (0 == portFmt->nPortIndex) { in get_parameter()
2612 if (0 == portFmt->nIndex) { in get_parameter()
2613 portFmt->eColorFormat = OMX_COLOR_FormatUnused; in get_parameter()
2614 portFmt->eCompressionFormat = eCompressionFormat; in get_parameter()
2620 } else if (1 == portFmt->nPortIndex) { in get_parameter()
2621 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter()
2623 if (0 == portFmt->nIndex) in get_parameter()
[all …]
Domx_vdec_hevc.cpp2480 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local
2484 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter()
2485 portFmt->nSize = sizeof(portFmt); in get_parameter()
2487 if (0 == portFmt->nPortIndex) { in get_parameter()
2488 if (0 == portFmt->nIndex) { in get_parameter()
2489 portFmt->eColorFormat = OMX_COLOR_FormatUnused; in get_parameter()
2490 portFmt->eCompressionFormat = eCompressionFormat; in get_parameter()
2496 } else if (1 == portFmt->nPortIndex) { in get_parameter()
2497 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter()
2499 if (0 == portFmt->nIndex) in get_parameter()
[all …]
Domx_vdec_msm8974.cpp3009 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local
3013 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter()
3014 portFmt->nSize = sizeof(OMX_VIDEO_PARAM_PORTFORMATTYPE); in get_parameter()
3016 if (0 == portFmt->nPortIndex) { in get_parameter()
3017 if (0 == portFmt->nIndex) { in get_parameter()
3018 portFmt->eColorFormat = OMX_COLOR_FormatUnused; in get_parameter()
3019 portFmt->eCompressionFormat = eCompressionFormat; in get_parameter()
3025 } else if (1 == portFmt->nPortIndex) { in get_parameter()
3026 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter()
3037 portFmt->eColorFormat = useNonSurfaceMode ? in get_parameter()
[all …]
Domx_vdec_hevc_swvdec.cpp3067 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local
3071 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter()
3072 portFmt->nSize = sizeof(portFmt); in get_parameter()
3074 if (0 == portFmt->nPortIndex) in get_parameter()
3076 if (0 == portFmt->nIndex) in get_parameter()
3078 portFmt->eColorFormat = OMX_COLOR_FormatUnused; in get_parameter()
3079 portFmt->eCompressionFormat = eCompressionFormat; in get_parameter()
3088 else if (1 == portFmt->nPortIndex) in get_parameter()
3090 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter()
3092 if(0 == portFmt->nIndex) in get_parameter()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp686 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local
689 portFmt->eColorFormat); in set_parameter()
693 if (PORT_INDEX_IN == portFmt->nPortIndex) in set_parameter()
695 if (portFmt->eColorFormat == in set_parameter()
716 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter()
717 if ((portFmt->eColorFormat == OMX_COLOR_FormatYUV420SemiPlanar) || in set_parameter()
718 (portFmt->eColorFormat == in set_parameter()
723 else if (portFmt->eColorFormat == in set_parameter()
732 portFmt->eColorFormat); in set_parameter()
751 if (portFmt->xFramerate != 0) in set_parameter()
[all …]
Domx_video_encoder.cpp832 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local
835 portFmt->eColorFormat); in set_parameter()
837 if (PORT_INDEX_IN == portFmt->nPortIndex) { in set_parameter()
843 portFmt->eColorFormat); in set_parameter()
847 if (portFmt->eColorFormat == in set_parameter()
863 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter()
864 m_sInPortDef.format.video.eColorFormat = portFmt->eColorFormat; in set_parameter()
868 m_sInPortFormat.xFramerate = portFmt->xFramerate; in set_parameter()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp2459 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local
2463 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter()
2464 portFmt->nSize = sizeof(portFmt); in get_parameter()
2466 if (0 == portFmt->nPortIndex) { in get_parameter()
2467 if (0 == portFmt->nIndex) { in get_parameter()
2468 portFmt->eColorFormat = OMX_COLOR_FormatUnused; in get_parameter()
2469 portFmt->eCompressionFormat = eCompressionFormat; in get_parameter()
2475 } else if (1 == portFmt->nPortIndex) { in get_parameter()
2476 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter()
2478 if (0 == portFmt->nIndex) in get_parameter()
[all …]
Domx_vdec_hevc_swvdec.cpp3099 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local
3103 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter()
3104 portFmt->nSize = sizeof(portFmt); in get_parameter()
3106 if (0 == portFmt->nPortIndex) in get_parameter()
3108 if (0 == portFmt->nIndex) in get_parameter()
3110 portFmt->eColorFormat = OMX_COLOR_FormatUnused; in get_parameter()
3111 portFmt->eCompressionFormat = eCompressionFormat; in get_parameter()
3120 else if (1 == portFmt->nPortIndex) in get_parameter()
3122 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter()
3124 if(0 == portFmt->nIndex) in get_parameter()
[all …]
Domx_vdec_v4l2.cpp3514 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local
3518 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter()
3519 portFmt->nSize = sizeof(OMX_VIDEO_PARAM_PORTFORMATTYPE); in get_parameter()
3521 if (0 == portFmt->nPortIndex) { in get_parameter()
3522 if (0 == portFmt->nIndex) { in get_parameter()
3523 portFmt->eColorFormat = OMX_COLOR_FormatUnused; in get_parameter()
3524 portFmt->eCompressionFormat = eCompressionFormat; in get_parameter()
3530 } else if (1 == portFmt->nPortIndex) { in get_parameter()
3531 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter()
3543portFmt->eColorFormat = getPreferredColorFormatDefaultMode(portFmt->nIndex); in get_parameter()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp753 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local
756 portFmt->eColorFormat); in set_parameter()
760 if (PORT_INDEX_IN == portFmt->nPortIndex) in set_parameter()
762 if (portFmt->eColorFormat == in set_parameter()
774 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter()
775 if ((portFmt->eColorFormat == OMX_COLOR_FormatYUV420SemiPlanar) || in set_parameter()
776 (portFmt->eColorFormat == in set_parameter()
781 else if (portFmt->eColorFormat == in set_parameter()
790 portFmt->eColorFormat); in set_parameter()
809 if (portFmt->xFramerate != 0) in set_parameter()
[all …]
Domx_video_encoder.cpp892 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local
895 … dev_get_color_format_as_string(colorFormatStr, sizeof(colorFormatStr), portFmt->eColorFormat); in set_parameter()
897 portFmt->eColorFormat, colorFormatStr); in set_parameter()
899 if (PORT_INDEX_IN == portFmt->nPortIndex) { in set_parameter()
905 portFmt->eColorFormat, colorFormatStr); in set_parameter()
909 if (portFmt->eColorFormat == in set_parameter()
918 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter()
919 m_sInPortDef.format.video.eColorFormat = portFmt->eColorFormat; in set_parameter()
923 m_sInPortFormat.xFramerate = portFmt->xFramerate; in set_parameter()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp765 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local
768 portFmt->eColorFormat); in set_parameter()
772 if (PORT_INDEX_IN == portFmt->nPortIndex) in set_parameter()
774 if (portFmt->eColorFormat == in set_parameter()
786 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter()
787 if ((portFmt->eColorFormat == OMX_COLOR_FormatYUV420SemiPlanar) || in set_parameter()
788 (portFmt->eColorFormat == in set_parameter()
793 else if (portFmt->eColorFormat == in set_parameter()
802 portFmt->eColorFormat); in set_parameter()
821 if (portFmt->xFramerate != 0) in set_parameter()
[all …]
Domx_video_encoder.cpp825 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local
828 … dev_get_color_format_as_string(colorFormatStr, sizeof(colorFormatStr), portFmt->eColorFormat); in set_parameter()
830 portFmt->eColorFormat, colorFormatStr); in set_parameter()
832 if (PORT_INDEX_IN == portFmt->nPortIndex) { in set_parameter()
838 portFmt->eColorFormat, colorFormatStr); in set_parameter()
842 if (portFmt->eColorFormat == in set_parameter()
851 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter()
852 m_sInPortDef.format.video.eColorFormat = portFmt->eColorFormat; in set_parameter()
856 m_sInPortFormat.xFramerate = portFmt->xFramerate; in set_parameter()
Dvideo_encoder_device_v4l2_params.cpp716 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt; in venc_set_param() local
717 portFmt =(OMX_VIDEO_PARAM_PORTFORMATTYPE *)paramData; in venc_set_param()
720 if (portFmt->nPortIndex == (OMX_U32) PORT_INDEX_IN) { in venc_set_param()
721 if (!venc_set_color_format(portFmt->eColorFormat)) { in venc_set_param()
724 } else if (portFmt->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param()
725 if (!venc_set_encode_framerate(portFmt->xFramerate)) { in venc_set_param()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp716 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local
719 portFmt->eColorFormat); in set_parameter()
721 if (PORT_INDEX_IN == portFmt->nPortIndex) { in set_parameter()
727 portFmt->eColorFormat); in set_parameter()
731 if (portFmt->eColorFormat == in set_parameter()
747 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter()
748 m_sInPortDef.format.video.eColorFormat = portFmt->eColorFormat; in set_parameter()
752 m_sInPortFormat.xFramerate = portFmt->xFramerate; in set_parameter()
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp2698 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local
2702 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter()
2703 portFmt->nSize = sizeof(portFmt); in get_parameter()
2705 if (OMX_CORE_INPUT_PORT_INDEX == portFmt->nPortIndex) in get_parameter()
2707 if (0 == portFmt->nIndex) in get_parameter()
2709portFmt->eColorFormat = (OMX_COLOR_FORMATTYPE)QOMX_COLOR_FORMATYUV420PackedSemiPlanar32m;//OMX_CO… in get_parameter()
2710 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter()
2719 else if (OMX_CORE_OUTPUT_PORT_INDEX == portFmt->nPortIndex) in get_parameter()
2721 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter()
2723 if(0 == portFmt->nIndex) in get_parameter()
[all …]

12