/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 217 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/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 344 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/ |
D | omx_swvenc_hevc.cpp | 500 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()
|
D | omx_swvenc_mpeg4.cpp | 688 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 …]
|
D | omx_video_encoder.cpp | 792 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/ |
D | omx_video_encoder.cpp | 597 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()
|
D | video_encoder_device.cpp | 674 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt; in venc_set_param() local 675 portFmt =(OMX_VIDEO_PARAM_PORTFORMATTYPE *)paramData; in venc_set_param() 678 if(portFmt->nPortIndex == (OMX_U32) PORT_INDEX_IN) in venc_set_param() 680 if(!venc_set_color_format(portFmt->eColorFormat)) in venc_set_param() 685 else if(portFmt->nPortIndex == (OMX_U32) PORT_INDEX_OUT) in venc_set_param() 687 if(!venc_set_encode_framerate(portFmt->xFramerate, 0)) in venc_set_param()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec.cpp | 2742 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 …]
|
D | omx_vdec_copper.cpp | 2584 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/ |
D | omx_vdec.cpp | 2606 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 …]
|
D | omx_vdec_hevc.cpp | 2480 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 …]
|
D | omx_vdec_msm8974.cpp | 3009 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 …]
|
D | omx_vdec_hevc_swvdec.cpp | 3067 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/ |
D | omx_swvenc_mpeg4.cpp | 686 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 …]
|
D | omx_video_encoder.cpp | 832 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/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 761 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local 764 portFmt->eColorFormat); in set_parameter() 768 if (PORT_INDEX_IN == portFmt->nPortIndex) in set_parameter() 770 if (portFmt->eColorFormat == in set_parameter() 782 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter() 783 if ((portFmt->eColorFormat == OMX_COLOR_FormatYUV420SemiPlanar) || in set_parameter() 784 (portFmt->eColorFormat == in set_parameter() 789 else if (portFmt->eColorFormat == in set_parameter() 798 portFmt->eColorFormat); in set_parameter() 817 if (portFmt->xFramerate != 0) in set_parameter() [all …]
|
D | omx_video_encoder.cpp | 687 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local 690 portFmt->eColorFormat); in set_parameter() 692 if (PORT_INDEX_IN == portFmt->nPortIndex) { in set_parameter() 698 portFmt->eColorFormat); in set_parameter() 702 if (portFmt->eColorFormat == in set_parameter() 711 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter() 712 m_sInPortDef.format.video.eColorFormat = portFmt->eColorFormat; in set_parameter() 716 m_sInPortFormat.xFramerate = portFmt->xFramerate; in set_parameter()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc.cpp | 2459 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 …]
|
D | omx_vdec_hevc_swvdec.cpp | 3099 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 …]
|
D | omx_vdec_v4l2.cpp | 3514 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() 3543 … portFmt->eColorFormat = getPreferredColorFormatDefaultMode(portFmt->nIndex); in get_parameter() [all …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 745 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local 748 portFmt->eColorFormat); in set_parameter() 752 if (PORT_INDEX_IN == portFmt->nPortIndex) in set_parameter() 754 if (portFmt->eColorFormat == in set_parameter() 766 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter() 767 if ((portFmt->eColorFormat == OMX_COLOR_FormatYUV420SemiPlanar) || in set_parameter() 768 (portFmt->eColorFormat == in set_parameter() 773 else if (portFmt->eColorFormat == in set_parameter() 782 portFmt->eColorFormat); in set_parameter() 801 if (portFmt->xFramerate != 0) in set_parameter() [all …]
|
D | omx_video_encoder.cpp | 831 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local 834 … dev_get_color_format_as_string(colorFormatStr, sizeof(colorFormatStr), portFmt->eColorFormat); in set_parameter() 836 portFmt->eColorFormat, colorFormatStr); in set_parameter() 838 if (PORT_INDEX_IN == portFmt->nPortIndex) { in set_parameter() 844 portFmt->eColorFormat, colorFormatStr); in set_parameter() 848 if (portFmt->eColorFormat == in set_parameter() 857 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter() 858 m_sInPortDef.format.video.eColorFormat = portFmt->eColorFormat; in set_parameter() 862 m_sInPortFormat.xFramerate = portFmt->xFramerate; in set_parameter()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_encoder.cpp | 716 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/ |
D | omx_vdpp.cpp | 2698 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() 2709 …portFmt->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 …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 3751 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local 3755 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter() 3756 portFmt->nSize = sizeof(OMX_VIDEO_PARAM_PORTFORMATTYPE); in get_parameter() 3758 if (0 == portFmt->nPortIndex) { in get_parameter() 3759 if (0 == portFmt->nIndex) { in get_parameter() 3760 portFmt->eColorFormat = OMX_COLOR_FormatUnused; in get_parameter() 3761 portFmt->eCompressionFormat = eCompressionFormat; in get_parameter() 3767 } else if (1 == portFmt->nPortIndex) { in get_parameter() 3768 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter() 3780 … portFmt->eColorFormat = getPreferredColorFormatDefaultMode(portFmt->nIndex); in get_parameter() [all …]
|