/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Control.c | 55 LVM_ControlParams_t *pParams) in LVM_SetControlParameters() argument 60 if ((pParams == LVM_NULL) || (hInstance == LVM_NULL)) in LVM_SetControlParameters() 65 pInstance->NewParams = *pParams; in LVM_SetControlParameters() 69 …((pParams->OperatingMode != LVM_MODE_OFF) && (pParams->OperatingMode != LVM_MODE_ON)) … in LVM_SetControlParameters() 71 …((pParams->SampleRate != LVM_FS_8000) && (pParams->SampleRate != LVM_FS_11025) && (pParams->Sample… in LVM_SetControlParameters() 72 …(pParams->SampleRate != LVM_FS_16000) && (pParams->SampleRate != LVM_FS_22050) && (pParams->Sample… in LVM_SetControlParameters() 73 …(pParams->SampleRate != LVM_FS_32000) && (pParams->SampleRate != LVM_FS_44100) && (pParams->Sample… in LVM_SetControlParameters() 74 (pParams->SampleRate != LVM_FS_88200) && (pParams->SampleRate != LVM_FS_96000) && in LVM_SetControlParameters() 75 (pParams->SampleRate != LVM_FS_176400) && (pParams->SampleRate != LVM_FS_192000)) || in LVM_SetControlParameters() 77 …((pParams->SampleRate != LVM_FS_8000) && (pParams->SampleRate != LVM_FS_11025) && (pParams->Sample… in LVM_SetControlParameters() [all …]
|
D | LVM_API_Specials.c | 140 LVM_ControlParams_t *pParams) in LVM_SetVolumeNoSmoothing() argument 146 Error = LVM_SetControlParameters(hInstance,pParams); in LVM_SetVolumeNoSmoothing()
|
D | LVM_Private.h | 309 LVM_ControlParams_t *pParams); 312 LVM_ControlParams_t *pParams); 319 LVM_ControlParams_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
D | LVCS_Control.c | 49 LVCS_Params_t *pParams) in LVCS_GetParameters() argument 54 *pParams = pInstance->Params; in LVCS_GetParameters() 80 LVCS_Params_t *pParams) in LVCS_Control() argument 87 if (pParams->SampleRate != pInstance->Params.SampleRate) in LVCS_Control() 89 pInstance->TimerParams.SamplingRate = LVCS_SampleRateTable[pParams->SampleRate]; in LVCS_Control() 95 if(pInstance->Params.ReverbLevel != pParams->ReverbLevel) in LVCS_Control() 97 err=LVCS_ReverbGeneratorInit(hInstance,pParams); in LVCS_Control() 103 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_Control() 104 (pInstance->Params.SpeakerType != pParams->SpeakerType)) in LVCS_Control() 118 Offset = (LVM_INT16)(pParams->SpeakerType + pParams->SourceFormat*(1+LVCS_EX_HEADPHONES)); in LVCS_Control() [all …]
|
D | LVCS_BypassMix.c | 69 LVCS_Params_t *pParams) in LVCS_BypassMixInit() argument 89 if ((pParams->OperatingMode == LVCS_ON) && in LVCS_BypassMixInit() 95 pInstance->TransitionGain = pParams->EffectLevel; in LVCS_BypassMixInit() 97 pInstance->TransitionGain = ((LVM_FLOAT)pParams->EffectLevel / 32767); in LVCS_BypassMixInit() 109 Offset = (LVM_UINT16)(pParams->SpeakerType + (pParams->SourceFormat*(1+LVCS_EX_HEADPHONES))); in LVCS_BypassMixInit() 129 …etTimeConstant(&pConfig->Mixer_Instance.MixerStream[0],LVCS_BYPASS_MIXER_TC,pParams->SampleRate,2); in LVCS_BypassMixInit() 134 LVCS_BYPASS_MIXER_TC, pParams->SampleRate, 2); in LVCS_BypassMixInit() 145 …etTimeConstant(&pConfig->Mixer_Instance.MixerStream[1],LVCS_BYPASS_MIXER_TC,pParams->SampleRate,2); in LVCS_BypassMixInit() 153 LVCS_BYPASS_MIXER_TC, pParams->SampleRate, 2); in LVCS_BypassMixInit() 205 …etTimeConstant(&pConfig->Mixer_Instance.MixerStream[0],LVCS_BYPASS_MIXER_TC,pParams->SampleRate,2); in LVCS_BypassMixInit() [all …]
|
D | LVCS_Equaliser.c | 58 LVCS_Params_t *pParams) in LVCS_EqualiserInit() argument 77 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_EqualiserInit() 78 (pInstance->Params.SpeakerType != pParams->SpeakerType)) in LVCS_EqualiserInit() 83 Offset = (LVM_UINT16)(pParams->SampleRate + (pParams->SpeakerType * (1 + LVM_FS_48000))); in LVCS_EqualiserInit() 123 LVCS_Params_t *pParams) in LVCS_EqualiserInit() argument 137 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_EqualiserInit() 138 (pInstance->Params.SpeakerType != pParams->SpeakerType)) in LVCS_EqualiserInit() 143 Offset = (LVM_UINT16)(pParams->SampleRate + (pParams->SpeakerType * (1+LVM_FS_48000))); in LVCS_EqualiserInit()
|
D | LVCS_ReverbGenerator.c | 62 LVCS_Params_t *pParams) in LVCS_ReverbGeneratorInit() argument 86 if(pInstance->Params.SampleRate != pParams->SampleRate ) /* Sample rate change test */ in LVCS_ReverbGeneratorInit() 92 Delay = (LVM_UINT16)LVCS_StereoDelayCS[(LVM_UINT16)pParams->SampleRate]; in LVCS_ReverbGeneratorInit() 104 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_ReverbGeneratorInit() 143 if(pInstance->Params.ReverbLevel != pParams->ReverbLevel) in LVCS_ReverbGeneratorInit() 146 ReverbPercentage *= pParams->ReverbLevel; // Actual Reverb Level in Q 23 format in LVCS_ReverbGeneratorInit() 153 LVCS_Params_t *pParams) in LVCS_ReverbGeneratorInit() argument 170 if(pInstance->Params.SampleRate != pParams->SampleRate ) /* Sample rate change test */ in LVCS_ReverbGeneratorInit() 176 Delay = (LVM_UINT16)LVCS_StereoDelayCS[(LVM_UINT16)pParams->SampleRate]; in LVCS_ReverbGeneratorInit() 188 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_ReverbGeneratorInit() [all …]
|
D | LVCS_StereoEnhancer.c | 54 LVCS_Params_t *pParams) in LVCS_SEnhancerInit() argument 76 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_SEnhancerInit() 77 (pInstance->Params.SpeakerType != pParams->SpeakerType)) in LVCS_SEnhancerInit() 83 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_SEnhancerInit() 107 Offset = (LVM_UINT16)(pParams->SampleRate); in LVCS_SEnhancerInit() 150 LVCS_Params_t *pParams) in LVCS_SEnhancerInit() argument 165 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_SEnhancerInit() 166 (pInstance->Params.SpeakerType != pParams->SpeakerType)) in LVCS_SEnhancerInit() 172 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_SEnhancerInit() 195 Offset = (LVM_UINT16)(pParams->SampleRate); in LVCS_SEnhancerInit()
|
D | LVCS_Equaliser.h | 50 LVCS_Params_t *pParams);
|
D | LVCS_BypassMix.h | 79 LVCS_Params_t *pParams);
|
D | LVCS_StereoEnhancer.h | 81 LVCS_Params_t *pParams);
|
D | LVCS_ReverbGenerator.h | 85 LVCS_Params_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
D | LVDBE_Control.c | 51 LVDBE_Params_t *pParams) in LVDBE_GetParameters() argument 56 *pParams = pInstance->Params; in LVDBE_GetParameters() 107 LVDBE_Params_t *pParams) in LVDBE_SetFilters() argument 114 LVM_UINT16 Offset = (LVM_UINT16)((LVM_UINT16)pParams->SampleRate + \ in LVDBE_SetFilters() 115 (LVM_UINT16)(pParams->CentreFrequency * (1+LVDBE_FS_192000))); in LVDBE_SetFilters() 120 LVM_UINT16 Offset = (LVM_UINT16)((LVM_UINT16)pParams->SampleRate + \ in LVDBE_SetFilters() 121 (LVM_UINT16)(pParams->CentreFrequency * (1+LVDBE_FS_48000))); in LVDBE_SetFilters() 190 LVDBE_Params_t *pParams) in LVDBE_SetAGC() argument 196 …pInstance->pData->AGCInstance.AGC_Attack = LVDBE_AGC_ATTACK_Table[(LVM_UINT16)pParams->SampleRate]… in LVDBE_SetAGC() 197 …pInstance->pData->AGCInstance.AGC_Decay = LVDBE_AGC_DECAY_Table[(LVM_UINT16)pParams->SampleRate];… in LVDBE_SetAGC() [all …]
|
D | LVDBE_Private.h | 156 LVDBE_Params_t *pParams); 160 LVDBE_Params_t *pParams); 164 LVDBE_Params_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_Control.c | 61 LVEQNB_Params_t *pParams) in LVEQNB_GetParameters() argument 69 if((hInstance == LVM_NULL) || (pParams == LVM_NULL)) in LVEQNB_GetParameters() 74 *pParams = pInstance->Params; in LVEQNB_GetParameters() 141 LVEQNB_Params_t *pParams) in LVEQNB_SetFilters() argument 150 …LVM_UINT32 fs = (LVM_UINT32)LVEQNB_SampleRateTab[(LVM_UINT16)pParams->SampleRate]; /* Sa… in LVEQNB_SetFilters() 155 pInstance->NBands = pParams->NBands; in LVEQNB_SetFilters() 157 for (i=0; i<pParams->NBands; i++) in LVEQNB_SetFilters() 162 … fc = (LVM_UINT32)pParams->pBandDefinition[i].Frequency; /* Get the band centre frequency */ in LVEQNB_SetFilters() 163 QFactor = (LVM_INT16)pParams->pBandDefinition[i].QFactor; /* Get the band Q factor */ in LVEQNB_SetFilters() 202 pInstance->pBandDefinitions[i] = pParams->pBandDefinition[i]; in LVEQNB_SetFilters() [all …]
|
D | LVEQNB_Private.h | 134 LVEQNB_Params_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | LVM_Timer_Init.c | 37 LVM_Timer_Params_t *pParams ){ in LVM_Timer_Init() argument 42 pInstancePr->CallBackParam = pParams->CallBackParam; in LVM_Timer_Init() 43 pInstancePr->pCallBackParams = 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.c | 26 LVPSA_ControlParams_t *pParams ); 29 LVPSA_ControlParams_t *pParams ); 53 LVPSA_ControlParams_t *pParams ); 117 LVPSA_ControlParams_t *pParams ) in LVPSA_GetControlParams() argument 121 if((hInstance == LVM_NULL) || (pParams == LVM_NULL)) in LVPSA_GetControlParams() 126 pParams->Fs = pLVPSA_Inst->CurrentParams.Fs; in LVPSA_GetControlParams() 127 pParams->LevelDetectionSpeed = pLVPSA_Inst->CurrentParams.LevelDetectionSpeed; in LVPSA_GetControlParams() 149 LVPSA_InitParams_t *pParams ) in LVPSA_GetInitParams() argument 153 if((hInstance == LVM_NULL) || (pParams == LVM_NULL)) in LVPSA_GetInitParams() 158 pParams->SpectralDataBufferDuration = pLVPSA_Inst->SpectralDataBufferDuration; in LVPSA_GetInitParams() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/ |
D | LVM.h | 464 LVM_ControlParams_t *pParams); 488 LVM_ControlParams_t *pParams); 633 LVM_ControlParams_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/lib/ |
D | LVPSA.h | 271 LVPSA_ControlParams_t *pParams ); 289 LVPSA_InitParams_t *pParams );
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib/ |
D | LVCS.h | 333 LVCS_Params_t *pParams); 356 LVCS_Params_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/ |
D | LVEQNB.h | 405 LVEQNB_Params_t *pParams); 456 LVEQNB_Params_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/ |
D | LVDBE.h | 380 LVDBE_Params_t *pParams); 445 LVDBE_Params_t *pParams);
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
D | LVM_Timer.h | 75 LVM_Timer_Params_t *pParams );
|
/frameworks/av/media/libeffects/lvm/tests/ |
D | lvmtest.cpp | 629 LVM_ControlParams_t *pParams, in lvmMainProcess() argument 633 int errCode = lvmControl(pContext, plvmConfigParams, pParams); in lvmMainProcess()
|