Home
last modified time | relevance | path

Searched refs:pParam (Results 1 – 25 of 48) sorted by relevance

12

/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp516 QOMX_EXTNINDEX_VIDEO_PERFMODE pParam; in component_init() local
517 pParam.nPerfMode = perfmode; in component_init()
518 DEBUG_PRINT_LOW("Perfmode = 0x%x", pParam.nPerfMode); in component_init()
519 if (!handle->venc_set_config(&pParam, (OMX_INDEXTYPE)OMX_QcomIndexConfigVideoVencPerfMode)) in component_init()
520 DEBUG_PRINT_ERROR("Failed setting PerfMode to %d", pParam.nPerfMode); in component_init()
760 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
768 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
773 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
774 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
776 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
[all …]
Dvideo_encoder_device.cpp830 OMX_VIDEO_PARAM_BITRATETYPE* pParam; in venc_set_param() local
831 pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in venc_set_param()
834 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param()
835 if (!venc_set_target_bitrate(pParam->nTargetBitrate, 0)) { in venc_set_param()
840 if (!venc_set_ratectrl_cfg(pParam->eControlRate)) { in venc_set_param()
852 OMX_VIDEO_PARAM_MPEG4TYPE* pParam; in venc_set_param() local
855 pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in venc_set_param()
858 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param()
859 if (!venc_set_voptiming_cfg(pParam->nTimeIncRes)) { in venc_set_param()
867 if (!venc_set_profile_level (pParam->eProfile, pParam->eLevel)) { in venc_set_param()
[all …]
Domx_video_base.cpp1537 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in get_parameter() local
1540 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in get_parameter()
1541 memcpy(pParam, &m_sParamBitrate, sizeof(m_sParamBitrate)); in get_parameter()
1552 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in get_parameter() local
1554 memcpy(pParam, &m_sParamMPEG4, sizeof(m_sParamMPEG4)); in get_parameter()
1560 OMX_VIDEO_PARAM_H263TYPE* pParam = (OMX_VIDEO_PARAM_H263TYPE*)paramData; in get_parameter() local
1562 memcpy(pParam, &m_sParamH263, sizeof(m_sParamH263)); in get_parameter()
1568 OMX_VIDEO_PARAM_AVCTYPE* pParam = (OMX_VIDEO_PARAM_AVCTYPE*)paramData; in get_parameter() local
1570 memcpy(pParam, &m_sParamAVC, sizeof(m_sParamAVC)); in get_parameter()
1576 OMX_VIDEO_PARAM_VP8TYPE* pParam = (OMX_VIDEO_PARAM_VP8TYPE*)paramData; in get_parameter() local
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Domx_video_encoder.cpp645 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
652 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
658 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
659 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
661 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
662 m_sInPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
663 m_sOutPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
669 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in set_parameter() local
671 memcpy(&mp4_param, pParam, sizeof(struct OMX_VIDEO_PARAM_MPEG4TYPE)); in set_parameter()
673 if(pParam->eProfile == OMX_VIDEO_MPEG4ProfileAdvancedSimple) in set_parameter()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp598 QOMX_EXTNINDEX_VIDEO_PERFMODE pParam; in component_init() local
599 pParam.nPerfMode = perfmode; in component_init()
600 DEBUG_PRINT_LOW("Perfmode = 0x%x", pParam.nPerfMode); in component_init()
601 if (!handle->venc_set_config(&pParam, (OMX_INDEXTYPE)OMX_QcomIndexConfigVideoVencPerfMode)) in component_init()
602 DEBUG_PRINT_ERROR("Failed setting PerfMode to %d", pParam.nPerfMode); in component_init()
836 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
844 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
849 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
850 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
852 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
[all …]
Domx_swvenc_hevc.cpp545 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
552 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
556 prop.uProperty.nFrameRate = pParam->nTargetBitrate; in set_parameter()
560 prop.uProperty.nRcOn = pParam->eControlRate; in set_parameter()
564 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
565 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
567 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
568 m_sInPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
569 m_sOutPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
580 OMX_VIDEO_PARAM_HEVCTYPE* pParam = (OMX_VIDEO_PARAM_HEVCTYPE*)paramData; in set_parameter() local
[all …]
Domx_swvenc_mpeg4.cpp772 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
779 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
788 Ret = swvenc_set_bit_rate(pParam->nTargetBitrate); in set_parameter()
797 Ret = swvenc_set_rc_mode(pParam->eControlRate); in set_parameter()
805 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
806 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
807 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
808 m_sInPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
809 m_sOutPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
816 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in set_parameter() local
[all …]
Domx_video_base.cpp1631 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in get_parameter() local
1634 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in get_parameter()
1635 memcpy(pParam, &m_sParamBitrate, sizeof(m_sParamBitrate)); in get_parameter()
1646 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in get_parameter() local
1648 memcpy(pParam, &m_sParamMPEG4, sizeof(m_sParamMPEG4)); in get_parameter()
1654 OMX_VIDEO_PARAM_H263TYPE* pParam = (OMX_VIDEO_PARAM_H263TYPE*)paramData; in get_parameter() local
1656 memcpy(pParam, &m_sParamH263, sizeof(m_sParamH263)); in get_parameter()
1662 OMX_VIDEO_PARAM_AVCTYPE* pParam = (OMX_VIDEO_PARAM_AVCTYPE*)paramData; in get_parameter() local
1664 memcpy(pParam, &m_sParamAVC, sizeof(m_sParamAVC)); in get_parameter()
1670 OMX_VIDEO_PARAM_VP8TYPE* pParam = (OMX_VIDEO_PARAM_VP8TYPE*)paramData; in get_parameter() local
[all …]
Dvideo_encoder_device.cpp831 OMX_VIDEO_PARAM_BITRATETYPE* pParam; in venc_set_param() local
832 pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in venc_set_param()
835 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param()
836 if (!venc_set_target_bitrate(pParam->nTargetBitrate, 0)) { in venc_set_param()
841 if (!venc_set_ratectrl_cfg(pParam->eControlRate)) { in venc_set_param()
853 OMX_VIDEO_PARAM_MPEG4TYPE* pParam; in venc_set_param() local
856 pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in venc_set_param()
859 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param()
860 if (!venc_set_voptiming_cfg(pParam->nTimeIncRes)) { in venc_set_param()
868 if (!venc_set_profile_level (pParam->eProfile, pParam->eLevel)) { in venc_set_param()
[all …]
/hardware/st/nfc/st21nfc/adaptation/
Dconfig.cpp76 void add(const CNfcParam* pParam);
186 CNfcParam* pParam = NULL; in readConfig() local
311 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
313 pParam = new CNfcParam(token.c_str(), numValue); in readConfig()
314 add(pParam); in readConfig()
323 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
324 add(pParam); in readConfig()
417 const CNfcParam* pParam = find(name); in getValue() local
418 if (pParam == NULL || pValue == NULL) return false; in getValue()
420 if (pParam->str_len() > 0) { in getValue()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp931 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
939 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
944 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
945 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
947 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
948 m_sInPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
949 m_sOutPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
961 OMX_VIDEO_PARAM_AVCTYPE* pParam = (OMX_VIDEO_PARAM_AVCTYPE*)paramData; in set_parameter() local
963 memcpy(&avc_param, pParam, sizeof( struct OMX_VIDEO_PARAM_AVCTYPE)); in set_parameter()
969 if ((pParam->eProfile == OMX_VIDEO_AVCProfileHigh)|| in set_parameter()
[all …]
Domx_swvenc_mpeg4.cpp826 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
833 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
842 Ret = swvenc_set_bit_rate(pParam->nTargetBitrate); in set_parameter()
851 Ret = swvenc_set_rc_mode(pParam->eControlRate); in set_parameter()
859 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
860 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
861 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
862 m_sInPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
863 m_sOutPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
870 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in set_parameter() local
[all …]
Domx_video_base.cpp1678 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in get_parameter() local
1681 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in get_parameter()
1682 memcpy(pParam, &m_sParamBitrate, sizeof(m_sParamBitrate)); in get_parameter()
1693 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in get_parameter() local
1695 memcpy(pParam, &m_sParamMPEG4, sizeof(m_sParamMPEG4)); in get_parameter()
1701 OMX_VIDEO_PARAM_H263TYPE* pParam = (OMX_VIDEO_PARAM_H263TYPE*)paramData; in get_parameter() local
1703 memcpy(pParam, &m_sParamH263, sizeof(m_sParamH263)); in get_parameter()
1709 OMX_VIDEO_PARAM_AVCTYPE* pParam = (OMX_VIDEO_PARAM_AVCTYPE*)paramData; in get_parameter() local
1711 memcpy(pParam, &m_sParamAVC, sizeof(m_sParamAVC)); in get_parameter()
1717 OMX_VIDEO_PARAM_VP8TYPE* pParam = (OMX_VIDEO_PARAM_VP8TYPE*)paramData; in get_parameter() local
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp628 QOMX_EXTNINDEX_VIDEO_PERFMODE pParam; in component_init() local
629 pParam.nPerfMode = perfmode; in component_init()
630 DEBUG_PRINT_LOW("Perfmode = 0x%x", pParam.nPerfMode); in component_init()
631 if (!handle->venc_set_config(&pParam, (OMX_INDEXTYPE)OMX_QcomIndexConfigVideoVencPerfMode)) in component_init()
632 DEBUG_PRINT_ERROR("Failed setting PerfMode to %d", pParam.nPerfMode); in component_init()
876 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
884 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
889 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
890 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
892 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
[all …]
Domx_swvenc_mpeg4.cpp768 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
775 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
784 Ret = swvenc_set_bit_rate(pParam->nTargetBitrate); in set_parameter()
793 Ret = swvenc_set_rc_mode(pParam->eControlRate); in set_parameter()
801 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
802 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
803 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
804 m_sInPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
805 m_sOutPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
812 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in set_parameter() local
[all …]
Domx_video_base.cpp1654 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in get_parameter() local
1657 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in get_parameter()
1658 memcpy(pParam, &m_sParamBitrate, sizeof(m_sParamBitrate)); in get_parameter()
1669 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in get_parameter() local
1671 memcpy(pParam, &m_sParamMPEG4, sizeof(m_sParamMPEG4)); in get_parameter()
1677 OMX_VIDEO_PARAM_H263TYPE* pParam = (OMX_VIDEO_PARAM_H263TYPE*)paramData; in get_parameter() local
1679 memcpy(pParam, &m_sParamH263, sizeof(m_sParamH263)); in get_parameter()
1685 OMX_VIDEO_PARAM_AVCTYPE* pParam = (OMX_VIDEO_PARAM_AVCTYPE*)paramData; in get_parameter() local
1687 memcpy(pParam, &m_sParamAVC, sizeof(m_sParamAVC)); in get_parameter()
1693 OMX_VIDEO_PARAM_VP8TYPE* pParam = (OMX_VIDEO_PARAM_VP8TYPE*)paramData; in get_parameter() local
[all …]
/hardware/samsung/nfc/halimpl/src/
Dconfig.cpp163 void add(const CNfcParam* pParam);
287 CNfcParam* pParam = NULL; in readConfig() local
404 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
406 pParam = new CNfcParam(token.c_str(), numValue); in readConfig()
407 add(pParam); in readConfig()
416 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
417 add(pParam); in readConfig()
496 const CNfcParam* pParam = find(name); in getValue() local
497 if (pParam == NULL) return false; in getValue()
499 if (pParam->str_len() > 0) { in getValue()
[all …]
/hardware/st/nfc/1.0/adaptation/
Dconfig.cpp74 void add(const CNfcParam* pParam);
184 CNfcParam* pParam = NULL; in readConfig() local
297 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
299 pParam = new CNfcParam(token.c_str(), numValue); in readConfig()
300 add(pParam); in readConfig()
309 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
310 add(pParam); in readConfig()
390 const CNfcParam* pParam = find(name); in getValue() local
391 if (pParam == NULL || pValue== NULL) return false; in getValue()
393 if (pParam->str_len() > 0) { in getValue()
[all …]
/hardware/nxp/nfc/pn8x/halimpl/utils/
DphNxpConfig.cpp143 void add(const CNfcParam* pParam);
266 CNfcParam* pParam = NULL; in readConfig() local
383 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
385 pParam = new CNfcParam(token.c_str(), numValue); in readConfig()
386 add(pParam); in readConfig()
395 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
396 add(pParam); in readConfig()
490 const CNfcParam* pParam = find(name); in getValue() local
491 if (pParam == NULL) return false; in getValue()
493 if (pParam->str_len() > 0) { in getValue()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp864 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
872 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
877 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
878 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
880 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
881 m_sInPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
882 m_sOutPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
894 OMX_VIDEO_PARAM_AVCTYPE* pParam = (OMX_VIDEO_PARAM_AVCTYPE*)paramData; in set_parameter() local
896 memcpy(&avc_param, pParam, sizeof( struct OMX_VIDEO_PARAM_AVCTYPE)); in set_parameter()
902 memcpy(&m_sParamAVC,pParam, sizeof(struct OMX_VIDEO_PARAM_AVCTYPE)); in set_parameter()
[all …]
Dvideo_encoder_device_v4l2_params.cpp200 … OMX_QCOM_VIDEO_CONFIG_LTRUSE_TYPE* pParam = (OMX_QCOM_VIDEO_CONFIG_LTRUSE_TYPE*)configData; in venc_set_config() local
202 if (!venc_config_useLTR(pParam)) in venc_set_config()
227 … OMX_QCOM_VIDEO_CONFIG_LTRMARK_TYPE* pParam = (OMX_QCOM_VIDEO_CONFIG_LTRMARK_TYPE*)configData; in venc_set_config() local
229 if (!venc_config_markLTR(pParam)) in venc_set_config()
236 OMX_VIDEO_CONFIG_ANDROID_TEMPORALLAYERINGTYPE *pParam = in venc_set_config() local
240 if (pParam->nPLayerCountActual < OMX_VIDEO_ANDROID_MAXTEMPORALLAYERS) { in venc_set_config()
241 temporal_layers_config.nPLayers = pParam->nPLayerCountActual; in venc_set_config()
246 temporal_layers_config.ePattern = pParam->ePattern; in venc_set_config()
252 … temporal_layers_config.nTemporalLayerBitrateRatio[i] = pParam->nBitrateRatios[i]; in venc_set_config()
267 OMX_SKYPE_VIDEO_CONFIG_BASELAYERPID* pParam = in venc_set_config() local
[all …]
Domx_swvenc_mpeg4.cpp838 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local
845 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local
849 Ret = swvenc_set_bit_rate(pParam->nTargetBitrate); in set_parameter()
858 Ret = swvenc_set_rc_mode(pParam->eControlRate); in set_parameter()
866 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter()
867 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter()
868 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter()
869 m_sInPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
870 m_sOutPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter()
877 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in set_parameter() local
[all …]
Domx_video_base.cpp1624 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in get_parameter() local
1627 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in get_parameter()
1628 memcpy(pParam, &m_sParamBitrate, sizeof(m_sParamBitrate)); in get_parameter()
1639 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in get_parameter() local
1641 memcpy(pParam, &m_sParamMPEG4, sizeof(m_sParamMPEG4)); in get_parameter()
1647 OMX_VIDEO_PARAM_H263TYPE* pParam = (OMX_VIDEO_PARAM_H263TYPE*)paramData; in get_parameter() local
1649 memcpy(pParam, &m_sParamH263, sizeof(m_sParamH263)); in get_parameter()
1655 OMX_VIDEO_PARAM_AVCTYPE* pParam = (OMX_VIDEO_PARAM_AVCTYPE*)paramData; in get_parameter() local
1657 memcpy(pParam, &m_sParamAVC, sizeof(m_sParamAVC)); in get_parameter()
1663 OMX_VIDEO_PARAM_VP8TYPE* pParam = (OMX_VIDEO_PARAM_VP8TYPE*)paramData; in get_parameter() local
[all …]
/hardware/nxp/nfc/snxxx/halimpl/utils/
DphNxpConfig.cc164 void add(const CNfcParam* pParam);
292 CNfcParam* pParam = NULL; in readConfig() local
417 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
419 pParam = new CNfcParam(token.c_str(), numValue); in readConfig()
420 add(pParam); in readConfig()
429 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
430 add(pParam); in readConfig()
532 const CNfcParam* pParam = find(name); in getValue() local
533 if (pParam == NULL) return false; in getValue()
535 if (pParam->str_len() > 0) { in getValue()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2_params.cpp303 … OMX_VIDEO_PARAM_PROFILELEVELTYPE* pParam = (OMX_VIDEO_PARAM_PROFILELEVELTYPE*)paramData; in get_parameter() local
320 pParam->eProfile = OMX_VIDEO_AVCProfileBaseline; in get_parameter()
323 pParam->eProfile = OMX_VIDEO_AVCProfileConstrainedBaseline; in get_parameter()
326 pParam->eProfile = OMX_VIDEO_AVCProfileConstrainedHigh; in get_parameter()
329 pParam->eProfile = OMX_VIDEO_AVCProfileMain; in get_parameter()
332 pParam->eProfile = OMX_VIDEO_AVCProfileExtended; in get_parameter()
335 pParam->eProfile = OMX_VIDEO_AVCProfileHigh; in get_parameter()
338 pParam->eProfile = OMX_VIDEO_AVCProfileHigh10; in get_parameter()
341 pParam->eProfile = OMX_VIDEO_AVCProfileHigh422; in get_parameter()
364 pParam->eLevel = OMX_VIDEO_AVCLevel1; in get_parameter()
[all …]

12