/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_encoder.cpp | 516 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 …]
|
D | video_encoder_device.cpp | 830 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 …]
|
D | video_encoder_device_v4l2.cpp | 1433 OMX_VIDEO_PARAM_BITRATETYPE* pParam; in venc_set_param() local 1434 pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in venc_set_param() 1437 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param() 1438 if (!venc_set_target_bitrate(pParam->nTargetBitrate, 0)) { in venc_set_param() 1443 if (!venc_set_ratectrl_cfg(pParam->eControlRate)) { in venc_set_param() 1455 OMX_VIDEO_PARAM_MPEG4TYPE* pParam; in venc_set_param() local 1458 pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in venc_set_param() 1461 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param() 1462 if (!venc_set_voptiming_cfg(pParam->nTimeIncRes)) { in venc_set_param() 1470 if (!venc_set_profile_level (pParam->eProfile, pParam->eLevel)) { in venc_set_param() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | omx_video_encoder.cpp | 645 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 …]
|
D | video_encoder_device.cpp | 700 OMX_VIDEO_PARAM_BITRATETYPE* pParam; in venc_set_param() local 701 pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in venc_set_param() 704 if(pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) in venc_set_param() 706 if(!venc_set_target_bitrate(pParam->nTargetBitrate, 0)) in venc_set_param() 711 if(!venc_set_ratectrl_cfg(pParam->eControlRate)) in venc_set_param() 725 OMX_VIDEO_PARAM_MPEG4TYPE* pParam; in venc_set_param() local 728 pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in venc_set_param() 730 if(pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) in venc_set_param() 732 if(!venc_set_voptiming_cfg(pParam->nTimeIncRes)) in venc_set_param() 739 if(!venc_set_profile_level (pParam->eProfile, pParam->eLevel)) in venc_set_param() [all …]
|
D | omx_video_base.cpp | 1617 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in get_parameter() local 1620 if(pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) in get_parameter() 1622 memcpy(pParam, &m_sParamBitrate, sizeof(m_sParamBitrate)); in get_parameter() 1634 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in get_parameter() local 1636 memcpy(pParam, &m_sParamMPEG4, sizeof(m_sParamMPEG4)); in get_parameter() 1641 OMX_VIDEO_PARAM_H263TYPE* pParam = (OMX_VIDEO_PARAM_H263TYPE*)paramData; in get_parameter() local 1643 memcpy(pParam, &m_sParamH263, sizeof(m_sParamH263)); in get_parameter() 1648 OMX_VIDEO_PARAM_AVCTYPE* pParam = (OMX_VIDEO_PARAM_AVCTYPE*)paramData; in get_parameter() local 1650 memcpy(pParam, &m_sParamAVC, sizeof(m_sParamAVC)); in get_parameter() 1655 OMX_VIDEO_PARAM_PROFILELEVELTYPE* pParam = (OMX_VIDEO_PARAM_PROFILELEVELTYPE*)paramData; in get_parameter() local [all …]
|
D | video_encoder_device_copper.cpp | 774 OMX_VIDEO_PARAM_BITRATETYPE* pParam; in venc_set_param() local 775 pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in venc_set_param() 778 if(pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) in venc_set_param() 780 if(!venc_set_target_bitrate(pParam->nTargetBitrate, 0)) in venc_set_param() 785 if(!venc_set_ratectrl_cfg(pParam->eControlRate)) in venc_set_param() 799 OMX_VIDEO_PARAM_MPEG4TYPE* pParam; in venc_set_param() local 802 pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in venc_set_param() 804 if(pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) in venc_set_param() 806 if(!venc_set_voptiming_cfg(pParam->nTimeIncRes)) in venc_set_param() 813 if(!venc_set_profile_level (pParam->eProfile, pParam->eLevel)) in venc_set_param() [all …]
|
/hardware/st/nfc/st21nfc/adaptation/ |
D | config.cpp | 76 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/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_encoder.cpp | 598 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 …]
|
D | omx_swvenc_hevc.cpp | 545 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 …]
|
D | omx_swvenc_mpeg4.cpp | 772 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 …]
|
D | video_encoder_device.cpp | 831 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 …]
|
D | video_encoder_device_v4l2.cpp | 1747 OMX_VIDEO_PARAM_BITRATETYPE* pParam; in venc_set_param() local 1748 pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in venc_set_param() 1751 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param() 1752 if (!venc_set_target_bitrate(pParam->nTargetBitrate, 0)) { in venc_set_param() 1757 if (!venc_set_ratectrl_cfg(pParam->eControlRate)) { in venc_set_param() 1769 OMX_VIDEO_PARAM_MPEG4TYPE* pParam; in venc_set_param() local 1772 pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in venc_set_param() 1775 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in venc_set_param() 1776 if (!venc_set_voptiming_cfg(pParam->nTimeIncRes)) { in venc_set_param() 1783 rc_off_level = (int)pParam->eLevel; in venc_set_param() [all …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_encoder.cpp | 920 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local 928 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local 933 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter() 934 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter() 936 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter() 937 m_sInPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter() 938 m_sOutPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter() 950 OMX_VIDEO_PARAM_AVCTYPE* pParam = (OMX_VIDEO_PARAM_AVCTYPE*)paramData; in set_parameter() local 952 memcpy(&avc_param, pParam, sizeof( struct OMX_VIDEO_PARAM_AVCTYPE)); in set_parameter() 958 if ((pParam->eProfile == OMX_VIDEO_AVCProfileHigh)|| in set_parameter() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_encoder.cpp | 628 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 …]
|
/hardware/st/nfc/1.0/adaptation/ |
D | config.cpp | 74 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/halimpl/utils/ |
D | phNxpConfig.cpp | 143 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/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 834 OMX_PORT_PARAM_TYPE* pParam = (OMX_PORT_PARAM_TYPE*)(paramData); in set_parameter() local 841 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in set_parameter() local 850 Ret = swvenc_set_bit_rate(pParam->nTargetBitrate); in set_parameter() 859 Ret = swvenc_set_rc_mode(pParam->eControlRate); in set_parameter() 867 m_sParamBitrate.nTargetBitrate = pParam->nTargetBitrate; in set_parameter() 868 m_sParamBitrate.eControlRate = pParam->eControlRate; in set_parameter() 869 m_sConfigBitrate.nEncodeBitrate = pParam->nTargetBitrate; in set_parameter() 870 m_sInPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter() 871 m_sOutPortDef.format.video.nBitrate = pParam->nTargetBitrate; in set_parameter() 878 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in set_parameter() local [all …]
|
D | omx_video_base.cpp | 1652 OMX_VIDEO_PARAM_BITRATETYPE* pParam = (OMX_VIDEO_PARAM_BITRATETYPE*)paramData; in get_parameter() local 1655 if (pParam->nPortIndex == (OMX_U32) PORT_INDEX_OUT) { in get_parameter() 1656 memcpy(pParam, &m_sParamBitrate, sizeof(m_sParamBitrate)); in get_parameter() 1667 OMX_VIDEO_PARAM_MPEG4TYPE* pParam = (OMX_VIDEO_PARAM_MPEG4TYPE*)paramData; in get_parameter() local 1669 memcpy(pParam, &m_sParamMPEG4, sizeof(m_sParamMPEG4)); in get_parameter() 1675 OMX_VIDEO_PARAM_H263TYPE* pParam = (OMX_VIDEO_PARAM_H263TYPE*)paramData; in get_parameter() local 1677 memcpy(pParam, &m_sParamH263, sizeof(m_sParamH263)); in get_parameter() 1683 OMX_VIDEO_PARAM_AVCTYPE* pParam = (OMX_VIDEO_PARAM_AVCTYPE*)paramData; in get_parameter() local 1685 memcpy(pParam, &m_sParamAVC, sizeof(m_sParamAVC)); in get_parameter() 1691 OMX_VIDEO_PARAM_VP8TYPE* pParam = (OMX_VIDEO_PARAM_VP8TYPE*)paramData; in get_parameter() local [all …]
|
/hardware/nxp/nfc/halimpl/tml/ |
D | phTmlNfc.cc | 49 static void * phTmlNfc_TmlThread(void* pParam); 50 static void * phTmlNfc_TmlWriterThread(void* pParam); 299 static void * phTmlNfc_TmlThread(void* pParam) { in phTmlNfc_TmlThread() argument 311 UNUSED(pParam); in phTmlNfc_TmlThread() 422 static void * phTmlNfc_TmlWriterThread(void* pParam) { in phTmlNfc_TmlWriterThread() argument 434 UNUSED(pParam); in phTmlNfc_TmlWriterThread()
|
D | phOsalNfc_Timer.cc | 379 pTimerHandle->tDeferedCallInfo.pParam = (void*)((intptr_t)(sv.sival_int)); in phOsalNfc_Timer_Expired()
|
/hardware/nxp/nfc/halimpl/common/ |
D | phNfcCommon.h | 100 void* pParam; /* contains timer message specific details*/ member
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_msm8974.cpp | 4057 OMX_VIDEO_PARAM_PROFILELEVELTYPE* pParam = in set_parameter() local 4059 if (pParam) { in set_parameter() 4060 m_profile_lvl.eProfile = pParam->eProfile; in set_parameter() 4061 m_profile_lvl.eLevel = pParam->eLevel; in set_parameter() 4118 QOMX_INDEXDOWNSCALAR* pParam = (QOMX_INDEXDOWNSCALAR*)paramData; in set_parameter() local 4121 if (pParam) { in set_parameter() 4122 is_down_scalar_enabled = pParam->bEnable; in set_parameter() 4126 … DEBUG_PRINT_LOW("set_parameter: OMX_QcomIndexParamVideoDownScalar value = %d", pParam->bEnable); in set_parameter() 4177 QOMX_VIDEO_CUSTOM_BUFFERSIZE* pParam = (QOMX_VIDEO_CUSTOM_BUFFERSIZE*)paramData; in set_parameter() local 4178 if (pParam->nPortIndex == OMX_CORE_INPUT_PORT_INDEX) { in set_parameter() [all …]
|