/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | LVC_MixSoft_1St_2i_D16C31_SAT.c | 44 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 …]
|
D | LVC_MixSoft_1St_D16C31_SAT.c | 44 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()
|
D | LVC_MixInSoft_D16C31_SAT.c | 44 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()
|
D | LVC_MixSoft_2St_D16C31_SAT.c | 35 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()
|
D | LVC_Mixer.h | 46 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/ |
D | LVCS_BypassMix.c | 107 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 …]
|
D | LVCS_Control.c | 124 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()
|
D | LVCS_Init.c | 194 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()
|
D | LVCS_Process.c | 203 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/ |
D | LVDBE_Init.c | 238 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 …]
|
D | LVDBE_Control.c | 255 …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()
|
D | LVDBE_Process.c | 107 (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/ |
D | LVEQNB_Init.c | 307 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 …]
|
D | LVEQNB_Control.c | 359 …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/ |
D | LVM_Control.c | 404 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 …]
|
D | LVM_Init.c | 593 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 …]
|