/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
H A D | omx_video_encoder.cpp | 512 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 D | omx_video_base.cpp | 1525 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local 1526 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; 1529 if(portDefn->nPortIndex == (OMX_U32) PORT_INDEX_IN) 1534 memcpy(portDefn, &m_sInPortDef, sizeof(m_sInPortDef)); 1538 portDefn->nBufferSize = sizeof(encoder_media_buffer_type); 1541 portDefn->format.video.eColorFormat = 1545 portDefn->format.video.eColorFormat = 1550 else if(portDefn->nPortIndex == (OMX_U32) PORT_INDEX_OUT) 1559 memcpy(portDefn, &m_sOutPortDef, sizeof(m_sOutPortDef));
|
H A D | video_encoder_device.cpp | 557 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...] |
H A D | video_encoder_device_copper.cpp | 615 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...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_video_encoder.cpp | 592 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local 593 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; 595 (int)portDefn->format.video.nFrameHeight, 596 (int)portDefn->format.video.nFrameWidth); 598 if (PORT_INDEX_IN == portDefn->nPortIndex) { 599 if (!dev_is_video_session_supported(portDefn->format.video.nFrameWidth, 600 portDefn->format.video.nFrameHeight)) { 605 DEBUG_PRINT_LOW("i/p actual cnt requested = %u", (unsigned int)portDefn->nBufferCountActual); 606 DEBUG_PRINT_LOW("i/p min cnt requested = %u", (unsigned int)portDefn->nBufferCountMin); 607 DEBUG_PRINT_LOW("i/p buffersize requested = %u", (unsigned int)portDefn [all...] |
H A D | omx_video_base.cpp | 1450 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local 1451 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; 1454 if (portDefn->nPortIndex == (OMX_U32) PORT_INDEX_IN) { 1462 memcpy(portDefn, &m_sInPortDef, sizeof(m_sInPortDef)); 1465 portDefn->nBufferSize = sizeof(encoder_media_buffer_type); 1468 portDefn->format.video.eColorFormat = 1472 } else if (portDefn->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { 1482 memcpy(portDefn, &m_sOutPortDef, sizeof(m_sOutPortDef));
|
H A D | video_encoder_device.cpp | 689 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 D | video_encoder_device_v4l2.cpp | 1303 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local 1304 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; 1307 if (portDefn->nPortIndex == PORT_INDEX_IN) { 1308 if (!venc_set_encode_framerate(portDefn->format.video.xFramerate, 0)) { 1312 if (!venc_set_color_format(portDefn->format.video.eColorFormat)) { 1322 if (m_sVenc_cfg.input_height != portDefn->format.video.nFrameHeight || 1323 m_sVenc_cfg.input_width != portDefn->format.video.nFrameWidth) { 1325 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight; 1326 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth; 1341 bufreq.count = portDefn [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_swvenc_hevc.cpp | 399 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 D | omx_swvenc_mpeg4.cpp | 507 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 D | omx_video_encoder.cpp | 668 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local 669 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; 671 (int)portDefn->format.video.nFrameHeight, 672 (int)portDefn->format.video.nFrameWidth); 674 if (PORT_INDEX_IN == portDefn->nPortIndex) { 675 if (!dev_is_video_session_supported(portDefn->format.video.nFrameWidth, 676 portDefn->format.video.nFrameHeight)) { 681 DEBUG_PRINT_LOW("i/p actual cnt requested = %u", (unsigned int)portDefn->nBufferCountActual); 682 DEBUG_PRINT_LOW("i/p min cnt requested = %u", (unsigned int)portDefn->nBufferCountMin); 683 DEBUG_PRINT_LOW("i/p buffersize requested = %u", (unsigned int)portDefn [all...] |
H A D | video_encoder_device.cpp | 690 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 D | omx_video_base.cpp | 1526 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local 1527 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; 1530 if (portDefn->nPortIndex == (OMX_U32) PORT_INDEX_IN) { 1538 memcpy(portDefn, &m_sInPortDef, sizeof(m_sInPortDef)); 1541 portDefn->nBufferSize = sizeof(encoder_media_buffer_type); 1544 portDefn->format.video.eColorFormat = 1548 } else if (portDefn->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { 1558 memcpy(portDefn, &m_sOutPortDef, sizeof(m_sOutPortDef));
|
H A D | video_encoder_device_v4l2.cpp | 1621 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local 1622 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; 1625 if (portDefn->nPortIndex == PORT_INDEX_IN) { 1626 if (!venc_set_encode_framerate(portDefn->format.video.xFramerate, 0)) { 1630 if (!venc_set_color_format(portDefn->format.video.eColorFormat)) { 1640 if (m_sVenc_cfg.input_height != portDefn->format.video.nFrameHeight || 1641 m_sVenc_cfg.input_width != portDefn->format.video.nFrameWidth) { 1643 m_sVenc_cfg.input_height = portDefn->format.video.nFrameHeight; 1644 m_sVenc_cfg.input_width = portDefn->format.video.nFrameWidth; 1661 bufreq.count = portDefn [all...] |
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_swvenc_mpeg4.cpp | 505 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local 506 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; 508 (int)portDefn->format.video.nFrameHeight, 509 (int)portDefn->format.video.nFrameWidth); 511 if (PORT_INDEX_IN == portDefn->nPortIndex) 513 if (!dev_is_video_session_supported(portDefn->format.video.nFrameWidth, 514 portDefn->format.video.nFrameHeight)) 520 DEBUG_PRINT_LOW("i/p actual cnt requested = %u", portDefn->nBufferCountActual); 521 DEBUG_PRINT_LOW("i/p min cnt requested = %u", portDefn->nBufferCountMin); 522 DEBUG_PRINT_LOW("i/p buffersize requested = %u", portDefn [all...] |
H A D | omx_video_encoder.cpp | 708 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local 709 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; 711 (int)portDefn->format.video.nFrameHeight, 712 (int)portDefn->format.video.nFrameWidth); 714 if (PORT_INDEX_IN == portDefn->nPortIndex) { 715 if (!dev_is_video_session_supported(portDefn->format.video.nFrameWidth, 716 portDefn->format.video.nFrameHeight)) { 721 DEBUG_PRINT_LOW("i/p actual cnt requested = %u", (unsigned int)portDefn->nBufferCountActual); 722 DEBUG_PRINT_LOW("i/p min cnt requested = %u", (unsigned int)portDefn->nBufferCountMin); 723 DEBUG_PRINT_LOW("i/p buffersize requested = %u", (unsigned int)portDefn [all...] |
H A D | omx_video_base.cpp | 1541 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; local 1542 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; 1545 if (portDefn->nPortIndex == (OMX_U32) PORT_INDEX_IN) { 1553 memcpy(portDefn, &m_sInPortDef, sizeof(m_sInPortDef)); 1558 portDefn->nBufferSize = sizeof(LEGACY_CAM_METADATA_TYPE); 1561 portDefn->format.video.eColorFormat = 1565 } else if (portDefn->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { 1575 memcpy(portDefn, &m_sOutPortDef, sizeof(m_sOutPortDef)); 1578 portDefn->nBufferSize =
|
/hardware/qcom/media/msm8996/videopp/src/ |
H A D | omx_vdpp.cpp | 2676 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/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
H A D | omx_vdec.cpp | 2720 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 D | omx_vdec_copper.cpp | 2562 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/msm8974/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec.cpp | 2569 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 D | omx_vdec_hevc.cpp | 2458 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 D | omx_vdec_hevc_swvdec.cpp | 3045 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...] |
H A D | omx_vdec_msm8974.cpp | 2986 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); 3307 if (portDefn->nBufferCountActual > MAX_NUM_INPUT_OUTPUT_BUFFERS) { 3309 portDefn->nBufferCountActual); 3313 if (OMX_DirOutput == portDefn 8862 update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) argument 9898 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = NULL; local [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_hevc.cpp | 2437 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...] |