/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
LVC_MixSoft_1St_2i_D16C31_SAT.c | 44 Mix_Private_st *pInstance1=(Mix_Private_st *)(ptrInstance->MixerStream[0].PrivateParams); 45 Mix_Private_st *pInstance2=(Mix_Private_st *)(ptrInstance->MixerStream[1].PrivateParams); 58 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]),TargetGain); 64 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]),TargetGain); 78 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[1]),TargetGain); 84 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[1]),TargetGain); 95 LVC_Core_MixSoft_1St_2i_D16C31_WRA( &(ptrInstance->MixerStream[0]),&(ptrInstance->MixerStream[1]), src, dst, n); 114 LVC_Core_MixHard_1St_2i_D16C31_SAT(&(ptrInstance->MixerStream[0]),&(ptrInstance->MixerStream[1]), src, dst, n) [all...] |
LVC_MixSoft_2St_D16C31_SAT.c | 35 Mix_Private_st *pInstance1=(Mix_Private_st *)(ptrInstance->MixerStream[0].PrivateParams); 36 Mix_Private_st *pInstance2=(Mix_Private_st *)(ptrInstance->MixerStream[1].PrivateParams); 44 LVC_MixSoft_1St_D16C31_SAT( (LVMixer3_1St_st *)(&ptrInstance->MixerStream[1]), src2, dst, n); 47 LVC_MixSoft_1St_D16C31_SAT( (LVMixer3_1St_st *)(&ptrInstance->MixerStream[0]), src1, dst, n); 51 LVC_MixSoft_1St_D16C31_SAT((LVMixer3_1St_st *)(&ptrInstance->MixerStream[0]), src1, dst, n); 52 LVC_MixInSoft_D16C31_SAT( (LVMixer3_1St_st *)(&ptrInstance->MixerStream[1]), src2, dst, n); 63 LVC_Core_MixHard_2St_D16C31_SAT( &ptrInstance->MixerStream[0], &ptrInstance->MixerStream[1], dst, src2, dst, n); 66 LVC_Core_MixHard_2St_D16C31_SAT( &ptrInstance->MixerStream[0], &ptrInstance->MixerStream[1], src1, src2, dst, n) [all...] |
LVC_MixInSoft_D16C31_SAT.c | 44 Mix_Private_st *pInstance=(Mix_Private_st *)(ptrInstance->MixerStream[0].PrivateParams); 56 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]),TargetGain); 60 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]),TargetGain); 66 LVC_Core_MixInSoft_D16C31_SAT( &(ptrInstance->MixerStream[0]), src, dst, n); 69 LVC_Core_MixInSoft_D16C31_SAT( &(ptrInstance->MixerStream[0]), src, dst, n); 98 if (ptrInstance->MixerStream[0].CallbackSet){ 102 LVC_Mixer_SetTarget(ptrInstance->MixerStream,TargetGain); 103 ptrInstance->MixerStream[0].CallbackSet = FALSE; 104 if (ptrInstance->MixerStream[0].pCallBack != 0){ 105 (*ptrInstance->MixerStream[0].pCallBack) ( ptrInstance->MixerStream[0].pCallbackHandle, ptrInstance->MixerStream[0].pGeneralP (…) [all...] |
LVC_MixSoft_1St_D16C31_SAT.c | 44 Mix_Private_st *pInstance=(Mix_Private_st *)(ptrInstance->MixerStream[0].PrivateParams); 56 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]),TargetGain); 60 LVC_Mixer_SetTarget(&(ptrInstance->MixerStream[0]),TargetGain); 66 LVC_Core_MixSoft_1St_D16C31_WRA( &(ptrInstance->MixerStream[0]), dst, dst, n); 69 LVC_Core_MixSoft_1St_D16C31_WRA( &(ptrInstance->MixerStream[0]), src, dst, n); 98 if (ptrInstance->MixerStream[0].CallbackSet){ 102 LVC_Mixer_SetTarget(ptrInstance->MixerStream,TargetGain); 103 ptrInstance->MixerStream[0].CallbackSet = FALSE; 104 if (ptrInstance->MixerStream[0].pCallBack != 0){ 105 (*ptrInstance->MixerStream[0].pCallBack) ( ptrInstance->MixerStream[0].pCallbackHandle, ptrInstance->MixerStream[0].pGeneralP (…) [all...] |
LVC_Mixer.h | 46 LVMixer3_st MixerStream[1]; /* Instance Params for one Audio Stream */ 51 LVMixer3_st MixerStream[2]; /* Instance Params for two Audio Streams */ 56 LVMixer3_st MixerStream[3]; /* Instance Params for three Audio Streams */ 119 /* MixerStream[0] applies to Left channel */ 120 /* MixerStream[1] applies to Right channel */
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
LVDBE_Init.c | 238 LVC_Mixer_Init(&pMixer_Instance->MixerStream[0],0x00007FFF,0x00007FFF); 249 MixGain = LVC_Mixer_GetTarget(&pMixer_Instance->MixerStream[0]); 250 LVC_Mixer_Init(&pMixer_Instance->MixerStream[0],MixGain,MixGain); 253 pMixer_Instance->MixerStream[0].CallbackParam = 0; 254 pMixer_Instance->MixerStream[0].pCallbackHandle = LVM_NULL; 255 pMixer_Instance->MixerStream[0].pCallBack = LVM_NULL; 256 pMixer_Instance->MixerStream[0].CallbackSet = 0; 267 pBypassMixer_Instance->MixerStream[0].CallbackParam = 0; 268 pBypassMixer_Instance->MixerStream[0].pCallbackHandle = LVM_NULL; 269 pBypassMixer_Instance->MixerStream[0].pCallBack = LVM_NULL [all...] |
LVDBE_Process.c | 107 (LVC_Mixer_GetCurrent(&pInstance->pData->BypassMixer.MixerStream[0]) 108 !=LVC_Mixer_GetTarget(&pInstance->pData->BypassMixer.MixerStream[0]))) 172 (LVC_Mixer_GetCurrent(&pInstance->pData->BypassMixer.MixerStream[1]) 173 !=LVC_Mixer_GetTarget(&pInstance->pData->BypassMixer.MixerStream[1])))
|
LVDBE_Control.c | 255 LVC_Mixer_SetTarget(&pInstance->pData->BypassVolume.MixerStream[0],(((LVM_INT32)LVDBE_VolumeTable[dBOffset]) >> dBShifts)); 259 LVC_Mixer_SetTarget(&pInstance->pData->BypassVolume.MixerStream[0],(LVM_INT32)LVDBE_VolumeTable[dBOffset]); 262 pInstance->pData->BypassVolume.MixerStream[0].CallbackSet = 1; 263 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->pData->BypassVolume.MixerStream[0], 336 LVC_Mixer_SetTimeConstant(&pBypassMixer_Instance->MixerStream[0], 339 LVC_Mixer_SetTimeConstant(&pBypassMixer_Instance->MixerStream[1], 360 LVC_Mixer_SetTarget(&pInstance->pData->BypassMixer.MixerStream[0],0); 361 LVC_Mixer_SetTarget(&pInstance->pData->BypassMixer.MixerStream[1],0x00007FFF); 365 LVC_Mixer_SetTarget(&pInstance->pData->BypassMixer.MixerStream[0],0x00007FFF); 366 LVC_Mixer_SetTarget(&pInstance->pData->BypassMixer.MixerStream[1],0) [all...] |
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
LVCS_BypassMix.c | 107 pConfig->Mixer_Instance.MixerStream[0].CallbackParam = 0; 108 pConfig->Mixer_Instance.MixerStream[0].pCallbackHandle = LVM_NULL; 109 pConfig->Mixer_Instance.MixerStream[0].pCallBack = LVM_NULL; 110 pConfig->Mixer_Instance.MixerStream[0].CallbackSet=1; 111 Current = LVC_Mixer_GetCurrent(&pConfig->Mixer_Instance.MixerStream[0]); 112 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[0],(LVM_INT32)(Gain >> 15),Current); 113 LVC_Mixer_VarSlope_SetTimeConstant(&pConfig->Mixer_Instance.MixerStream[0],LVCS_BYPASS_MIXER_TC,pParams->SampleRate,2); 119 Current = LVC_Mixer_GetCurrent(&pConfig->Mixer_Instance.MixerStream[1]); 120 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[1],(LVM_INT32)(Gain >> 15),Current); 121 LVC_Mixer_VarSlope_SetTimeConstant(&pConfig->Mixer_Instance.MixerStream[1],LVCS_BYPASS_MIXER_TC,pParams->SampleRate,2) [all...] |
LVCS_Control.c | 124 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[0],0,0); 138 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[1],0,Gain); 139 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->BypassMix.Mixer_Instance.MixerStream[0], 141 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->BypassMix.Mixer_Instance.MixerStream[1],
|
LVCS_Init.c | 194 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[0],0,0); 196 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[1],0,0);
|
LVCS_Process.c | 203 Current1 = LVC_Mixer_GetCurrent(&pInstance->BypassMix.Mixer_Instance.MixerStream[0]); 291 (pInstance->BypassMix.Mixer_Instance.MixerStream[1].CallbackSet == 0))
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
LVEQNB_Control.c | 359 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->BypassMixer.MixerStream[0],LVEQNB_BYPASS_MIXER_TC,(LVM_Fs_en)pParams->SampleRate,2); 360 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->BypassMixer.MixerStream[1],LVEQNB_BYPASS_MIXER_TC,(LVM_Fs_en)pParams->SampleRate,2); 425 LVC_Mixer_SetTarget(&pInstance->BypassMixer.MixerStream[0],LVM_MAXINT_16); 426 LVC_Mixer_SetTarget(&pInstance->BypassMixer.MixerStream[1],0); 428 pInstance->BypassMixer.MixerStream[0].CallbackSet = 1; 429 pInstance->BypassMixer.MixerStream[1].CallbackSet = 1; 436 LVC_Mixer_SetTarget(&pInstance->BypassMixer.MixerStream[0],0); 437 LVC_Mixer_SetTarget(&pInstance->BypassMixer.MixerStream[1],LVM_MAXINT_16); 438 pInstance->BypassMixer.MixerStream[0].CallbackSet = 1; 439 pInstance->BypassMixer.MixerStream[1].CallbackSet = 1 [all...] |
LVEQNB_Init.c | 307 pInstance->BypassMixer.MixerStream[0].CallbackSet = 0; 308 pInstance->BypassMixer.MixerStream[0].CallbackParam = 0; 309 pInstance->BypassMixer.MixerStream[0].pCallbackHandle = (void*)pInstance; 310 pInstance->BypassMixer.MixerStream[0].pCallBack = LVEQNB_BypassMixerCallBack; 311 LVC_Mixer_Init(&pInstance->BypassMixer.MixerStream[0],0,0); 312 LVC_Mixer_SetTimeConstant(&pInstance->BypassMixer.MixerStream[0],0,LVM_FS_8000,2); 314 pInstance->BypassMixer.MixerStream[1].CallbackSet = 1; 315 pInstance->BypassMixer.MixerStream[1].CallbackParam = 0; 316 pInstance->BypassMixer.MixerStream[1].pCallbackHandle = LVM_NULL; 317 pInstance->BypassMixer.MixerStream[1].pCallBack = LVM_NULL [all...] |
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
LVM_Control.c | 404 LVC_Mixer_SetTarget(&pInstance->VC_Volume.MixerStream[0], 409 LVC_Mixer_SetTarget(&pInstance->VC_Volume.MixerStream[0], 412 pInstance->VC_Volume.MixerStream[0].CallbackSet = 1; 415 LVC_Mixer_SetTimeConstant(&pInstance->VC_Volume.MixerStream[0],0,pInstance->Params.SampleRate,2); 419 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->VC_Volume.MixerStream[0],LVM_VC_MIXER_TIME,pInstance->Params.SampleRate,2); 560 LVC_Mixer_SetTarget(&pInstance->VC_BalanceMix.MixerStream[0],Target); 561 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->VC_BalanceMix.MixerStream[0],LVM_VC_MIXER_TIME,LocalParams.SampleRate,1); 564 LVC_Mixer_SetTarget(&pInstance->VC_BalanceMix.MixerStream[1],Target); 565 LVC_Mixer_VarSlope_SetTimeConstant(&pInstance->VC_BalanceMix.MixerStream[1],LVM_VC_MIXER_TIME,LocalParams.SampleRate,1); 572 LVC_Mixer_SetTarget(&pInstance->VC_BalanceMix.MixerStream[0],Target) [all...] |
LVM_Init.c | 593 pInstance->VC_Volume.MixerStream[0].CallbackParam = 0; 594 pInstance->VC_Volume.MixerStream[0].CallbackSet = 0; 595 pInstance->VC_Volume.MixerStream[0].pCallbackHandle = pInstance; 596 pInstance->VC_Volume.MixerStream[0].pCallBack = LVM_VCCallBack; 601 LVC_Mixer_Init(&pInstance->VC_Volume.MixerStream[0],0,0); 605 LVC_Mixer_Init(&pInstance->VC_Volume.MixerStream[0],LVM_MAXINT_16,LVM_MAXINT_16); 608 LVC_Mixer_SetTimeConstant(&pInstance->VC_Volume.MixerStream[0],0,LVM_FS_8000,2); 614 pInstance->VC_BalanceMix.MixerStream[0].CallbackParam = 0; 615 pInstance->VC_BalanceMix.MixerStream[0].CallbackSet = 0; 616 pInstance->VC_BalanceMix.MixerStream[0].pCallbackHandle = pInstance [all...] |