Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Control.c55 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 …]
DLVM_API_Specials.c140 LVM_ControlParams_t *pParams) in LVM_SetVolumeNoSmoothing() argument
146 Error = LVM_SetControlParameters(hInstance,pParams); in LVM_SetVolumeNoSmoothing()
DLVM_Private.h309 LVM_ControlParams_t *pParams);
312 LVM_ControlParams_t *pParams);
319 LVM_ControlParams_t *pParams);
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Control.c49 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 …]
DLVCS_BypassMix.c69 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 …]
DLVCS_Equaliser.c58 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()
DLVCS_ReverbGenerator.c62 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 …]
DLVCS_StereoEnhancer.c54 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()
DLVCS_Equaliser.h50 LVCS_Params_t *pParams);
DLVCS_BypassMix.h79 LVCS_Params_t *pParams);
DLVCS_StereoEnhancer.h81 LVCS_Params_t *pParams);
DLVCS_ReverbGenerator.h85 LVCS_Params_t *pParams);
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Control.c51 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 …]
DLVDBE_Private.h156 LVDBE_Params_t *pParams);
160 LVDBE_Params_t *pParams);
164 LVDBE_Params_t *pParams);
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Control.c61 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 …]
DLVEQNB_Private.h134 LVEQNB_Params_t *pParams);
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVM_Timer_Init.c37 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/
DLVPSA_Control.c26 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/
DLVM.h464 LVM_ControlParams_t *pParams);
488 LVM_ControlParams_t *pParams);
633 LVM_ControlParams_t *pParams);
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/lib/
DLVPSA.h271 LVPSA_ControlParams_t *pParams );
289 LVPSA_InitParams_t *pParams );
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib/
DLVCS.h333 LVCS_Params_t *pParams);
356 LVCS_Params_t *pParams);
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/
DLVEQNB.h405 LVEQNB_Params_t *pParams);
456 LVEQNB_Params_t *pParams);
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/
DLVDBE.h380 LVDBE_Params_t *pParams);
445 LVDBE_Params_t *pParams);
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DLVM_Timer.h75 LVM_Timer_Params_t *pParams );
/frameworks/av/media/libeffects/lvm/tests/
Dlvmtest.cpp629 LVM_ControlParams_t *pParams, in lvmMainProcess() argument
633 int errCode = lvmControl(pContext, plvmConfigParams, pParams); in lvmMainProcess()