/hardware/qcom/media/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/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/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_copper.cpp | 748 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt; in venc_set_param() local 749 portFmt =(OMX_VIDEO_PARAM_PORTFORMATTYPE *)paramData; in venc_set_param() 752 if(portFmt->nPortIndex == (OMX_U32) PORT_INDEX_IN) in venc_set_param() 754 if(!venc_set_color_format(portFmt->eColorFormat)) in venc_set_param() 759 else if(portFmt->nPortIndex == (OMX_U32) PORT_INDEX_OUT) in venc_set_param() 761 if(!venc_set_encode_framerate(portFmt->xFramerate, 0)) in venc_set_param()
|
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()
|
D | omx_video_base.cpp | 1571 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local 1575 if(portFmt->nPortIndex == (OMX_U32) PORT_INDEX_IN) in get_parameter() 1577 int index = portFmt->nIndex; in get_parameter() 1582 memcpy(portFmt, &m_sInPortFormat, sizeof(m_sInPortFormat)); in get_parameter() 1589 portFmt->nIndex = index; //restore index set from client in get_parameter() 1590 portFmt->eColorFormat = in get_parameter() 1596 else if(portFmt->nPortIndex == (OMX_U32) PORT_INDEX_OUT) in get_parameter() 1598 memcpy(portFmt, &m_sOutPortFormat, sizeof(m_sOutPortFormat)); in get_parameter()
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec.cpp | 2736 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local 2740 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter() 2741 portFmt->nSize = sizeof(portFmt); in get_parameter() 2743 if (0 == portFmt->nPortIndex) in get_parameter() 2745 if (0 == portFmt->nIndex) in get_parameter() 2747 portFmt->eColorFormat = OMX_COLOR_FormatUnused; in get_parameter() 2748 portFmt->eCompressionFormat = eCompressionFormat; in get_parameter() 2757 else if (1 == portFmt->nPortIndex) in get_parameter() 2759 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter() 2761 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/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 | 2482 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local 2486 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter() 2487 portFmt->nSize = sizeof(portFmt); in get_parameter() 2489 if (0 == portFmt->nPortIndex) { in get_parameter() 2490 if (0 == portFmt->nIndex) { in get_parameter() 2491 portFmt->eColorFormat = OMX_COLOR_FormatUnused; in get_parameter() 2492 portFmt->eCompressionFormat = eCompressionFormat; in get_parameter() 2498 } else if (1 == portFmt->nPortIndex) { in get_parameter() 2499 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter() 2501 if (0 == portFmt->nIndex) in get_parameter() [all …]
|
D | omx_vdec_msm8974.cpp | 2807 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local 2811 portFmt->nVersion.nVersion = OMX_SPEC_VERSION; in get_parameter() 2812 portFmt->nSize = sizeof(portFmt); in get_parameter() 2814 if (0 == portFmt->nPortIndex) { in get_parameter() 2815 if (0 == portFmt->nIndex) { in get_parameter() 2816 portFmt->eColorFormat = OMX_COLOR_FormatUnused; in get_parameter() 2817 portFmt->eCompressionFormat = eCompressionFormat; in get_parameter() 2823 } else if (1 == portFmt->nPortIndex) { in get_parameter() 2824 portFmt->eCompressionFormat = OMX_VIDEO_CodingUnused; in get_parameter() 2825 portFmt->eColorFormat = getColorFormatAt(portFmt->nIndex); 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/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_encoder.cpp | 618 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in set_parameter() local 621 portFmt->eColorFormat); in set_parameter() 623 if (PORT_INDEX_IN == portFmt->nPortIndex) { in set_parameter() 629 portFmt->eColorFormat); in set_parameter() 633 if (portFmt->eColorFormat == in set_parameter() 649 m_sInPortFormat.eColorFormat = portFmt->eColorFormat; in set_parameter() 650 m_sInPortDef.format.video.eColorFormat = portFmt->eColorFormat; in set_parameter() 654 m_sInPortFormat.xFramerate = portFmt->xFramerate; in set_parameter()
|
D | video_encoder_device.cpp | 810 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt; in venc_set_param() local 811 portFmt =(OMX_VIDEO_PARAM_PORTFORMATTYPE *)paramData; in venc_set_param() 814 if (portFmt->nPortIndex == (OMX_U32) PORT_INDEX_IN) { in venc_set_param() 815 if (!venc_set_color_format(portFmt->eColorFormat)) { in venc_set_param() 818 } else if (portFmt->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param() 819 if (!venc_set_encode_framerate(portFmt->xFramerate, 0)) { in venc_set_param()
|
D | omx_video_base.cpp | 1483 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt = in get_parameter() local 1487 if (portFmt->nPortIndex == (OMX_U32) PORT_INDEX_IN) { in get_parameter() 1488 unsigned index = portFmt->nIndex; in get_parameter() 1503 memcpy(portFmt, &m_sInPortFormat, sizeof(m_sInPortFormat)); in get_parameter() 1504 portFmt->nIndex = index; //restore index set from client in get_parameter() 1505 portFmt->eColorFormat = (OMX_COLOR_FORMATTYPE)supportedFormats[index]; in get_parameter() 1507 } else if (portFmt->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in get_parameter() 1508 memcpy(portFmt, &m_sOutPortFormat, sizeof(m_sOutPortFormat)); in get_parameter()
|
D | video_encoder_device_v4l2.cpp | 1288 OMX_VIDEO_PARAM_PORTFORMATTYPE *portFmt; in venc_set_param() local 1289 portFmt =(OMX_VIDEO_PARAM_PORTFORMATTYPE *)paramData; in venc_set_param() 1292 if (portFmt->nPortIndex == (OMX_U32) PORT_INDEX_IN) { in venc_set_param() 1293 if (!venc_set_color_format(portFmt->eColorFormat)) { in venc_set_param() 1296 } else if (portFmt->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param() 1297 if (!venc_set_encode_framerate(portFmt->xFramerate, 0)) { in venc_set_param()
|