Searched refs:portDefn (Results 1 - 25 of 35) sorted by relevance

12

/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
H A Domx_swvenc_hevc.cpp399 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
400 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
402 (int)portDefn->format.video.nFrameHeight,
403 (int)portDefn->format.video.nFrameWidth);
407 prop.uProperty.sDimensions.nWidth = portDefn->format.video.nFrameWidth;
408 prop.uProperty.sDimensions.nHeight= portDefn->format.video.nFrameHeight;
412 portDefn->format.video.nFrameWidth, portDefn->format.video.nFrameHeight);
416 if (PORT_INDEX_IN == portDefn->nPortIndex) {
417 if (!dev_is_video_session_supported(portDefn
[all...]
H A Domx_swvenc_mpeg4.cpp507 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
508 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
510 (int)portDefn->format.video.nFrameHeight,
511 (int)portDefn->format.video.nFrameWidth);
513 if (PORT_INDEX_IN == portDefn->nPortIndex)
515 if (!dev_is_video_session_supported(portDefn->format.video.nFrameWidth,
516 portDefn->format.video.nFrameHeight))
522 DEBUG_PRINT_LOW("i/p actual cnt requested = %u", portDefn->nBufferCountActual);
523 DEBUG_PRINT_LOW("i/p min cnt requested = %u", portDefn->nBufferCountMin);
524 DEBUG_PRINT_LOW("i/p buffersize requested = %u", portDefn
[all...]
H A Domx_video_encoder.cpp646 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
647 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
649 (int)portDefn->format.video.nFrameHeight,
650 (int)portDefn->format.video.nFrameWidth);
652 if (PORT_INDEX_IN == portDefn->nPortIndex) {
653 if (!dev_is_video_session_supported(portDefn->format.video.nFrameWidth,
654 portDefn->format.video.nFrameHeight)) {
659 DEBUG_PRINT_LOW("i/p actual cnt requested = %u", (unsigned int)portDefn->nBufferCountActual);
660 DEBUG_PRINT_LOW("i/p min cnt requested = %u", (unsigned int)portDefn->nBufferCountMin);
661 DEBUG_PRINT_LOW("i/p buffersize requested = %u", (unsigned int)portDefn
[all...]
H A Dvideo_encoder_device.cpp690 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
691 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
694 if (portDefn->nPortIndex == PORT_INDEX_IN) {
696 if (!venc_set_encode_framerate(portDefn->format.video.xFramerate, 0)) {
700 if (!venc_set_color_format(portDefn->format.video.eColorFormat)) {
705 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight;
706 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth;
757 if ((portDefn->nBufferCountActual >= m_sInput_buff_property.mincount) &&
758 (portDefn->nBufferCountActual <= m_sInput_buff_property.maxcount)) {
759 m_sInput_buff_property.actualcount = portDefn
[all...]
H A Dvideo_encoder_device_v4l2.cpp1587 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
1588 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
1591 if (portDefn->nPortIndex == PORT_INDEX_IN) {
1592 if (!venc_set_encode_framerate(portDefn->format.video.xFramerate, 0)) {
1596 if (!venc_set_color_format(portDefn->format.video.eColorFormat)) {
1606 if (m_sVenc_cfg.input_height != portDefn->format.video.nFrameHeight ||
1607 m_sVenc_cfg.input_width != portDefn->format.video.nFrameWidth) {
1609 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight;
1610 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth;
1626 bufreq.count = portDefn
[all...]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
H A Domx_video_encoder.cpp585 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
586 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
588 (int)portDefn->format.video.nFrameHeight,
589 (int)portDefn->format.video.nFrameWidth);
591 if (PORT_INDEX_IN == portDefn->nPortIndex) {
592 if (!dev_is_video_session_supported(portDefn->format.video.nFrameWidth,
593 portDefn->format.video.nFrameHeight)) {
598 DEBUG_PRINT_LOW("i/p actual cnt requested = %u", (unsigned int)portDefn->nBufferCountActual);
599 DEBUG_PRINT_LOW("i/p min cnt requested = %u", (unsigned int)portDefn->nBufferCountMin);
600 DEBUG_PRINT_LOW("i/p buffersize requested = %u", (unsigned int)portDefn
[all...]
H A Dvideo_encoder_device.cpp689 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
690 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
693 if (portDefn->nPortIndex == PORT_INDEX_IN) {
695 if (!venc_set_encode_framerate(portDefn->format.video.xFramerate, 0)) {
699 if (!venc_set_color_format(portDefn->format.video.eColorFormat)) {
704 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight;
705 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth;
756 if ((portDefn->nBufferCountActual >= m_sInput_buff_property.mincount) &&
757 (portDefn->nBufferCountActual <= m_sInput_buff_property.maxcount)) {
758 m_sInput_buff_property.actualcount = portDefn
[all...]
H A Dvideo_encoder_device_v4l2.cpp1302 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
1303 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
1306 if (portDefn->nPortIndex == PORT_INDEX_IN) {
1307 if (!venc_set_encode_framerate(portDefn->format.video.xFramerate, 0)) {
1311 if (!venc_set_color_format(portDefn->format.video.eColorFormat)) {
1321 if (m_sVenc_cfg.input_height != portDefn->format.video.nFrameHeight ||
1322 m_sVenc_cfg.input_width != portDefn->format.video.nFrameWidth) {
1324 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight;
1325 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth;
1340 bufreq.count = portDefn
[all...]
/hardware/qcom/audio/msm8909/mm-audio/aenc-amrnb/qdsp6/src/
H A Domx_amr_aenc.cpp2449 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
2450 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
2453 "portDefn->nPortIndex = %u\n",
2454 portDefn->nPortIndex);
2456 portDefn->nVersion.nVersion = OMX_SPEC_VERSION;
2457 portDefn->nSize = (OMX_U32)sizeof(portDefn);
2458 portDefn->eDomain = OMX_PortDomainAudio;
2460 if (0 == portDefn->nPortIndex)
2462 portDefn
2736 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
[all...]
/hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/src/
H A Domx_evrc_aenc.cpp2451 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
2452 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
2455 "portDefn->nPortIndex = %u\n",
2456 portDefn->nPortIndex);
2458 portDefn->nVersion.nVersion = OMX_SPEC_VERSION;
2459 portDefn->nSize = (OMX_U32)sizeof(portDefn);
2460 portDefn->eDomain = OMX_PortDomainAudio;
2462 if (0 == portDefn->nPortIndex)
2464 portDefn
2738 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
[all...]
/hardware/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/src/
H A Domx_qcelp13_aenc.cpp2447 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
2448 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
2451 "portDefn->nPortIndex = %u\n",
2452 portDefn->nPortIndex);
2454 portDefn->nVersion.nVersion = OMX_SPEC_VERSION;
2455 portDefn->nSize = (OMX_U32)sizeof(portDefn);
2456 portDefn->eDomain = OMX_PortDomainAudio;
2458 if (0 == portDefn->nPortIndex)
2460 portDefn
2735 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
[all...]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec.cpp2569 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = local
2571 eRet = update_portdef(portDefn);
2574 m_port_def = *portDefn;
2582 "eColorFormat (0x%x)" , (int)portDefn->nPortIndex,
2583 (int)portDefn->format.video.nFrameWidth, (int)portDefn->format.video.nFrameHeight,
2584 (int)portDefn->format.video.nStride, (int)portDefn->format.video.nSliceHeight,
2585 (int)portDefn->format.video.nBitrate, (int)portDefn
2907 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
7618 update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) argument
8725 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = NULL; local
[all...]
H A Domx_vdec_hevc.cpp2458 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = local
2461 eRet = update_portdef(portDefn);
2463 m_port_def = *portDefn;
2741 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
2742 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
2746 (int)portDefn->format.video.nFrameHeight,
2747 (int)portDefn->format.video.nFrameWidth);
2748 if (OMX_DirOutput == portDefn->eDir) {
2750 m_display_id = portDefn->format.video.pNativeWindow;
2756 if ( portDefn
7287 update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) argument
7944 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = NULL; local
[all...]
H A Domx_vdec_msm8974.cpp2986 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = local
2989 eRet = update_portdef(portDefn);
2991 m_port_def = *portDefn;
3299 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
3300 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
3304 (int)portDefn->format.video.nFrameHeight,
3305 (int)portDefn->format.video.nFrameWidth);
3306 if (OMX_DirOutput == portDefn->eDir) {
3309 m_display_id = portDefn->format.video.pNativeWindow;
3316 (unsigned int)portDefn
8790 update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) argument
9826 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = NULL; local
[all...]
H A Domx_vdec_hevc_swvdec.cpp3045 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = local
3048 eRet = update_portdef(portDefn);
3050 m_port_def = *portDefn;
3364 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
3365 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
3369 (int)portDefn->format.video.nFrameHeight,
3370 (int)portDefn->format.video.nFrameWidth);
3375 (portDefn->format.video.nFrameHeight > 720 ||
3376 portDefn->format.video.nFrameWidth > 1280))
3382 if(OMX_DirOutput == portDefn
8289 update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) argument
9009 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = NULL; local
[all...]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
H A Domx_video_encoder.cpp512 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
513 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
515 (int)portDefn->format.video.nFrameHeight,
516 (int)portDefn->format.video.nFrameWidth);
518 if(PORT_INDEX_IN == portDefn->nPortIndex)
520 DEBUG_PRINT_LOW("\n i/p actual cnt requested = %d\n", portDefn->nBufferCountActual);
521 DEBUG_PRINT_LOW("\n i/p min cnt requested = %d\n", portDefn->nBufferCountMin);
522 DEBUG_PRINT_LOW("\n i/p buffersize requested = %d\n", portDefn->nBufferSize);
531 memcpy(&m_sInPortDef, portDefn,sizeof(OMX_PARAM_PORTDEFINITIONTYPE));
534 if (portDefn
[all...]
H A Dvideo_encoder_device_copper.cpp615 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
616 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
618 if(portDefn->nPortIndex == PORT_INDEX_IN)
620 if(!venc_set_color_format(portDefn->format.video.eColorFormat))
624 if(m_sVenc_cfg.input_height != portDefn->format.video.nFrameHeight ||
625 m_sVenc_cfg.input_width != portDefn->format.video.nFrameWidth)
628 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight;
629 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth;
666 if((portDefn->nBufferCountActual >= m_sInput_buff_property.mincount) &&
667 (portDefn
[all...]
H A Dvideo_encoder_device.cpp557 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
558 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
560 if(portDefn->nPortIndex == PORT_INDEX_IN)
563 if(!venc_set_encode_framerate(portDefn->format.video.xFramerate, 0))
568 if(!venc_set_color_format(portDefn->format.video.eColorFormat))
574 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight;
575 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth;
617 if((portDefn->nBufferCountActual >= m_sInput_buff_property.mincount) &&
618 (portDefn->nBufferCountActual <= m_sInput_buff_property.maxcount)) {
619 m_sInput_buff_property.actualcount = portDefn
[all...]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
H A Domx_vdec.cpp2720 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = local
2723 eRet = update_portdef(portDefn);
2725 m_port_def = *portDefn;
3042 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
3043 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
3047 (int)portDefn->format.video.nFrameHeight,
3048 (int)portDefn->format.video.nFrameWidth);
3049 if(OMX_DirOutput == portDefn->eDir)
3051 eRet = update_color_format(portDefn->format.video.eColorFormat);
3054 portDefn
7932 update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) argument
8713 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = NULL; local
[all...]
H A Domx_vdec_copper.cpp2562 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = local
2565 eRet = update_portdef(portDefn);
2567 m_port_def = *portDefn;
2850 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
2851 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
2855 (int)portDefn->format.video.nFrameHeight,
2856 (int)portDefn->format.video.nFrameWidth);
2857 if(OMX_DirOutput == portDefn->eDir)
2860 m_display_id = portDefn->format.video.pNativeWindow;
2861 if ( portDefn
7421 update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) argument
8150 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = NULL; local
[all...]
/hardware/qcom/media/msm8996/videopp/src/
H A Domx_vdpp.cpp2676 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = local
2679 eRet = update_portdef(portDefn);
2681 m_port_def = *portDefn;
2952 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
2953 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
2956 (int)portDefn->format.video.nFrameHeight,
2957 (int)portDefn->format.video.nFrameWidth);
2959 if(OMX_CORE_OUTPUT_PORT_INDEX == portDefn->nPortIndex)
2970 portDefn->format.video.nFrameWidth,
2971 portDefn
7109 update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) argument
[all...]
/hardware/qcom/audio/msm8909/mm-audio/aenc-aac/qdsp6/src/
H A Domx_aac_aenc.cpp2535 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
2536 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
2539 "portDefn->nPortIndex = %u\n",
2540 portDefn->nPortIndex);
2542 portDefn->nVersion.nVersion = OMX_SPEC_VERSION;
2543 portDefn->nSize = (OMX_U32)sizeof(portDefn);
2544 portDefn->eDomain = OMX_PortDomainAudio;
2546 if (0 == portDefn->nPortIndex)
2548 portDefn
2834 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
[all...]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_v4l2.cpp3439 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = local
3443 eRet = update_portdef(portDefn);
3445 m_port_def = *portDefn;
3870 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
3871 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
3875 (int)portDefn->format.video.nFrameHeight,
3876 (int)portDefn->format.video.nFrameWidth);
3878 if (portDefn->nBufferCountActual >= MAX_NUM_INPUT_OUTPUT_BUFFERS) {
3880 portDefn->nBufferCountActual);
3884 if (OMX_DirOutput == portDefn
9568 update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) argument
10628 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = NULL; local
[all...]
H A Domx_vdec_hevc.cpp2437 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = local
2440 eRet = update_portdef(portDefn);
2442 m_port_def = *portDefn;
2720 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
2721 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
2725 (int)portDefn->format.video.nFrameHeight,
2726 (int)portDefn->format.video.nFrameWidth);
2727 if (OMX_DirOutput == portDefn->eDir) {
2729 m_display_id = portDefn->format.video.pNativeWindow;
2735 if ( portDefn
7251 update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) argument
7908 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = NULL; local
[all...]
H A Domx_vdec_hevc_swvdec.cpp3077 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = local
3080 eRet = update_portdef(portDefn);
3082 m_port_def = *portDefn;
3413 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
3414 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
3418 (int)portDefn->format.video.nFrameHeight,
3419 (int)portDefn->format.video.nFrameWidth);
3424 (portDefn->format.video.nFrameHeight > 720 ||
3425 portDefn->format.video.nFrameWidth > 1280))
3431 if(OMX_DirOutput == portDefn
8504 update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) argument
9229 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = NULL; local
[all...]

Completed in 761 milliseconds

12