Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Control.c53 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->SourceFormat != LVM_STEREO) && (pParams->SourceFormat != LVM_MONOINSTEREO) && (pParams-… in LVM_SetControlParameters()
72 (pParams->SpeakerType > LVM_EX_HEADPHONES)) in LVM_SetControlParameters()
80 …if((pParams->VirtualizerOperatingMode != LVM_MODE_OFF) && (pParams->VirtualizerOperatingMode != LV… in LVM_SetControlParameters()
[all …]
DLVM_Private.h253 LVM_ControlParams_t *pParams);
256 LVM_ControlParams_t *pParams);
263 LVM_ControlParams_t *pParams);
DLVM_API_Specials.c140 LVM_ControlParams_t *pParams) in LVM_SetVolumeNoSmoothing() argument
146 Error = LVM_SetControlParameters(hInstance,pParams); in LVM_SetVolumeNoSmoothing()
/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
113 …LVM_UINT16 Offset = (LVM_UINT16)((LVM_UINT16)pParams->SampleRate + (LVM_UINT16)(pParams->CentreFre… in LVDBE_SetFilters()
157 LVDBE_Params_t *pParams) in LVDBE_SetAGC() argument
163 …pInstance->pData->AGCInstance.AGC_Attack = LVDBE_AGC_ATTACK_Table[(LVM_UINT16)pParams->SampleRate]… in LVDBE_SetAGC()
164 …pInstance->pData->AGCInstance.AGC_Decay = LVDBE_AGC_DECAY_Table[(LVM_UINT16)pParams->SampleRate];… in LVDBE_SetAGC()
170 if (pParams->HPFSelect == LVDBE_HPF_ON) in LVDBE_SetAGC()
172 …pInstance->pData->AGCInstance.AGC_MaxGain = LVDBE_AGC_HPFGAIN_Table[(LVM_UINT16)pParams->EffectL… in LVDBE_SetAGC()
176 …pInstance->pData->AGCInstance.AGC_MaxGain = LVDBE_AGC_GAIN_Table[(LVM_UINT16)pParams->EffectLeve… in LVDBE_SetAGC()
[all …]
DLVDBE_Private.h123 LVDBE_Params_t *pParams);
127 LVDBE_Params_t *pParams);
131 LVDBE_Params_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
83 if ((pParams->OperatingMode == LVCS_ON) && in LVCS_BypassMixInit()
88 pInstance->TransitionGain = pParams->EffectLevel; in LVCS_BypassMixInit()
99 Offset = (LVM_UINT16)(pParams->SpeakerType + (pParams->SourceFormat*(1+LVCS_EX_HEADPHONES))); in LVCS_BypassMixInit()
113 …etTimeConstant(&pConfig->Mixer_Instance.MixerStream[0],LVCS_BYPASS_MIXER_TC,pParams->SampleRate,2); in LVCS_BypassMixInit()
121 …etTimeConstant(&pConfig->Mixer_Instance.MixerStream[1],LVCS_BYPASS_MIXER_TC,pParams->SampleRate,2); in LVCS_BypassMixInit()
172 …etTimeConstant(&pConfig->Mixer_Instance.MixerStream[0],LVCS_BYPASS_MIXER_TC,pParams->SampleRate,2); in LVCS_BypassMixInit()
174 …etTimeConstant(&pConfig->Mixer_Instance.MixerStream[1],LVCS_BYPASS_MIXER_TC,pParams->SampleRate,2); in LVCS_BypassMixInit()
DLVCS_Equaliser.c58 LVCS_Params_t *pParams) in LVCS_EqualiserInit() argument
72 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_EqualiserInit()
73 (pInstance->Params.SpeakerType != pParams->SpeakerType)) in LVCS_EqualiserInit()
78 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
79 if(pInstance->Params.SampleRate != pParams->SampleRate ) /* Sample rate change test */ in LVCS_ReverbGeneratorInit()
85 Delay = (LVM_UINT16)LVCS_StereoDelayCS[(LVM_UINT16)pParams->SampleRate]; in LVCS_ReverbGeneratorInit()
97 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_ReverbGeneratorInit()
134 if(pInstance->Params.ReverbLevel != pParams->ReverbLevel) in LVCS_ReverbGeneratorInit()
137 … ReverbPercentage*=pParams->ReverbLevel; // Actual Reverb Level in Q 23 format in LVCS_ReverbGeneratorInit()
DLVCS_StereoEnhancer.c54 LVCS_Params_t *pParams) in LVCS_SEnhancerInit() argument
69 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_SEnhancerInit()
70 (pInstance->Params.SpeakerType != pParams->SpeakerType)) in LVCS_SEnhancerInit()
76 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_SEnhancerInit()
99 Offset = (LVM_UINT16)(pParams->SampleRate); in LVCS_SEnhancerInit()
DLVCS_Equaliser.h47 LVCS_Params_t *pParams);
DLVCS_StereoEnhancer.h68 LVCS_Params_t *pParams);
DLVCS_BypassMix.h68 LVCS_Params_t *pParams);
DLVCS_ReverbGenerator.h79 LVCS_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
146 …LVM_UINT32 fs = (LVM_UINT32)LVEQNB_SampleRateTab[(LVM_UINT16)pParams->SampleRate]; /* Sa… in LVEQNB_SetFilters()
151 pInstance->NBands = pParams->NBands; in LVEQNB_SetFilters()
153 for (i=0; i<pParams->NBands; i++) in LVEQNB_SetFilters()
158 … fc = (LVM_UINT32)pParams->pBandDefinition[i].Frequency; /* Get the band centre frequency */ in LVEQNB_SetFilters()
159 QFactor = (LVM_INT16)pParams->pBandDefinition[i].QFactor; /* Get the band Q factor */ in LVEQNB_SetFilters()
194 pInstance->pBandDefinitions[i] = pParams->pBandDefinition[i]; in LVEQNB_SetFilters()
[all …]
DLVEQNB_Private.h112 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 );
44 LVPSA_ControlParams_t *pParams );
108 LVPSA_ControlParams_t *pParams ) in LVPSA_GetControlParams() argument
112 if((hInstance == LVM_NULL) || (pParams == LVM_NULL)) in LVPSA_GetControlParams()
117 pParams->Fs = pLVPSA_Inst->CurrentParams.Fs; in LVPSA_GetControlParams()
118 pParams->LevelDetectionSpeed = pLVPSA_Inst->CurrentParams.LevelDetectionSpeed; in LVPSA_GetControlParams()
140 LVPSA_InitParams_t *pParams ) in LVPSA_GetInitParams() argument
144 if((hInstance == LVM_NULL) || (pParams == LVM_NULL)) in LVPSA_GetInitParams()
149 pParams->SpectralDataBufferDuration = pLVPSA_Inst->SpectralDataBufferDuration; in LVPSA_GetInitParams()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/
DLVM.h460 LVM_ControlParams_t *pParams);
484 LVM_ControlParams_t *pParams);
621 LVM_ControlParams_t *pParams);
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib/
DLVCS.h330 LVCS_Params_t *pParams);
353 LVCS_Params_t *pParams);
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/lib/
DLVPSA.h265 LVPSA_ControlParams_t *pParams );
283 LVPSA_InitParams_t *pParams );
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/
DLVEQNB.h387 LVEQNB_Params_t *pParams);
438 LVEQNB_Params_t *pParams);
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/
DLVDBE.h365 LVDBE_Params_t *pParams);
430 LVDBE_Params_t *pParams);
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DLVM_Timer.h67 LVM_Timer_Params_t *pParams );