Home
last modified time | relevance | path

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

12

/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_SetControlParameters.c64 …((pNewParams->SampleRate != LVM_FS_8000) && (pNewParams->SampleRate != LVM_FS_11025) && (pNewParam… in LVREV_SetControlParameters()
65 …(pNewParams->SampleRate != LVM_FS_16000) && (pNewParams->SampleRate != LVM_FS_22050) && (pNewParam… in LVREV_SetControlParameters()
66 …(pNewParams->SampleRate != LVM_FS_32000) && (pNewParams->SampleRate != LVM_FS_44100) && (pNewParam… in LVREV_SetControlParameters()
DLVREV_ApplyNewSettings.c76 (pPrivate->NewParams.SampleRate != pPrivate->CurrentParams.SampleRate) || in LVREV_ApplyNewSettings()
82 Omega = LVM_GetOmega(pPrivate->NewParams.HPF, pPrivate->NewParams.SampleRate); in LVREV_ApplyNewSettings()
95 (pPrivate->NewParams.SampleRate != pPrivate->CurrentParams.SampleRate) || in LVREV_ApplyNewSettings()
105 if(pPrivate->NewParams.LPF <= (LVM_FsTable[pPrivate->NewParams.SampleRate] >> 1)) in LVREV_ApplyNewSettings()
107 Omega = LVM_GetOmega(pPrivate->NewParams.LPF, pPrivate->NewParams.SampleRate); in LVREV_ApplyNewSettings()
142 (pPrivate->NewParams.SampleRate != pPrivate->CurrentParams.SampleRate) || in LVREV_ApplyNewSettings()
148 LVM_INT32 Fs = LVM_GetFsFromTable(pPrivate->NewParams.SampleRate); in LVREV_ApplyNewSettings()
242 (pPrivate->NewParams.SampleRate != pPrivate->CurrentParams.SampleRate) || in LVREV_ApplyNewSettings()
267 if(Temp <= (LVM_FsTable[pPrivate->NewParams.SampleRate] >> 1)) in LVREV_ApplyNewSettings()
269 Omega = LVM_GetOmega((LVM_UINT16)Temp, pPrivate->NewParams.SampleRate); in LVREV_ApplyNewSettings()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Control.c113 …LVM_UINT16 Offset = (LVM_UINT16)((LVM_UINT16)pParams->SampleRate + (LVM_UINT16)(pParams->CentreFre… in LVDBE_SetFilters()
163 …->AGCInstance.AGC_Attack = LVDBE_AGC_ATTACK_Table[(LVM_UINT16)pParams->SampleRate]; /* Attack mul… in LVDBE_SetAGC()
164 …a->AGCInstance.AGC_Decay = LVDBE_AGC_DECAY_Table[(LVM_UINT16)pParams->SampleRate]; /* Decay mul… in LVDBE_SetAGC()
247 …pInstance->pData->AGCInstance.VolumeTC = LVDBE_VolumeTCTable[(LVM_UINT16)pParams->SampleRate]; … in LVDBE_SetVolume()
265 (LVM_Fs_en)pInstance->Params.SampleRate, in LVDBE_SetVolume()
318 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVDBE_Control()
329 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVDBE_Control()
337 LVDBE_BYPASS_MIXER_TC,pParams->SampleRate,2); in LVDBE_Control()
340 LVDBE_BYPASS_MIXER_TC,pParams->SampleRate,2); in LVDBE_Control()
350 (pInstance->Params.SampleRate != pParams->SampleRate) || in LVDBE_Control()
DLVDBE_Init.c208 pInstance->Params.SampleRate = LVDBE_FS_8000; in LVDBE_Init()
273 LVDBE_BYPASS_MIXER_TC,pInstance->Params.SampleRate,2); in LVDBE_Init()
283 LVDBE_BYPASS_MIXER_TC,pInstance->Params.SampleRate,2); in LVDBE_Init()
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Control.c68 …((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()
279 (pParams->SampleRate >= TrebleBoostMinRate) && in LVM_SetTrebleBoost()
300 …Offset = (LVM_INT16)(EffectLevel - 1 + TrebleBoostSteps * (pParams->SampleRate - TrebleBoostMinRat… in LVM_SetTrebleBoost()
415 … LVC_Mixer_SetTimeConstant(&pInstance->VC_Volume.MixerStream[0],0,pInstance->Params.SampleRate,2); in LVM_SetVolume()
419 …imeConstant(&pInstance->VC_Volume.MixerStream[0],LVM_VC_MIXER_TIME,pInstance->Params.SampleRate,2); in LVM_SetVolume()
528 if ((pInstance->Params.SampleRate != LocalParams.SampleRate) || in LVM_ApplyNewSettings()
561 …tTimeConstant(&pInstance->VC_BalanceMix.MixerStream[0],LVM_VC_MIXER_TIME,LocalParams.SampleRate,1); in LVM_ApplyNewSettings()
565 …tTimeConstant(&pInstance->VC_BalanceMix.MixerStream[1],LVM_VC_MIXER_TIME,LocalParams.SampleRate,1); in LVM_ApplyNewSettings()
[all …]
DLVM_Init.c235 …DBE_Capabilities.SampleRate = LVDBE_CAP_FS_8000 | LVDBE_CAP_FS_11025 | LVDBE_CAP_FS_12000 | L… in LVM_GetMemoryTable()
268 …EQNB_Capabilities.SampleRate = LVEQNB_CAP_FS_8000 | LVEQNB_CAP_FS_11025 | LVEQNB_CAP_FS_12000 | … in LVM_GetMemoryTable()
559 pInstance->Params.SampleRate = LVM_FS_8000; in LVM_GetInstanceHandle()
712 …DBE_Capabilities.SampleRate = LVDBE_CAP_FS_8000 | LVDBE_CAP_FS_11025 | LVDBE_CAP_FS_12000 | L… in LVM_GetInstanceHandle()
766 …EQNB_Capabilities.SampleRate = LVEQNB_CAP_FS_8000 | LVEQNB_CAP_FS_11025 | LVEQNB_CAP_FS_12000… in LVM_GetInstanceHandle()
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Control.c146 …LVM_UINT32 fs = (LVM_UINT32)LVEQNB_SampleRateTab[(LVM_UINT16)pParams->SampleRate]; /* Sa… in LVEQNB_SetFilters()
240 LVEQNB_DoublePrecCoefs((LVM_UINT16)pInstance->Params.SampleRate, in LVEQNB_SetCoefficients()
260 LVEQNB_SinglePrecCoefs((LVM_UINT16)pInstance->Params.SampleRate, in LVEQNB_SetCoefficients()
357 if (pParams->SampleRate != pInstance->Params.SampleRate) in LVEQNB_Control()
359 …nt(&pInstance->BypassMixer.MixerStream[0],LVEQNB_BYPASS_MIXER_TC,(LVM_Fs_en)pParams->SampleRate,2); in LVEQNB_Control()
360 …nt(&pInstance->BypassMixer.MixerStream[1],LVEQNB_BYPASS_MIXER_TC,(LVM_Fs_en)pParams->SampleRate,2); in LVEQNB_Control()
367 (pInstance->Params.SampleRate != pParams->SampleRate ) || in LVEQNB_Control()
394 if (pInstance->Params.SampleRate != pParams->SampleRate) in LVEQNB_Control()
441 …nt(&pInstance->BypassMixer.MixerStream[0],LVEQNB_BYPASS_MIXER_TC,(LVM_Fs_en)pParams->SampleRate,2); in LVEQNB_Control()
442 …nt(&pInstance->BypassMixer.MixerStream[1],LVEQNB_BYPASS_MIXER_TC,(LVM_Fs_en)pParams->SampleRate,2); in LVEQNB_Control()
DLVEQNB_Init.c291 pInstance->Params.SampleRate = LVEQNB_FS_8000; in LVEQNB_Init()
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Control.c87 if (pParams->SampleRate != pInstance->Params.SampleRate) in LVCS_Control()
89 pInstance->TimerParams.SamplingRate = LVCS_SampleRateTable[pParams->SampleRate]; in LVCS_Control()
103 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_Control()
140 LVCS_BYPASS_MIXER_TC,pParams->SampleRate,2); in LVCS_Control()
142 LVCS_BYPASS_MIXER_TC,pParams->SampleRate,2); in LVCS_Control()
DLVCS_ReverbGenerator.c79 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()
DLVCS_StereoEnhancer.c69 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_SEnhancerInit()
76 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_SEnhancerInit()
99 Offset = (LVM_UINT16)(pParams->SampleRate); in LVCS_SEnhancerInit()
DLVCS_Equaliser.c72 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_EqualiserInit()
78 Offset = (LVM_UINT16)(pParams->SampleRate + (pParams->SpeakerType * (1+LVM_FS_48000))); in LVCS_EqualiserInit()
DLVCS_BypassMix.c113 …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_Init.c187 pInstance->Params.SampleRate = LVM_FS_INVALID; in LVCS_Init()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp151 LVM_Fs_en SampleRate; member
606 LVM_Fs_en SampleRate; in Reverb_setConfig() local
627 SampleRate = LVM_FS_8000; in Reverb_setConfig()
630 SampleRate = LVM_FS_16000; in Reverb_setConfig()
633 SampleRate = LVM_FS_22050; in Reverb_setConfig()
636 SampleRate = LVM_FS_32000; in Reverb_setConfig()
639 SampleRate = LVM_FS_44100; in Reverb_setConfig()
642 SampleRate = LVM_FS_48000; in Reverb_setConfig()
649 if (pContext->SampleRate != SampleRate) { in Reverb_setConfig()
663 ActiveParams.SampleRate = SampleRate; in Reverb_setConfig()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/
DLVEQNB.h256 LVEQNB_Fs_en SampleRate; member
270 LVM_UINT16 SampleRate; member
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/
DLVDBE.h244 LVDBE_Fs_en SampleRate; member
258 LVM_UINT16 SampleRate; /* Sampling rate capabilities */ member
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DFilter.h54 LVM_Fs_en SampleRate);
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp614 params.SampleRate = LVM_FS_44100; in LvmBundle_init()
618 pContext->pBundledContext->SampleRate = LVM_FS_44100; in LvmBundle_init()
1084 LVM_Fs_en SampleRate; in Effect_setConfig() local
1102 SampleRate = LVM_FS_8000; in Effect_setConfig()
1106 SampleRate = LVM_FS_16000; in Effect_setConfig()
1110 SampleRate = LVM_FS_22050; in Effect_setConfig()
1114 SampleRate = LVM_FS_32000; in Effect_setConfig()
1118 SampleRate = LVM_FS_44100; in Effect_setConfig()
1122 SampleRate = LVM_FS_48000; in Effect_setConfig()
1130 if(pContext->pBundledContext->SampleRate != SampleRate){ in Effect_setConfig()
[all …]
DEffectBundle.h93 LVM_Fs_en SampleRate; member
/frameworks/av/media/libeffects/lvm/lib/Reverb/lib/
DLVREV.h105 LVM_Fs_en SampleRate; /* Sample rate */ member
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib/
DLVCS.h205 LVM_Fs_en SampleRate; /* Sampling rate */ member
/frameworks/av/media/libstagefright/codecs/common/include/
DvoAudio.h94 VO_S32 SampleRate; /*!< Sample rate */ member
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/
DLVM.h266 LVM_Fs_en SampleRate; /* Sample rate */ member
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Daacenc.c280 pOutInfo->Format.SampleRate = hAacEnc->config.sampleRate; in voAACEncGetOutputData()
405 config.sampleRate = pWAV_Format->SampleRate; in voAACEncSetParam()

12