Home
last modified time | relevance | path

Searched refs:portDefn (Results 1 – 17 of 17) sorted by relevance

/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp520 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; in set_parameter() local
521 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; in set_parameter()
523 (int)portDefn->format.video.nFrameHeight, in set_parameter()
524 (int)portDefn->format.video.nFrameWidth); in set_parameter()
526 if (PORT_INDEX_IN == portDefn->nPortIndex) { in set_parameter()
527 if (!dev_is_video_session_supported(portDefn->format.video.nFrameWidth, in set_parameter()
528 portDefn->format.video.nFrameHeight)) { in set_parameter()
533 … DEBUG_PRINT_LOW("i/p actual cnt requested = %u", (unsigned int)portDefn->nBufferCountActual); in set_parameter()
534 … DEBUG_PRINT_LOW("i/p min cnt requested = %u", (unsigned int)portDefn->nBufferCountMin); in set_parameter()
535 … DEBUG_PRINT_LOW("i/p buffersize requested = %u", (unsigned int)portDefn->nBufferSize); in set_parameter()
[all …]
Dvideo_encoder_device.cpp689 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; in venc_set_param() local
690 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; in venc_set_param()
693 if (portDefn->nPortIndex == PORT_INDEX_IN) { in venc_set_param()
695 if (!venc_set_encode_framerate(portDefn->format.video.xFramerate, 0)) { in venc_set_param()
699 if (!venc_set_color_format(portDefn->format.video.eColorFormat)) { in venc_set_param()
704 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight; in venc_set_param()
705 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth; in venc_set_param()
756 if ((portDefn->nBufferCountActual >= m_sInput_buff_property.mincount) && in venc_set_param()
757 (portDefn->nBufferCountActual <= m_sInput_buff_property.maxcount)) { in venc_set_param()
758 m_sInput_buff_property.actualcount = portDefn->nBufferCountActual; in venc_set_param()
[all …]
Dvideo_encoder_device_v4l2.cpp1185 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; in venc_set_param() local
1186 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; in venc_set_param()
1189 if (portDefn->nPortIndex == PORT_INDEX_IN) { in venc_set_param()
1190 if (!venc_set_encode_framerate(portDefn->format.video.xFramerate, 0)) { in venc_set_param()
1194 if (!venc_set_color_format(portDefn->format.video.eColorFormat)) { in venc_set_param()
1205 if (m_sVenc_cfg.input_height != portDefn->format.video.nFrameHeight || in venc_set_param()
1206 m_sVenc_cfg.input_width != portDefn->format.video.nFrameWidth) { in venc_set_param()
1208 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight; in venc_set_param()
1209 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth; in venc_set_param()
1222 bufreq.count = portDefn->nBufferCountActual; in venc_set_param()
[all …]
Domx_video_base.cpp1435 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; in get_parameter() local
1436 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; in get_parameter()
1439 if (portDefn->nPortIndex == (OMX_U32) PORT_INDEX_IN) { in get_parameter()
1447 memcpy(portDefn, &m_sInPortDef, sizeof(m_sInPortDef)); in get_parameter()
1450 portDefn->nBufferSize = sizeof(encoder_media_buffer_type); in get_parameter()
1453 portDefn->format.video.eColorFormat = in get_parameter()
1457 } else if (portDefn->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in get_parameter()
1465 memcpy(portDefn, &m_sOutPortDef, sizeof(m_sOutPortDef)); in get_parameter()
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Domx_video_encoder.cpp512 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; in set_parameter() local
513 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; in set_parameter()
515 (int)portDefn->format.video.nFrameHeight, in set_parameter()
516 (int)portDefn->format.video.nFrameWidth); in set_parameter()
518 if(PORT_INDEX_IN == portDefn->nPortIndex) in set_parameter()
520 DEBUG_PRINT_LOW("\n i/p actual cnt requested = %d\n", portDefn->nBufferCountActual); in set_parameter()
521 DEBUG_PRINT_LOW("\n i/p min cnt requested = %d\n", portDefn->nBufferCountMin); in set_parameter()
522 DEBUG_PRINT_LOW("\n i/p buffersize requested = %d\n", portDefn->nBufferSize); in set_parameter()
531 memcpy(&m_sInPortDef, portDefn,sizeof(OMX_PARAM_PORTDEFINITIONTYPE)); in set_parameter()
534 … if (portDefn->format.video.eColorFormat == (OMX_COLOR_FORMATTYPE)QOMX_COLOR_FormatAndroidOpaque) { in set_parameter()
[all …]
Dvideo_encoder_device_copper.cpp615 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; in venc_set_param() local
616 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; in venc_set_param()
618 if(portDefn->nPortIndex == PORT_INDEX_IN) in venc_set_param()
620 if(!venc_set_color_format(portDefn->format.video.eColorFormat)) in venc_set_param()
624 if(m_sVenc_cfg.input_height != portDefn->format.video.nFrameHeight || in venc_set_param()
625 m_sVenc_cfg.input_width != portDefn->format.video.nFrameWidth) in venc_set_param()
628 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight; in venc_set_param()
629 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth; in venc_set_param()
666 if((portDefn->nBufferCountActual >= m_sInput_buff_property.mincount) && in venc_set_param()
667 (portDefn->nBufferCountActual <= m_sInput_buff_property.maxcount)) in venc_set_param()
[all …]
Dvideo_encoder_device.cpp557 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; in venc_set_param() local
558 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; in venc_set_param()
560 if(portDefn->nPortIndex == PORT_INDEX_IN) in venc_set_param()
563 if(!venc_set_encode_framerate(portDefn->format.video.xFramerate, 0)) in venc_set_param()
568 if(!venc_set_color_format(portDefn->format.video.eColorFormat)) in venc_set_param()
574 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight; in venc_set_param()
575 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth; in venc_set_param()
617 if((portDefn->nBufferCountActual >= m_sInput_buff_property.mincount) && in venc_set_param()
618 (portDefn->nBufferCountActual <= m_sInput_buff_property.maxcount)) { in venc_set_param()
619 m_sInput_buff_property.actualcount = portDefn->nBufferCountActual; in venc_set_param()
[all …]
Domx_video_base.cpp1517 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; in get_parameter() local
1518 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; in get_parameter()
1521 if(portDefn->nPortIndex == (OMX_U32) PORT_INDEX_IN) in get_parameter()
1526 memcpy(portDefn, &m_sInPortDef, sizeof(m_sInPortDef)); in get_parameter()
1530 portDefn->nBufferSize = sizeof(encoder_media_buffer_type); in get_parameter()
1533 portDefn->format.video.eColorFormat = in get_parameter()
1537 portDefn->format.video.eColorFormat = in get_parameter()
1542 else if(portDefn->nPortIndex == (OMX_U32) PORT_INDEX_OUT) in get_parameter()
1551 memcpy(portDefn, &m_sOutPortDef, sizeof(m_sOutPortDef)); in get_parameter()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec.cpp2569 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = in get_parameter() local
2571 eRet = update_portdef(portDefn); in get_parameter()
2574 m_port_def = *portDefn; in get_parameter()
2582 "eColorFormat (0x%x)" , (int)portDefn->nPortIndex, in get_parameter()
2583 … (int)portDefn->format.video.nFrameWidth, (int)portDefn->format.video.nFrameHeight, in get_parameter()
2584 … (int)portDefn->format.video.nStride, (int)portDefn->format.video.nSliceHeight, in get_parameter()
2585 … (int)portDefn->format.video.nBitrate, (int)portDefn->format.video.xFramerate, in get_parameter()
2586 (int)portDefn->nBufferSize, (int)portDefn->nBufferCountMin, in get_parameter()
2587 (int)portDefn->nBufferCountActual, (int)portDefn->bBuffersContiguous, in get_parameter()
2588 … (int)portDefn->nBufferAlignment, (int)portDefn->bEnabled, (int)portDefn->bPopulated, in get_parameter()
[all …]
Domx_vdec_hevc.cpp2460 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = in get_parameter() local
2463 eRet = update_portdef(portDefn); in get_parameter()
2465 m_port_def = *portDefn; in get_parameter()
2743 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; in set_parameter() local
2744 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; in set_parameter()
2748 (int)portDefn->format.video.nFrameHeight, in set_parameter()
2749 (int)portDefn->format.video.nFrameWidth); in set_parameter()
2750 if (OMX_DirOutput == portDefn->eDir) { in set_parameter()
2752 m_display_id = portDefn->format.video.pNativeWindow; in set_parameter()
2758 if ( portDefn->nBufferCountActual >= drv_ctx.op_buf.mincount && in set_parameter()
[all …]
Domx_vdec_msm8974.cpp2787 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = in get_parameter() local
2790 eRet = update_portdef(portDefn); in get_parameter()
2792 m_port_def = *portDefn; in get_parameter()
3071 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; in set_parameter() local
3072 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; in set_parameter()
3076 (int)portDefn->format.video.nFrameHeight, in set_parameter()
3077 (int)portDefn->format.video.nFrameWidth); in set_parameter()
3078 if (OMX_DirOutput == portDefn->eDir) { in set_parameter()
3080 m_display_id = portDefn->format.video.pNativeWindow; in set_parameter()
3087 (unsigned int)portDefn->format.video.nFrameWidth, in set_parameter()
[all …]
Domx_vdec_hevc_swvdec.cpp3045 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = in get_parameter() local
3048 eRet = update_portdef(portDefn); in get_parameter()
3050 m_port_def = *portDefn; in get_parameter()
3364 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; in set_parameter() local
3365 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; in set_parameter()
3369 (int)portDefn->format.video.nFrameHeight, in set_parameter()
3370 (int)portDefn->format.video.nFrameWidth); in set_parameter()
3375 (portDefn->format.video.nFrameHeight > 720 || in set_parameter()
3376 portDefn->format.video.nFrameWidth > 1280)) in set_parameter()
3382 if(OMX_DirOutput == portDefn->eDir) in set_parameter()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp2562 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = in get_parameter() local
2565 eRet = update_portdef(portDefn); in get_parameter()
2567 m_port_def = *portDefn; in get_parameter()
2850 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; in set_parameter() local
2851 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; in set_parameter()
2855 (int)portDefn->format.video.nFrameHeight, in set_parameter()
2856 (int)portDefn->format.video.nFrameWidth); in set_parameter()
2857 if(OMX_DirOutput == portDefn->eDir) in set_parameter()
2860 m_display_id = portDefn->format.video.pNativeWindow; in set_parameter()
2861 if ( portDefn->nBufferCountActual >= drv_ctx.op_buf.mincount && in set_parameter()
[all …]
Domx_vdec.cpp2714 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = in get_parameter() local
2717 eRet = update_portdef(portDefn); in get_parameter()
2719 m_port_def = *portDefn; in get_parameter()
3036 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; in set_parameter() local
3037 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; in set_parameter()
3041 (int)portDefn->format.video.nFrameHeight, in set_parameter()
3042 (int)portDefn->format.video.nFrameWidth); in set_parameter()
3043 if(OMX_DirOutput == portDefn->eDir) in set_parameter()
3045 eRet = update_color_format(portDefn->format.video.eColorFormat); in set_parameter()
3048 portDefn->format.video.eColorFormat); in set_parameter()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
Domx_vdec.h609 OMX_ERRORTYPE update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn);
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec_hevc.h620 OMX_ERRORTYPE update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn);
Domx_vdec.h678 OMX_ERRORTYPE update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn);