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.c44 Mix_Private_st *pInstance1=(Mix_Private_st *)(ptrInstance->MixerStream[0].PrivateParams); in LVC_MixSoft_1St_2i_D16C31_SAT()
45 Mix_Private_st *pInstance2=(Mix_Private_st *)(ptrInstance->MixerStream[1].PrivateParams); in LVC_MixSoft_1St_2i_D16C31_SAT()
58 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]),TargetGain); in LVC_MixSoft_1St_2i_D16C31_SAT()
64 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]),TargetGain); in LVC_MixSoft_1St_2i_D16C31_SAT()
78 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[1]),TargetGain); in LVC_MixSoft_1St_2i_D16C31_SAT()
84 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[1]),TargetGain); in LVC_MixSoft_1St_2i_D16C31_SAT()
95 …LVC_Core_MixSoft_1St_2i_D16C31_WRA( &(ptrInstance->MixerStream[0]),&(ptrInstance->MixerStream[1]),… in LVC_MixSoft_1St_2i_D16C31_SAT()
114 …LVC_Core_MixHard_1St_2i_D16C31_SAT(&(ptrInstance->MixerStream[0]),&(ptrInstance->MixerStream[1]), … in LVC_MixSoft_1St_2i_D16C31_SAT()
122 if (ptrInstance->MixerStream[0].CallbackSet) in LVC_MixSoft_1St_2i_D16C31_SAT()
128 LVC_Mixer_SetTarget(&ptrInstance->MixerStream[0],TargetGain); in LVC_MixSoft_1St_2i_D16C31_SAT()
[all …]
DLVC_MixSoft_1St_D16C31_SAT.c44 Mix_Private_st *pInstance=(Mix_Private_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()
60 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]),TargetGain); in LVC_MixSoft_1St_D16C31_SAT()
66 LVC_Core_MixSoft_1St_D16C31_WRA( &(ptrInstance->MixerStream[0]), dst, dst, n); in LVC_MixSoft_1St_D16C31_SAT()
69 LVC_Core_MixSoft_1St_D16C31_WRA( &(ptrInstance->MixerStream[0]), src, dst, n); in LVC_MixSoft_1St_D16C31_SAT()
98 if (ptrInstance->MixerStream[0].CallbackSet){ in LVC_MixSoft_1St_D16C31_SAT()
102 LVC_Mixer_SetTarget(ptrInstance->MixerStream,TargetGain); in LVC_MixSoft_1St_D16C31_SAT()
103 ptrInstance->MixerStream[0].CallbackSet = FALSE; in LVC_MixSoft_1St_D16C31_SAT()
104 if (ptrInstance->MixerStream[0].pCallBack != 0){ in LVC_MixSoft_1St_D16C31_SAT()
105 …ance->MixerStream[0].pCallBack) ( ptrInstance->MixerStream[0].pCallbackHandle, ptrInstance->MixerS… in LVC_MixSoft_1St_D16C31_SAT()
DLVC_MixInSoft_D16C31_SAT.c44 Mix_Private_st *pInstance=(Mix_Private_st *)(ptrInstance->MixerStream[0].PrivateParams); in LVC_MixInSoft_D16C31_SAT()
56 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]),TargetGain); in LVC_MixInSoft_D16C31_SAT()
60 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]),TargetGain); in LVC_MixInSoft_D16C31_SAT()
66 LVC_Core_MixInSoft_D16C31_SAT( &(ptrInstance->MixerStream[0]), src, dst, n); in LVC_MixInSoft_D16C31_SAT()
69 LVC_Core_MixInSoft_D16C31_SAT( &(ptrInstance->MixerStream[0]), src, dst, n); in LVC_MixInSoft_D16C31_SAT()
98 if (ptrInstance->MixerStream[0].CallbackSet){ in LVC_MixInSoft_D16C31_SAT()
102 LVC_Mixer_SetTarget(ptrInstance->MixerStream,TargetGain); in LVC_MixInSoft_D16C31_SAT()
103 ptrInstance->MixerStream[0].CallbackSet = FALSE; in LVC_MixInSoft_D16C31_SAT()
104 if (ptrInstance->MixerStream[0].pCallBack != 0){ in LVC_MixInSoft_D16C31_SAT()
105 …ance->MixerStream[0].pCallBack) ( ptrInstance->MixerStream[0].pCallbackHandle, ptrInstance->MixerS… in LVC_MixInSoft_D16C31_SAT()
DLVC_MixSoft_2St_D16C31_SAT.c35 Mix_Private_st *pInstance1=(Mix_Private_st *)(ptrInstance->MixerStream[0].PrivateParams); in LVC_MixSoft_2St_D16C31_SAT()
36 Mix_Private_st *pInstance2=(Mix_Private_st *)(ptrInstance->MixerStream[1].PrivateParams); in LVC_MixSoft_2St_D16C31_SAT()
44 … LVC_MixSoft_1St_D16C31_SAT( (LVMixer3_1St_st *)(&ptrInstance->MixerStream[1]), src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
47 … LVC_MixSoft_1St_D16C31_SAT( (LVMixer3_1St_st *)(&ptrInstance->MixerStream[0]), src1, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
51 LVC_MixSoft_1St_D16C31_SAT((LVMixer3_1St_st *)(&ptrInstance->MixerStream[0]), src1, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
52 LVC_MixInSoft_D16C31_SAT( (LVMixer3_1St_st *)(&ptrInstance->MixerStream[1]), src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
63 …LVC_Core_MixHard_2St_D16C31_SAT( &ptrInstance->MixerStream[0], &ptrInstance->MixerStream[1], dst, … in LVC_MixSoft_2St_D16C31_SAT()
66 …LVC_Core_MixHard_2St_D16C31_SAT( &ptrInstance->MixerStream[0], &ptrInstance->MixerStream[1], src1,… in LVC_MixSoft_2St_D16C31_SAT()
DLVC_Mixer.h46 LVMixer3_st MixerStream[1]; /* Instance Params for one Audio Stream */ member
51 LVMixer3_st MixerStream[2]; /* Instance Params for two Audio Streams */ member
56 LVMixer3_st MixerStream[3]; /* Instance Params for three Audio Streams */ member
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_BypassMix.c107 pConfig->Mixer_Instance.MixerStream[0].CallbackParam = 0; in LVCS_BypassMixInit()
108 pConfig->Mixer_Instance.MixerStream[0].pCallbackHandle = LVM_NULL; in LVCS_BypassMixInit()
109 pConfig->Mixer_Instance.MixerStream[0].pCallBack = LVM_NULL; in LVCS_BypassMixInit()
110 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_INT32)(Gain >> 15),Current); in LVCS_BypassMixInit()
113 …LVC_Mixer_VarSlope_SetTimeConstant(&pConfig->Mixer_Instance.MixerStream[0],LVCS_BYPASS_MIXER_TC,pP… in LVCS_BypassMixInit()
119 Current = LVC_Mixer_GetCurrent(&pConfig->Mixer_Instance.MixerStream[1]); in LVCS_BypassMixInit()
120 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[1],(LVM_INT32)(Gain >> 15),Current); in LVCS_BypassMixInit()
121 …LVC_Mixer_VarSlope_SetTimeConstant(&pConfig->Mixer_Instance.MixerStream[1],LVCS_BYPASS_MIXER_TC,pP… in LVCS_BypassMixInit()
[all …]
DLVCS_Control.c124 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[0],0,0); in LVCS_Control()
138 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[1],0,Gain); in LVCS_Control()
139 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->BypassMix.Mixer_Instance.MixerStream[0], in LVCS_Control()
141 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->BypassMix.Mixer_Instance.MixerStream[1], in LVCS_Control()
DLVCS_Init.c194 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[0],0,0); in LVCS_Init()
196 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[1],0,0); in LVCS_Init()
DLVCS_Process.c203 Current1 = LVC_Mixer_GetCurrent(&pInstance->BypassMix.Mixer_Instance.MixerStream[0]); in LVCS_Process()
291 (pInstance->BypassMix.Mixer_Instance.MixerStream[1].CallbackSet == 0)) in LVCS_Process()
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Init.c238 LVC_Mixer_Init(&pMixer_Instance->MixerStream[0],0x00007FFF,0x00007FFF); in LVDBE_Init()
249 MixGain = LVC_Mixer_GetTarget(&pMixer_Instance->MixerStream[0]); in LVDBE_Init()
250 LVC_Mixer_Init(&pMixer_Instance->MixerStream[0],MixGain,MixGain); in LVDBE_Init()
253 pMixer_Instance->MixerStream[0].CallbackParam = 0; in LVDBE_Init()
254 pMixer_Instance->MixerStream[0].pCallbackHandle = LVM_NULL; in LVDBE_Init()
255 pMixer_Instance->MixerStream[0].pCallBack = LVM_NULL; in LVDBE_Init()
256 pMixer_Instance->MixerStream[0].CallbackSet = 0; in LVDBE_Init()
267 pBypassMixer_Instance->MixerStream[0].CallbackParam = 0; in LVDBE_Init()
268 pBypassMixer_Instance->MixerStream[0].pCallbackHandle = LVM_NULL; in LVDBE_Init()
269 pBypassMixer_Instance->MixerStream[0].pCallBack = LVM_NULL; in LVDBE_Init()
[all …]
DLVDBE_Control.c255 …LVC_Mixer_SetTarget(&pInstance->pData->BypassVolume.MixerStream[0],(((LVM_INT32)LVDBE_VolumeTable[… in LVDBE_SetVolume()
259 …LVC_Mixer_SetTarget(&pInstance->pData->BypassVolume.MixerStream[0],(LVM_INT32)LVDBE_VolumeTable[dB… in LVDBE_SetVolume()
262 pInstance->pData->BypassVolume.MixerStream[0].CallbackSet = 1; in LVDBE_SetVolume()
263 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->pData->BypassVolume.MixerStream[0], in LVDBE_SetVolume()
336 LVC_Mixer_SetTimeConstant(&pBypassMixer_Instance->MixerStream[0], in LVDBE_Control()
339 LVC_Mixer_SetTimeConstant(&pBypassMixer_Instance->MixerStream[1], in LVDBE_Control()
360 LVC_Mixer_SetTarget(&pInstance->pData->BypassMixer.MixerStream[0],0); in LVDBE_Control()
361 LVC_Mixer_SetTarget(&pInstance->pData->BypassMixer.MixerStream[1],0x00007FFF); in LVDBE_Control()
365 LVC_Mixer_SetTarget(&pInstance->pData->BypassMixer.MixerStream[0],0x00007FFF); in LVDBE_Control()
366 LVC_Mixer_SetTarget(&pInstance->pData->BypassMixer.MixerStream[1],0); in LVDBE_Control()
DLVDBE_Process.c107 (LVC_Mixer_GetCurrent(&pInstance->pData->BypassMixer.MixerStream[0]) in LVDBE_Process()
108 !=LVC_Mixer_GetTarget(&pInstance->pData->BypassMixer.MixerStream[0]))) in LVDBE_Process()
172 (LVC_Mixer_GetCurrent(&pInstance->pData->BypassMixer.MixerStream[1]) in LVDBE_Process()
173 !=LVC_Mixer_GetTarget(&pInstance->pData->BypassMixer.MixerStream[1]))) in LVDBE_Process()
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Init.c307 pInstance->BypassMixer.MixerStream[0].CallbackSet = 0; in LVEQNB_Init()
308 pInstance->BypassMixer.MixerStream[0].CallbackParam = 0; in LVEQNB_Init()
309 pInstance->BypassMixer.MixerStream[0].pCallbackHandle = (void*)pInstance; in LVEQNB_Init()
310 pInstance->BypassMixer.MixerStream[0].pCallBack = LVEQNB_BypassMixerCallBack; in LVEQNB_Init()
311 LVC_Mixer_Init(&pInstance->BypassMixer.MixerStream[0],0,0); in LVEQNB_Init()
312 LVC_Mixer_SetTimeConstant(&pInstance->BypassMixer.MixerStream[0],0,LVM_FS_8000,2); in LVEQNB_Init()
314 pInstance->BypassMixer.MixerStream[1].CallbackSet = 1; in LVEQNB_Init()
315 pInstance->BypassMixer.MixerStream[1].CallbackParam = 0; in LVEQNB_Init()
316 pInstance->BypassMixer.MixerStream[1].pCallbackHandle = LVM_NULL; in LVEQNB_Init()
317 pInstance->BypassMixer.MixerStream[1].pCallBack = LVM_NULL; in LVEQNB_Init()
[all …]
DLVEQNB_Control.c359 …LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->BypassMixer.MixerStream[0],LVEQNB_BYPASS_MIXER_TC,(… in LVEQNB_Control()
360 …LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->BypassMixer.MixerStream[1],LVEQNB_BYPASS_MIXER_TC,(… in LVEQNB_Control()
425 LVC_Mixer_SetTarget(&pInstance->BypassMixer.MixerStream[0],LVM_MAXINT_16); in LVEQNB_Control()
426 LVC_Mixer_SetTarget(&pInstance->BypassMixer.MixerStream[1],0); in LVEQNB_Control()
428 pInstance->BypassMixer.MixerStream[0].CallbackSet = 1; in LVEQNB_Control()
429 pInstance->BypassMixer.MixerStream[1].CallbackSet = 1; in LVEQNB_Control()
436 LVC_Mixer_SetTarget(&pInstance->BypassMixer.MixerStream[0],0); in LVEQNB_Control()
437 LVC_Mixer_SetTarget(&pInstance->BypassMixer.MixerStream[1],LVM_MAXINT_16); in LVEQNB_Control()
438 pInstance->BypassMixer.MixerStream[0].CallbackSet = 1; in LVEQNB_Control()
439 pInstance->BypassMixer.MixerStream[1].CallbackSet = 1; in LVEQNB_Control()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Control.c404 LVC_Mixer_SetTarget(&pInstance->VC_Volume.MixerStream[0], in LVM_SetVolume()
409 LVC_Mixer_SetTarget(&pInstance->VC_Volume.MixerStream[0], in LVM_SetVolume()
412 pInstance->VC_Volume.MixerStream[0].CallbackSet = 1; in LVM_SetVolume()
415 … LVC_Mixer_SetTimeConstant(&pInstance->VC_Volume.MixerStream[0],0,pInstance->Params.SampleRate,2); in LVM_SetVolume()
419 …LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->VC_Volume.MixerStream[0],LVM_VC_MIXER_TIME,pInstanc… in LVM_SetVolume()
560 LVC_Mixer_SetTarget(&pInstance->VC_BalanceMix.MixerStream[0],Target); in LVM_ApplyNewSettings()
561 …LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->VC_BalanceMix.MixerStream[0],LVM_VC_MIXER_TIME,Loca… in LVM_ApplyNewSettings()
564 LVC_Mixer_SetTarget(&pInstance->VC_BalanceMix.MixerStream[1],Target); in LVM_ApplyNewSettings()
565 …LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->VC_BalanceMix.MixerStream[1],LVM_VC_MIXER_TIME,Loca… in LVM_ApplyNewSettings()
572 LVC_Mixer_SetTarget(&pInstance->VC_BalanceMix.MixerStream[0],Target); in LVM_ApplyNewSettings()
[all …]
DLVM_Init.c593 pInstance->VC_Volume.MixerStream[0].CallbackParam = 0; in LVM_GetInstanceHandle()
594 pInstance->VC_Volume.MixerStream[0].CallbackSet = 0; in LVM_GetInstanceHandle()
595 pInstance->VC_Volume.MixerStream[0].pCallbackHandle = pInstance; in LVM_GetInstanceHandle()
596 pInstance->VC_Volume.MixerStream[0].pCallBack = LVM_VCCallBack; in LVM_GetInstanceHandle()
601 LVC_Mixer_Init(&pInstance->VC_Volume.MixerStream[0],0,0); in LVM_GetInstanceHandle()
605 LVC_Mixer_Init(&pInstance->VC_Volume.MixerStream[0],LVM_MAXINT_16,LVM_MAXINT_16); in LVM_GetInstanceHandle()
608 LVC_Mixer_SetTimeConstant(&pInstance->VC_Volume.MixerStream[0],0,LVM_FS_8000,2); in LVM_GetInstanceHandle()
614 pInstance->VC_BalanceMix.MixerStream[0].CallbackParam = 0; in LVM_GetInstanceHandle()
615 pInstance->VC_BalanceMix.MixerStream[0].CallbackSet = 0; in LVM_GetInstanceHandle()
616 pInstance->VC_BalanceMix.MixerStream[0].pCallbackHandle = pInstance; in LVM_GetInstanceHandle()
[all …]