/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Control.cpp | 54 LVM_ControlParams_t *pParams) in LVM_SetControlParameters() argument 58 if ((pParams == LVM_NULL) || (hInstance == LVM_NULL)) in LVM_SetControlParameters() 63 pInstance->NewParams = *pParams; in LVM_SetControlParameters() 67 …((pParams->OperatingMode != LVM_MODE_OFF) && (pParams->OperatingMode != LVM_MODE_ON)) … in LVM_SetControlParameters() 68 …((pParams->SampleRate != LVM_FS_8000) && (pParams->SampleRate != LVM_FS_11025) && (pParams->Sample… in LVM_SetControlParameters() 69 …(pParams->SampleRate != LVM_FS_16000) && (pParams->SampleRate != LVM_FS_22050) && (pParams->Sample… in LVM_SetControlParameters() 70 …(pParams->SampleRate != LVM_FS_32000) && (pParams->SampleRate != LVM_FS_44100) && (pParams->Sample… in LVM_SetControlParameters() 71 (pParams->SampleRate != LVM_FS_88200) && (pParams->SampleRate != LVM_FS_96000) && in LVM_SetControlParameters() 72 (pParams->SampleRate != LVM_FS_176400) && (pParams->SampleRate != LVM_FS_192000)) || in LVM_SetControlParameters() 74 ((pParams->SourceFormat != LVM_STEREO) && in LVM_SetControlParameters() [all …]
|
D | LVM_API_Specials.cpp | 136 LVM_ControlParams_t *pParams) in LVM_SetVolumeNoSmoothing() argument 142 Error = LVM_SetControlParameters(hInstance,pParams); in LVM_SetVolumeNoSmoothing()
|
D | LVM_Private.h | 255 LVM_ControlParams_t *pParams); 258 LVM_ControlParams_t *pParams); 265 LVM_ControlParams_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
D | LVDBE_Control.cpp | 51 LVDBE_Params_t *pParams) in LVDBE_GetParameters() argument 56 *pParams = pInstance->Params; in LVDBE_GetParameters() 105 LVDBE_Params_t *pParams) in LVDBE_SetFilters() argument 111 LVM_UINT16 Offset = (LVM_UINT16)((LVM_UINT16)pParams->SampleRate + \ in LVDBE_SetFilters() 112 (LVM_UINT16)(pParams->CentreFrequency * (1+LVDBE_FS_192000))); in LVDBE_SetFilters() 149 LVDBE_Params_t *pParams) in LVDBE_SetAGC() argument 155 …pInstance->pData->AGCInstance.AGC_Attack = LVDBE_AGC_ATTACK_Table[(LVM_UINT16)pParams->SampleRate]… in LVDBE_SetAGC() 156 …pInstance->pData->AGCInstance.AGC_Decay = LVDBE_AGC_DECAY_Table[(LVM_UINT16)pParams->SampleRate];… in LVDBE_SetAGC() 161 if (pParams->HPFSelect == LVDBE_HPF_ON) in LVDBE_SetAGC() 163 …pInstance->pData->AGCInstance.AGC_MaxGain = LVDBE_AGC_HPFGAIN_Table[(LVM_UINT16)pParams->EffectL… in LVDBE_SetAGC() [all …]
|
D | LVDBE_Private.h | 119 LVDBE_Params_t *pParams); 122 LVDBE_Params_t *pParams); 125 LVDBE_Params_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
D | LVCS_Control.cpp | 49 LVCS_Params_t *pParams) in LVCS_GetParameters() argument 54 *pParams = pInstance->Params; in LVCS_GetParameters() 79 LVCS_Params_t *pParams) in LVCS_Control() argument 86 if (pParams->SampleRate != pInstance->Params.SampleRate) in LVCS_Control() 88 pInstance->TimerParams.SamplingRate = LVCS_SampleRateTable[pParams->SampleRate]; in LVCS_Control() 94 if(pInstance->Params.ReverbLevel != pParams->ReverbLevel) in LVCS_Control() 96 err=LVCS_ReverbGeneratorInit(hInstance,pParams); in LVCS_Control() 102 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_Control() 103 (pInstance->Params.SpeakerType != pParams->SpeakerType)) in LVCS_Control() 117 Offset = (LVM_INT16)(pParams->SpeakerType + pParams->SourceFormat*(1+LVCS_EX_HEADPHONES)); in LVCS_Control() [all …]
|
D | LVCS_BypassMix.cpp | 69 LVCS_Params_t *pParams) in LVCS_BypassMixInit() argument 82 if ((pParams->OperatingMode == LVCS_ON) && in LVCS_BypassMixInit() 87 pInstance->TransitionGain = ((LVM_FLOAT)pParams->EffectLevel / 32767); in LVCS_BypassMixInit() 98 Offset = (LVM_UINT16)(pParams->SpeakerType + (pParams->SourceFormat*(1+LVCS_EX_HEADPHONES))); in LVCS_BypassMixInit() 114 LVCS_BYPASS_MIXER_TC, pParams->SampleRate, 2); in LVCS_BypassMixInit() 125 LVCS_BYPASS_MIXER_TC, pParams->SampleRate, 2); in LVCS_BypassMixInit() 171 LVCS_BYPASS_MIXER_TC, pParams->SampleRate, 2); in LVCS_BypassMixInit() 174 LVCS_BYPASS_MIXER_TC, pParams->SampleRate, 2); in LVCS_BypassMixInit()
|
D | LVCS_Equaliser.cpp | 57 LVCS_Params_t *pParams) in LVCS_EqualiserInit() argument 76 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_EqualiserInit() 77 (pInstance->Params.SpeakerType != pParams->SpeakerType)) in LVCS_EqualiserInit() 82 Offset = (LVM_UINT16)(pParams->SampleRate + (pParams->SpeakerType * (1 + LVM_FS_48000))); in LVCS_EqualiserInit()
|
D | LVCS_ReverbGenerator.cpp | 61 LVCS_Params_t *pParams) in LVCS_ReverbGeneratorInit() argument 84 if(pInstance->Params.SampleRate != pParams->SampleRate ) /* Sample rate change test */ in LVCS_ReverbGeneratorInit() 90 Delay = (LVM_UINT16)LVCS_StereoDelayCS[(LVM_UINT16)pParams->SampleRate]; in LVCS_ReverbGeneratorInit() 101 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_ReverbGeneratorInit() 138 if(pInstance->Params.ReverbLevel != pParams->ReverbLevel) in LVCS_ReverbGeneratorInit() 141 ReverbPercentage *= pParams->ReverbLevel; // Actual Reverb Level in Q 23 format in LVCS_ReverbGeneratorInit()
|
D | LVCS_StereoEnhancer.cpp | 53 LVCS_Params_t *pParams) in LVCS_SEnhancerInit() argument 74 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_SEnhancerInit() 75 (pInstance->Params.SpeakerType != pParams->SpeakerType)) in LVCS_SEnhancerInit() 81 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_SEnhancerInit() 104 Offset = (LVM_UINT16)(pParams->SampleRate); in LVCS_SEnhancerInit()
|
D | LVCS_Equaliser.h | 40 LVCS_Params_t *pParams);
|
D | LVCS_StereoEnhancer.h | 62 LVCS_Params_t *pParams);
|
D | LVCS_BypassMix.h | 58 LVCS_Params_t *pParams);
|
D | LVCS_ReverbGenerator.h | 68 LVCS_Params_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_Control.cpp | 60 LVEQNB_Params_t *pParams) in LVEQNB_GetParameters() argument 68 if((hInstance == LVM_NULL) || (pParams == LVM_NULL)) in LVEQNB_GetParameters() 73 *pParams = pInstance->Params; in LVEQNB_GetParameters() 138 LVEQNB_Params_t *pParams) in LVEQNB_SetFilters() argument 143 …LVM_UINT32 fs = (LVM_UINT32)LVEQNB_SampleRateTab[(LVM_UINT16)pParams->SampleRate]; /* Sa… in LVEQNB_SetFilters() 147 pInstance->NBands = pParams->NBands; in LVEQNB_SetFilters() 149 for (i=0; i<pParams->NBands; i++) in LVEQNB_SetFilters() 154 … fc = (LVM_UINT32)pParams->pBandDefinition[i].Frequency; /* Get the band centre frequency */ in LVEQNB_SetFilters() 155 QFactor = (LVM_INT16)pParams->pBandDefinition[i].QFactor; /* Get the band Q factor */ in LVEQNB_SetFilters() 170 pInstance->pBandDefinitions[i] = pParams->pBandDefinition[i]; in LVEQNB_SetFilters() [all …]
|
D | LVEQNB_Private.h | 109 LVEQNB_Params_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | LVM_Timer_Init.cpp | 37 LVM_Timer_Params_t *pParams ){ in LVM_Timer_Init() argument 42 pInstancePr->CallBackParam = pParams->CallBackParam; in LVM_Timer_Init() 43 pInstancePr->pCallBackParams = (LVM_INT32 *)pParams->pCallBackParams; in LVM_Timer_Init() 44 pInstancePr->pCallbackInstance = pParams->pCallbackInstance; in LVM_Timer_Init() 45 pInstancePr->pCallBack = pParams->pCallBack; in LVM_Timer_Init() 48 …MUL32x16INTO32(pParams->SamplingRate,OneOverThousandInQ24,pInstancePr->RemainingTimeInSamples,16);… in LVM_Timer_Init() 49 …MUL32x16INTO32(pInstancePr->RemainingTimeInSamples,pParams->TimeInMs,pInstancePr->RemainingTimeInS… in LVM_Timer_Init()
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_Control.cpp | 26 LVPSA_ControlParams_t *pParams ); 29 LVPSA_ControlParams_t *pParams ); 39 LVPSA_ControlParams_t *pParams ); 100 LVPSA_ControlParams_t *pParams ) in LVPSA_GetControlParams() argument 104 if((hInstance == LVM_NULL) || (pParams == LVM_NULL)) in LVPSA_GetControlParams() 109 pParams->Fs = pLVPSA_Inst->CurrentParams.Fs; in LVPSA_GetControlParams() 110 pParams->LevelDetectionSpeed = pLVPSA_Inst->CurrentParams.LevelDetectionSpeed; in LVPSA_GetControlParams() 131 LVPSA_InitParams_t *pParams ) in LVPSA_GetInitParams() argument 135 if((hInstance == LVM_NULL) || (pParams == LVM_NULL)) in LVPSA_GetInitParams() 140 pParams->SpectralDataBufferDuration = pLVPSA_Inst->SpectralDataBufferDuration; in LVPSA_GetInitParams() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/ |
D | LVM.h | 447 LVM_ControlParams_t *pParams); 470 LVM_ControlParams_t *pParams); 603 LVM_ControlParams_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/lib/ |
D | LVPSA.h | 256 LVPSA_ControlParams_t *pParams ); 274 LVPSA_InitParams_t *pParams );
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib/ |
D | LVCS.h | 314 LVCS_Params_t *pParams); 336 LVCS_Params_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/ |
D | LVDBE.h | 355 LVDBE_Params_t *pParams); 418 LVDBE_Params_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/ |
D | LVEQNB.h | 381 LVEQNB_Params_t *pParams); 430 LVEQNB_Params_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
D | LVM_Timer.h | 70 LVM_Timer_Params_t *pParams );
|
/frameworks/av/media/libeffects/lvm/tests/ |
D | lvmtest.cpp | 625 LVM_ControlParams_t *pParams, in lvmMainProcess() argument 629 int errCode = lvmControl(pContext, plvmConfigParams, pParams); in lvmMainProcess()
|