Searched defs:portDefn (Results 1 - 13 of 13) sorted by relevance

/hardware/qcom/media/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 Domx_video_base.cpp1517 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
1518 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
1521 if(portDefn->nPortIndex == (OMX_U32) PORT_INDEX_IN)
1526 memcpy(portDefn, &m_sInPortDef, sizeof(m_sInPortDef));
1530 portDefn->nBufferSize = sizeof(encoder_media_buffer_type);
1533 portDefn->format.video.eColorFormat =
1537 portDefn->format.video.eColorFormat =
1542 else if(portDefn->nPortIndex == (OMX_U32) PORT_INDEX_OUT)
1551 memcpy(portDefn, &m_sOutPortDef, sizeof(m_sOutPortDef));
H A Dvideo_encoder_device.cpp559 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
560 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
562 if(portDefn->nPortIndex == PORT_INDEX_IN)
565 if(!venc_set_encode_framerate(portDefn->format.video.xFramerate, 0))
570 if(!venc_set_color_format(portDefn->format.video.eColorFormat))
576 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight;
577 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth;
619 if((portDefn->nBufferCountActual >= m_sInput_buff_property.mincount) &&
620 (portDefn->nBufferCountActual <= m_sInput_buff_property.maxcount)) {
621 m_sInput_buff_property.actualcount = portDefn
[all...]
H A Dvideo_encoder_device_copper.cpp617 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
618 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
620 if(portDefn->nPortIndex == PORT_INDEX_IN)
622 if(!venc_set_color_format(portDefn->format.video.eColorFormat))
626 if(m_sVenc_cfg.input_height != portDefn->format.video.nFrameHeight ||
627 m_sVenc_cfg.input_width != portDefn->format.video.nFrameWidth)
630 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight;
631 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth;
668 if((portDefn->nBufferCountActual >= m_sInput_buff_property.mincount) &&
669 (portDefn
[all...]
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
H A Domx_video_encoder.cpp489 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
490 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
492 (int)portDefn->format.video.nFrameHeight,
493 (int)portDefn->format.video.nFrameWidth);
495 if (PORT_INDEX_IN == portDefn->nPortIndex) {
496 if (!dev_is_video_session_supported(portDefn->format.video.nFrameWidth,
497 portDefn->format.video.nFrameHeight)) {
502 DEBUG_PRINT_LOW("\n i/p actual cnt requested = %d\n", portDefn->nBufferCountActual);
503 DEBUG_PRINT_LOW("\n i/p min cnt requested = %d\n", portDefn->nBufferCountMin);
504 DEBUG_PRINT_LOW("\n i/p buffersize requested = %d\n", portDefn
[all...]
H A Domx_video_base.cpp1407 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
1408 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
1411 if (portDefn->nPortIndex == (OMX_U32) PORT_INDEX_IN) {
1415 memcpy(portDefn, &m_sInPortDef, sizeof(m_sInPortDef));
1418 portDefn->nBufferSize = sizeof(encoder_media_buffer_type);
1421 portDefn->format.video.eColorFormat =
1425 } else if (portDefn->nPortIndex == (OMX_U32) PORT_INDEX_OUT) {
1433 memcpy(portDefn, &m_sOutPortDef, sizeof(m_sOutPortDef));
H A Dvideo_encoder_device.cpp585 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
586 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
589 if (portDefn->nPortIndex == PORT_INDEX_IN) {
591 if (!venc_set_encode_framerate(portDefn->format.video.xFramerate, 0)) {
595 if (!venc_set_color_format(portDefn->format.video.eColorFormat)) {
600 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight;
601 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth;
652 if ((portDefn->nBufferCountActual >= m_sInput_buff_property.mincount) &&
653 (portDefn->nBufferCountActual <= m_sInput_buff_property.maxcount)) {
654 m_sInput_buff_property.actualcount = portDefn
[all...]
H A Dvideo_encoder_device_v4l2.cpp925 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
926 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
929 if (portDefn->nPortIndex == PORT_INDEX_IN) {
930 if (!venc_set_encode_framerate(portDefn->format.video.xFramerate, 0)) {
934 if (!venc_set_color_format(portDefn->format.video.eColorFormat)) {
938 if (m_sVenc_cfg.input_height != portDefn->format.video.nFrameHeight ||
939 m_sVenc_cfg.input_width != portDefn->format.video.nFrameWidth) {
941 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight;
942 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth;
955 bufreq.count = portDefn
[all...]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
H A Domx_vdec.cpp2701 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = local
2704 eRet = update_portdef(portDefn);
2706 m_port_def = *portDefn;
3020 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
3021 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
3025 (int)portDefn->format.video.nFrameHeight,
3026 (int)portDefn->format.video.nFrameWidth);
3027 if(OMX_DirOutput == portDefn->eDir)
3029 eRet = update_color_format(portDefn->format.video.eColorFormat);
3032 portDefn
7899 update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) argument
8679 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/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.cpp2443 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = local
2446 eRet = update_portdef(portDefn);
2448 m_port_def = *portDefn;
2726 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
2727 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
2731 (int)portDefn->format.video.nFrameHeight,
2732 (int)portDefn->format.video.nFrameWidth);
2733 if (OMX_DirOutput == portDefn->eDir) {
2735 m_display_id = portDefn->format.video.pNativeWindow;
2741 if ( portDefn
7263 update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) argument
7920 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = NULL; local
[all...]
H A Domx_vdec_msm8974.cpp2597 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = local
2600 eRet = update_portdef(portDefn);
2602 m_port_def = *portDefn;
2861 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local
2862 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData;
2866 (int)portDefn->format.video.nFrameHeight,
2867 (int)portDefn->format.video.nFrameWidth);
2868 if (OMX_DirOutput == portDefn->eDir) {
2870 m_display_id = portDefn->format.video.pNativeWindow;
2876 if ( portDefn
7634 update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) argument
8356 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = NULL; local
[all...]

Completed in 260 milliseconds