Home
last modified time | relevance | path

Searched refs:MixerStream (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVC_MixSoft_1St_2i_D16C31_SAT.cpp57 (Mix_Private_FLOAT_st *)(ptrInstance->MixerStream[0].PrivateParams); in LVC_MixSoft_1St_MC_float_SAT()
59 (Mix_Private_FLOAT_st *)(ptrInstance->MixerStream[1].PrivateParams); in LVC_MixSoft_1St_MC_float_SAT()
141 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]), TargetGain); in LVC_MixSoft_1St_MC_float_SAT()
157 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[1]), TargetGain); in LVC_MixSoft_1St_MC_float_SAT()
197 if (ptrInstance->MixerStream[0].CallbackSet) in LVC_MixSoft_1St_MC_float_SAT()
204 LVC_Mixer_SetTarget(&ptrInstance->MixerStream[0], TargetGain); in LVC_MixSoft_1St_MC_float_SAT()
205 ptrInstance->MixerStream[0].CallbackSet = FALSE; in LVC_MixSoft_1St_MC_float_SAT()
206 if (ptrInstance->MixerStream[0].pCallBack != 0) in LVC_MixSoft_1St_MC_float_SAT()
208 (*ptrInstance->MixerStream[0].pCallBack) (\ in LVC_MixSoft_1St_MC_float_SAT()
209 ptrInstance->MixerStream[0].pCallbackHandle, in LVC_MixSoft_1St_MC_float_SAT()
[all …]
DLVC_MixSoft_1St_D16C31_SAT.cpp44 (Mix_Private_FLOAT_st *)(ptrInstance->MixerStream[0].PrivateParams); in LVC_MixSoft_1St_D16C31_SAT()
56 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]), TargetGain); in LVC_MixSoft_1St_D16C31_SAT()
61 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]), TargetGain); in LVC_MixSoft_1St_D16C31_SAT()
65 LVC_Core_MixSoft_1St_D16C31_WRA(&(ptrInstance->MixerStream[0]), src, dst, n); in LVC_MixSoft_1St_D16C31_SAT()
89 if (ptrInstance->MixerStream[0].CallbackSet){ in LVC_MixSoft_1St_D16C31_SAT()
94 LVC_Mixer_SetTarget(ptrInstance->MixerStream, TargetGain); in LVC_MixSoft_1St_D16C31_SAT()
95 ptrInstance->MixerStream[0].CallbackSet = FALSE; in LVC_MixSoft_1St_D16C31_SAT()
96 if (ptrInstance->MixerStream[0].pCallBack != 0){ in LVC_MixSoft_1St_D16C31_SAT()
97 (*ptrInstance->MixerStream[0].pCallBack) ( \ in LVC_MixSoft_1St_D16C31_SAT()
98 ptrInstance->MixerStream[0].pCallbackHandle, in LVC_MixSoft_1St_D16C31_SAT()
[all …]
DLVC_MixInSoft_D16C31_SAT.cpp44 (Mix_Private_FLOAT_st *)(ptrInstance->MixerStream[0].PrivateParams); in LVC_MixInSoft_D16C31_SAT()
56 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]), TargetGain); in LVC_MixInSoft_D16C31_SAT()
61 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]), TargetGain); in LVC_MixInSoft_D16C31_SAT()
65 LVC_Core_MixInSoft_D16C31_SAT(&(ptrInstance->MixerStream[0]), src, dst, n); in LVC_MixInSoft_D16C31_SAT()
90 if (ptrInstance->MixerStream[0].CallbackSet){ in LVC_MixInSoft_D16C31_SAT()
95 LVC_Mixer_SetTarget(ptrInstance->MixerStream, TargetGain); in LVC_MixInSoft_D16C31_SAT()
96 ptrInstance->MixerStream[0].CallbackSet = FALSE; in LVC_MixInSoft_D16C31_SAT()
97 if (ptrInstance->MixerStream[0].pCallBack != 0){ in LVC_MixInSoft_D16C31_SAT()
98 (*ptrInstance->MixerStream[0].pCallBack) ( \ in LVC_MixInSoft_D16C31_SAT()
99 ptrInstance->MixerStream[0].pCallbackHandle, in LVC_MixInSoft_D16C31_SAT()
[all …]
DLVC_MixSoft_2St_D16C31_SAT.cpp35 (Mix_Private_FLOAT_st *)(ptrInstance->MixerStream[0].PrivateParams); in LVC_MixSoft_2St_D16C31_SAT()
37 (Mix_Private_FLOAT_st *)(ptrInstance->MixerStream[1].PrivateParams); in LVC_MixSoft_2St_D16C31_SAT()
45 LVC_MixSoft_1St_D16C31_SAT((LVMixer3_1St_FLOAT_st *)(&ptrInstance->MixerStream[1]), in LVC_MixSoft_2St_D16C31_SAT()
49 LVC_MixSoft_1St_D16C31_SAT((LVMixer3_1St_FLOAT_st *)(&ptrInstance->MixerStream[0]), in LVC_MixSoft_2St_D16C31_SAT()
55 LVC_MixSoft_1St_D16C31_SAT((LVMixer3_1St_FLOAT_st *)(&ptrInstance->MixerStream[0]), in LVC_MixSoft_2St_D16C31_SAT()
57 LVC_MixInSoft_D16C31_SAT((LVMixer3_1St_FLOAT_st *)(&ptrInstance->MixerStream[1]), in LVC_MixSoft_2St_D16C31_SAT()
64 LVC_Core_MixHard_2St_D16C31_SAT( &ptrInstance->MixerStream[0], in LVC_MixSoft_2St_D16C31_SAT()
65 &ptrInstance->MixerStream[1], in LVC_MixSoft_2St_D16C31_SAT()
97 (Mix_Private_FLOAT_st *)(ptrInstance->MixerStream[0].PrivateParams); in LVC_MixSoft_2Mc_D16C31_SAT()
99 (Mix_Private_FLOAT_st *)(ptrInstance->MixerStream[1].PrivateParams); in LVC_MixSoft_2Mc_D16C31_SAT()
[all …]
DLVC_Mixer.h41 LVMixer3_FLOAT_st MixerStream[1]; /* Instance Params for one Audio Stream */ member
45 LVMixer3_FLOAT_st MixerStream[2]; /* Instance Params for two Audio Streams */ member
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_BypassMix.cpp106 pConfig->Mixer_Instance.MixerStream[0].CallbackParam = 0; in LVCS_BypassMixInit()
107 pConfig->Mixer_Instance.MixerStream[0].pCallbackHandle = LVM_NULL; in LVCS_BypassMixInit()
108 pConfig->Mixer_Instance.MixerStream[0].pCallBack = LVM_NULL; in LVCS_BypassMixInit()
109 pConfig->Mixer_Instance.MixerStream[0].CallbackSet=1; in LVCS_BypassMixInit()
111 Current = LVC_Mixer_GetCurrent(&pConfig->Mixer_Instance.MixerStream[0]); in LVCS_BypassMixInit()
112 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[0], (LVM_FLOAT)(Gain), Current); in LVCS_BypassMixInit()
113 LVC_Mixer_VarSlope_SetTimeConstant(&pConfig->Mixer_Instance.MixerStream[0], in LVCS_BypassMixInit()
122 Current = LVC_Mixer_GetCurrent(&pConfig->Mixer_Instance.MixerStream[1]); in LVCS_BypassMixInit()
123 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[1], (LVM_FLOAT)(Gain), Current); in LVCS_BypassMixInit()
124 LVC_Mixer_VarSlope_SetTimeConstant(&pConfig->Mixer_Instance.MixerStream[1], in LVCS_BypassMixInit()
[all …]
DLVCS_Control.cpp122 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[0], 0, 0); in LVCS_Control()
134 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[1], 0, Gain); in LVCS_Control()
135 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->BypassMix.Mixer_Instance.MixerStream[0], in LVCS_Control()
137 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->BypassMix.Mixer_Instance.MixerStream[1], in LVCS_Control()
DLVCS_Init.cpp192 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[0],0,0); in LVCS_Init()
194 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[1],0,0); in LVCS_Init()
DLVCS_Process.cpp285 Current1 = LVC_Mixer_GetCurrent(&pInstance->BypassMix.Mixer_Instance.MixerStream[0]); in LVCS_Process()
383 (pInstance->BypassMix.Mixer_Instance.MixerStream[1].CallbackSet == 0)) in LVCS_Process()
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Init.cpp231 LVC_Mixer_Init(&pMixer_Instance->MixerStream[0], 1.0, 1.0); in LVDBE_Init()
241 MixGain = LVC_Mixer_GetTarget(&pMixer_Instance->MixerStream[0]); in LVDBE_Init()
242 LVC_Mixer_Init(&pMixer_Instance->MixerStream[0], MixGain, MixGain); in LVDBE_Init()
245 pMixer_Instance->MixerStream[0].CallbackParam = 0; in LVDBE_Init()
246 pMixer_Instance->MixerStream[0].pCallbackHandle = LVM_NULL; in LVDBE_Init()
247 pMixer_Instance->MixerStream[0].pCallBack = LVM_NULL; in LVDBE_Init()
248 pMixer_Instance->MixerStream[0].CallbackSet = 0; in LVDBE_Init()
259 pBypassMixer_Instance->MixerStream[0].CallbackParam = 0; in LVDBE_Init()
260 pBypassMixer_Instance->MixerStream[0].pCallbackHandle = LVM_NULL; in LVDBE_Init()
261 pBypassMixer_Instance->MixerStream[0].pCallBack = LVM_NULL; in LVDBE_Init()
[all …]
DLVDBE_Control.cpp242 LVC_Mixer_SetTarget(&pInstance->pData->BypassVolume.MixerStream[0], in LVDBE_SetVolume()
247 LVC_Mixer_SetTarget(&pInstance->pData->BypassVolume.MixerStream[0], in LVDBE_SetVolume()
251 pInstance->pData->BypassVolume.MixerStream[0].CallbackSet = 1; in LVDBE_SetVolume()
252 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->pData->BypassVolume.MixerStream[0], in LVDBE_SetVolume()
321 LVC_Mixer_SetTimeConstant(&pBypassMixer_Instance->MixerStream[0], in LVDBE_Control()
324 LVC_Mixer_SetTimeConstant(&pBypassMixer_Instance->MixerStream[1], in LVDBE_Control()
343 LVC_Mixer_SetTarget(&pInstance->pData->BypassMixer.MixerStream[0], 0); in LVDBE_Control()
344 LVC_Mixer_SetTarget(&pInstance->pData->BypassMixer.MixerStream[1], 1.0f); in LVDBE_Control()
348 LVC_Mixer_SetTarget(&pInstance->pData->BypassMixer.MixerStream[0], 1.0f); in LVDBE_Control()
349 LVC_Mixer_SetTarget(&pInstance->pData->BypassMixer.MixerStream[1], 0); in LVDBE_Control()
DLVDBE_Process.cpp126 (LVC_Mixer_GetCurrent(&pInstance->pData->BypassMixer.MixerStream[0]) in LVDBE_Process()
127 !=LVC_Mixer_GetTarget(&pInstance->pData->BypassMixer.MixerStream[0]))) in LVDBE_Process()
208 (LVC_Mixer_GetCurrent(&pInstance->pData->BypassMixer.MixerStream[1]) in LVDBE_Process()
209 !=LVC_Mixer_GetTarget(&pInstance->pData->BypassMixer.MixerStream[1]))) in LVDBE_Process()
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Control.cpp307 …LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->BypassMixer.MixerStream[0],LVEQNB_BYPASS_MIXER_TC,(… in LVEQNB_Control()
308 …LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->BypassMixer.MixerStream[1],LVEQNB_BYPASS_MIXER_TC,(… in LVEQNB_Control()
341 && LVC_Mixer_GetTarget(&pInstance->BypassMixer.MixerStream[0]) == 0); in LVEQNB_Control()
377 LVC_Mixer_SetTarget(&pInstance->BypassMixer.MixerStream[0], 1.0f); in LVEQNB_Control()
378 LVC_Mixer_SetTarget(&pInstance->BypassMixer.MixerStream[1], 0.0f); in LVEQNB_Control()
379 pInstance->BypassMixer.MixerStream[0].CallbackSet = 1; in LVEQNB_Control()
380 pInstance->BypassMixer.MixerStream[1].CallbackSet = 1; in LVEQNB_Control()
388 LVC_Mixer_SetTarget(&pInstance->BypassMixer.MixerStream[0], 0.0f); in LVEQNB_Control()
389 LVC_Mixer_SetTarget(&pInstance->BypassMixer.MixerStream[1], 1.0f); in LVEQNB_Control()
390 pInstance->BypassMixer.MixerStream[0].CallbackSet = 1; in LVEQNB_Control()
[all …]
DLVEQNB_Init.cpp303 pInstance->BypassMixer.MixerStream[0].CallbackSet = 0; in LVEQNB_Init()
304 pInstance->BypassMixer.MixerStream[0].CallbackParam = 0; in LVEQNB_Init()
305 pInstance->BypassMixer.MixerStream[0].pCallbackHandle = (void*)pInstance; in LVEQNB_Init()
306 pInstance->BypassMixer.MixerStream[0].pCallBack = LVEQNB_BypassMixerCallBack; in LVEQNB_Init()
308 LVC_Mixer_Init(&pInstance->BypassMixer.MixerStream[0],0,0); in LVEQNB_Init()
309 LVC_Mixer_SetTimeConstant(&pInstance->BypassMixer.MixerStream[0],0,LVM_FS_8000,2); in LVEQNB_Init()
311 pInstance->BypassMixer.MixerStream[1].CallbackSet = 1; in LVEQNB_Init()
312 pInstance->BypassMixer.MixerStream[1].CallbackParam = 0; in LVEQNB_Init()
313 pInstance->BypassMixer.MixerStream[1].pCallbackHandle = LVM_NULL; in LVEQNB_Init()
314 pInstance->BypassMixer.MixerStream[1].pCallBack = LVM_NULL; in LVEQNB_Init()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Control.cpp414 LVC_Mixer_SetTarget(&pInstance->VC_Volume.MixerStream[0], in LVM_SetVolume()
424 LVC_Mixer_SetTarget(&pInstance->VC_Volume.MixerStream[0], Temp); in LVM_SetVolume()
426 pInstance->VC_Volume.MixerStream[0].CallbackSet = 1; in LVM_SetVolume()
429 LVC_Mixer_SetTimeConstant(&pInstance->VC_Volume.MixerStream[0], 0, in LVM_SetVolume()
434 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->VC_Volume.MixerStream[0], in LVM_SetVolume()
578 LVC_Mixer_SetTarget(&pInstance->VC_BalanceMix.MixerStream[0], Target_Float); in LVM_ApplyNewSettings()
579 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->VC_BalanceMix.MixerStream[0], in LVM_ApplyNewSettings()
583 LVC_Mixer_SetTarget(&pInstance->VC_BalanceMix.MixerStream[1], Target_Float); in LVM_ApplyNewSettings()
584 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->VC_BalanceMix.MixerStream[1], in LVM_ApplyNewSettings()
592 LVC_Mixer_SetTarget(&pInstance->VC_BalanceMix.MixerStream[0], Target_Float); in LVM_ApplyNewSettings()
[all …]
DLVM_Init.cpp666 pInstance->VC_Volume.MixerStream[0].CallbackParam = 0; in LVM_GetInstanceHandle()
667 pInstance->VC_Volume.MixerStream[0].CallbackSet = 0; in LVM_GetInstanceHandle()
668 pInstance->VC_Volume.MixerStream[0].pCallbackHandle = pInstance; in LVM_GetInstanceHandle()
669 pInstance->VC_Volume.MixerStream[0].pCallBack = LVM_VCCallBack; in LVM_GetInstanceHandle()
674 LVC_Mixer_Init(&pInstance->VC_Volume.MixerStream[0], 0, 0); in LVM_GetInstanceHandle()
678 LVC_Mixer_Init(&pInstance->VC_Volume.MixerStream[0], LVM_MAXFLOAT, LVM_MAXFLOAT); in LVM_GetInstanceHandle()
681 LVC_Mixer_SetTimeConstant(&pInstance->VC_Volume.MixerStream[0],0,LVM_FS_8000,2); in LVM_GetInstanceHandle()
687 pInstance->VC_BalanceMix.MixerStream[0].CallbackParam = 0; in LVM_GetInstanceHandle()
688 pInstance->VC_BalanceMix.MixerStream[0].CallbackSet = 0; in LVM_GetInstanceHandle()
689 pInstance->VC_BalanceMix.MixerStream[0].pCallbackHandle = pInstance; in LVM_GetInstanceHandle()
[all …]