Home
last modified time | relevance | path

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

12

/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_SetControlParameters.c65 …(pNewParams->SampleRate != LVM_FS_8000) && (pNewParams->SampleRate != LVM_FS_11025) && (pNewParams… in LVREV_SetControlParameters()
66 …(pNewParams->SampleRate != LVM_FS_16000) && (pNewParams->SampleRate != LVM_FS_22050) && (pNewParam… in LVREV_SetControlParameters()
67 (pNewParams->SampleRate != LVM_FS_32000) && in LVREV_SetControlParameters()
68 (pNewParams->SampleRate != LVM_FS_44100) && in LVREV_SetControlParameters()
69 (pNewParams->SampleRate != LVM_FS_48000) in LVREV_SetControlParameters()
71 && (pNewParams->SampleRate != LVM_FS_88200) && (pNewParams->SampleRate != LVM_FS_96000) in LVREV_SetControlParameters()
72 && (pNewParams->SampleRate != LVM_FS_176400) && (pNewParams->SampleRate != LVM_FS_192000) in LVREV_SetControlParameters()
DLVREV_ApplyNewSettings.c77 (pPrivate->NewParams.SampleRate != pPrivate->CurrentParams.SampleRate) || in LVREV_ApplyNewSettings()
83 Omega = LVM_GetOmega(pPrivate->NewParams.HPF, pPrivate->NewParams.SampleRate); in LVREV_ApplyNewSettings()
96 (pPrivate->NewParams.SampleRate != pPrivate->CurrentParams.SampleRate) || in LVREV_ApplyNewSettings()
106 if(pPrivate->NewParams.LPF <= (LVM_FsTable[pPrivate->NewParams.SampleRate] >> 1)) in LVREV_ApplyNewSettings()
108 Omega = LVM_GetOmega(pPrivate->NewParams.LPF, pPrivate->NewParams.SampleRate); in LVREV_ApplyNewSettings()
143 (pPrivate->NewParams.SampleRate != pPrivate->CurrentParams.SampleRate) || in LVREV_ApplyNewSettings()
149 LVM_INT32 Fs = LVM_GetFsFromTable(pPrivate->NewParams.SampleRate); in LVREV_ApplyNewSettings()
243 (pPrivate->NewParams.SampleRate != pPrivate->CurrentParams.SampleRate) || in LVREV_ApplyNewSettings()
268 if(Temp <= (LVM_FsTable[pPrivate->NewParams.SampleRate] >> 1)) in LVREV_ApplyNewSettings()
270 Omega = LVM_GetOmega((LVM_UINT16)Temp, pPrivate->NewParams.SampleRate); in LVREV_ApplyNewSettings()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Control.c71 …((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()
78 …(pParams->SampleRate != LVM_FS_16000) && (pParams->SampleRate != LVM_FS_22050) && (pParams->Sample… in LVM_SetControlParameters()
79 …(pParams->SampleRate != LVM_FS_32000) && (pParams->SampleRate != LVM_FS_44100) && (pParams->Sample… in LVM_SetControlParameters()
305 (pParams->SampleRate >= TrebleBoostMinRate) && in LVM_SetTrebleBoost()
326 …Offset = (LVM_INT16)(EffectLevel - 1 + TrebleBoostSteps * (pParams->SampleRate - TrebleBoostMinRat… in LVM_SetTrebleBoost()
[all …]
DLVM_Init.c308 DBE_Capabilities.SampleRate = LVDBE_CAP_FS_8000 | LVDBE_CAP_FS_11025 | in LVM_GetMemoryTable()
316 …DBE_Capabilities.SampleRate = LVDBE_CAP_FS_8000 | LVDBE_CAP_FS_11025 | LVDBE_CAP_FS_12000 | L… in LVM_GetMemoryTable()
351 EQNB_Capabilities.SampleRate = LVEQNB_CAP_FS_8000 | LVEQNB_CAP_FS_11025 | in LVM_GetMemoryTable()
359 …EQNB_Capabilities.SampleRate = LVEQNB_CAP_FS_8000 | LVEQNB_CAP_FS_11025 | LVEQNB_CAP_FS_12000 | … in LVM_GetMemoryTable()
668 pInstance->Params.SampleRate = LVM_FS_8000; in LVM_GetInstanceHandle()
846 DBE_Capabilities.SampleRate = LVDBE_CAP_FS_8000 | LVDBE_CAP_FS_11025 | in LVM_GetInstanceHandle()
854 …DBE_Capabilities.SampleRate = LVDBE_CAP_FS_8000 | LVDBE_CAP_FS_11025 | LVDBE_CAP_FS_12000 | L… in LVM_GetInstanceHandle()
910 EQNB_Capabilities.SampleRate = LVEQNB_CAP_FS_8000 | LVEQNB_CAP_FS_11025 | in LVM_GetInstanceHandle()
918 …EQNB_Capabilities.SampleRate = LVEQNB_CAP_FS_8000 | LVEQNB_CAP_FS_11025 | LVEQNB_CAP_FS_12000… in LVM_GetInstanceHandle()
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Control.c114 LVM_UINT16 Offset = (LVM_UINT16)((LVM_UINT16)pParams->SampleRate + \ in LVDBE_SetFilters()
120 LVM_UINT16 Offset = (LVM_UINT16)((LVM_UINT16)pParams->SampleRate + \ in LVDBE_SetFilters()
196 …->AGCInstance.AGC_Attack = LVDBE_AGC_ATTACK_Table[(LVM_UINT16)pParams->SampleRate]; /* Attack mul… in LVDBE_SetAGC()
197 …a->AGCInstance.AGC_Decay = LVDBE_AGC_DECAY_Table[(LVM_UINT16)pParams->SampleRate]; /* Decay mul… in LVDBE_SetAGC()
291 …pInstance->pData->AGCInstance.VolumeTC = LVDBE_VolumeTCTable[(LVM_UINT16)pParams->SampleRate]; … in LVDBE_SetVolume()
322 (LVM_Fs_en)pInstance->Params.SampleRate, in LVDBE_SetVolume()
327 (LVM_Fs_en)pInstance->Params.SampleRate, in LVDBE_SetVolume()
385 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVDBE_Control()
396 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVDBE_Control()
404 LVDBE_BYPASS_MIXER_TC,(LVM_Fs_en)pParams->SampleRate,2); in LVDBE_Control()
[all …]
DLVDBE_Init.c227 pInstance->Params.SampleRate = LVDBE_FS_8000; in LVDBE_Init()
301 LVDBE_BYPASS_MIXER_TC,(LVM_Fs_en)pInstance->Params.SampleRate,2); in LVDBE_Init()
313 LVDBE_BYPASS_MIXER_TC,(LVM_Fs_en)pInstance->Params.SampleRate,2); in LVDBE_Init()
317 LVDBE_BYPASS_MIXER_TC,(LVM_Fs_en)pInstance->Params.SampleRate, 2); in LVDBE_Init()
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Control.c150 …LVM_UINT32 fs = (LVM_UINT32)LVEQNB_SampleRateTab[(LVM_UINT16)pParams->SampleRate]; /* Sa… in LVEQNB_SetFilters()
248 LVEQNB_SinglePrecCoefs((LVM_UINT16)pInstance->Params.SampleRate, in LVEQNB_SetCoefficients()
267 LVEQNB_DoublePrecCoefs((LVM_UINT16)pInstance->Params.SampleRate, in LVEQNB_SetCoefficients()
287 LVEQNB_SinglePrecCoefs((LVM_UINT16)pInstance->Params.SampleRate, in LVEQNB_SetCoefficients()
401 if (pParams->SampleRate != pInstance->Params.SampleRate) in LVEQNB_Control()
403 …nt(&pInstance->BypassMixer.MixerStream[0],LVEQNB_BYPASS_MIXER_TC,(LVM_Fs_en)pParams->SampleRate,2); in LVEQNB_Control()
404 …nt(&pInstance->BypassMixer.MixerStream[1],LVEQNB_BYPASS_MIXER_TC,(LVM_Fs_en)pParams->SampleRate,2); in LVEQNB_Control()
411 (pInstance->Params.SampleRate != pParams->SampleRate ) || in LVEQNB_Control()
446 if (pInstance->Params.SampleRate != pParams->SampleRate) in LVEQNB_Control()
502 …nt(&pInstance->BypassMixer.MixerStream[0],LVEQNB_BYPASS_MIXER_TC,(LVM_Fs_en)pParams->SampleRate,2); in LVEQNB_Control()
[all …]
/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()
142 LVCS_BYPASS_MIXER_TC,pParams->SampleRate,2); in LVCS_Control()
144 LVCS_BYPASS_MIXER_TC,pParams->SampleRate,2); in LVCS_Control()
158 LVCS_BYPASS_MIXER_TC, pParams->SampleRate, 2); in LVCS_Control()
160 LVCS_BYPASS_MIXER_TC, pParams->SampleRate, 2); in LVCS_Control()
DLVCS_Equaliser.c77 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_EqualiserInit()
83 Offset = (LVM_UINT16)(pParams->SampleRate + (pParams->SpeakerType * (1 + LVM_FS_48000))); in LVCS_EqualiserInit()
137 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_EqualiserInit()
143 Offset = (LVM_UINT16)(pParams->SampleRate + (pParams->SpeakerType * (1+LVM_FS_48000))); in LVCS_EqualiserInit()
DLVCS_ReverbGenerator.c86 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()
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()
DLVCS_BypassMix.c129 …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()
207 …etTimeConstant(&pConfig->Mixer_Instance.MixerStream[1],LVCS_BYPASS_MIXER_TC,pParams->SampleRate,2); in LVCS_BypassMixInit()
240 LVCS_BYPASS_MIXER_TC, pParams->SampleRate, 2); in LVCS_BypassMixInit()
243 LVCS_BYPASS_MIXER_TC, pParams->SampleRate, 2); in LVCS_BypassMixInit()
DLVCS_StereoEnhancer.c76 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_SEnhancerInit()
83 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_SEnhancerInit()
107 Offset = (LVM_UINT16)(pParams->SampleRate); in LVCS_SEnhancerInit()
165 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_SEnhancerInit()
172 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_SEnhancerInit()
195 Offset = (LVM_UINT16)(pParams->SampleRate); in LVCS_SEnhancerInit()
DLVCS_Init.c193 pInstance->Params.SampleRate = LVM_FS_INVALID; in LVCS_Init()
/frameworks/av/media/libaudioclient/tests/
Dtrack_test_output_v1.0_ref_walleye.txt11 output(13) AF latency (50) AF frame count(960) AF SampleRate(48000)
22 output(13) AF latency (50) AF frame count(960) AF SampleRate(48000)
33 output(13) AF latency (50) AF frame count(960) AF SampleRate(48000)
44 output(13) AF latency (50) AF frame count(960) AF SampleRate(48000)
55 output(13) AF latency (50) AF frame count(960) AF SampleRate(48000)
66 output(13) AF latency (50) AF frame count(960) AF SampleRate(48000)
77 output(13) AF latency (50) AF frame count(960) AF SampleRate(48000)
88 output(13) AF latency (50) AF frame count(960) AF SampleRate(48000)
99 output(29) AF latency (80) AF frame count(1920) AF SampleRate(48000)
110 output(29) AF latency (80) AF frame count(1920) AF SampleRate(48000)
[all …]
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DFilter.h54 LVM_Fs_en SampleRate);
75 LVM_Fs_en SampleRate);
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp161 LVM_Fs_en SampleRate; member
640 LVM_Fs_en SampleRate; in Reverb_setConfig() local
660 SampleRate = LVM_FS_8000; in Reverb_setConfig()
663 SampleRate = LVM_FS_16000; in Reverb_setConfig()
666 SampleRate = LVM_FS_22050; in Reverb_setConfig()
669 SampleRate = LVM_FS_32000; in Reverb_setConfig()
672 SampleRate = LVM_FS_44100; in Reverb_setConfig()
675 SampleRate = LVM_FS_48000; in Reverb_setConfig()
679 SampleRate = LVM_FS_88200; in Reverb_setConfig()
682 SampleRate = LVM_FS_96000; in Reverb_setConfig()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/
DLVDBE.h256 LVDBE_Fs_en SampleRate; member
273 LVM_UINT16 SampleRate; /* Sampling rate capabilities */ member
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/
DLVEQNB.h271 LVEQNB_Fs_en SampleRate; member
287 LVM_UINT16 SampleRate; member
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp648 params.SampleRate = LVM_FS_44100; in LvmBundle_init()
652 pContext->pBundledContext->SampleRate = LVM_FS_44100; in LvmBundle_init()
1240 LVM_Fs_en SampleRate; in Effect_setConfig() local
1262 SampleRate = LVM_FS_8000; in Effect_setConfig()
1266 SampleRate = LVM_FS_16000; in Effect_setConfig()
1270 SampleRate = LVM_FS_22050; in Effect_setConfig()
1274 SampleRate = LVM_FS_32000; in Effect_setConfig()
1278 SampleRate = LVM_FS_44100; in Effect_setConfig()
1282 SampleRate = LVM_FS_48000; in Effect_setConfig()
1287 SampleRate = LVM_FS_88200; 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/libstagefright/codecs/common/include/
DvoAudio.h94 VO_S32 SampleRate; /*!< Sample rate */ member
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib/
DLVCS.h205 LVM_Fs_en SampleRate; /* Sampling rate */ member
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/
DLVM.h266 LVM_Fs_en SampleRate; /* Sample rate */ member
/frameworks/av/media/libeffects/lvm/tests/
Dlvmtest.cpp356 params->SampleRate = LVM_FS_44100; in LvmBundle_init()
361 pContext->pBundledContext->SampleRate = LVM_FS_44100; in LvmBundle_init()
569 params->SampleRate = sampleRate; in lvmControl()

12