Home
last modified time | relevance | path

Searched refs:pLVREV_Private (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_GetInstanceHandle.cpp48 LVREV_Instance_st* pLVREV_Private; in LVREV_GetInstanceHandle() local
80 pLVREV_Private = (LVREV_Instance_st*)*phInstance; in LVREV_GetInstanceHandle()
98 pLVREV_Private->pDelay_T[i] = (LVM_FLOAT*)calloc(LVREV_MAX_T_DELAY[i], sizeof(LVM_FLOAT)); in LVREV_GetInstanceHandle()
100 pLVREV_Private->pScratchDelayLine[i] = (LVM_FLOAT*)calloc(MaxBlockSize, sizeof(LVM_FLOAT)); in LVREV_GetInstanceHandle()
104 pLVREV_Private->T[i] = LVREV_MAX_T_DELAY[i]; in LVREV_GetInstanceHandle()
106 pLVREV_Private->AB_Selection = 1; /* Select smoothing A to B */ in LVREV_GetInstanceHandle()
109 pLVREV_Private->pScratch = (LVM_FLOAT*)calloc(MaxBlockSize, sizeof(LVM_FLOAT)); in LVREV_GetInstanceHandle()
111 pLVREV_Private->pInputSave = (LVM_FLOAT*)calloc(FCC_2 * MaxBlockSize, sizeof(LVM_FLOAT)); in LVREV_GetInstanceHandle()
116 pLVREV_Private->InstanceParams = *pInstanceParams; in LVREV_GetInstanceHandle()
121 pLVREV_Private->CurrentParams.SampleRate = LVM_FS_INVALID; in LVREV_GetInstanceHandle()
[all …]
DLVREV_ClearAudioBuffers.cpp45 LVREV_Instance_st* pLVREV_Private = (LVREV_Instance_st*)hInstance; in LVREV_ClearAudioBuffers() local
59 pLVREV_Private->pRevHPFBiquad->clear(); in LVREV_ClearAudioBuffers()
60 pLVREV_Private->pRevLPFBiquad->clear(); in LVREV_ClearAudioBuffers()
61 for (size_t i = 0; i < pLVREV_Private->InstanceParams.NumDelays; i++) { in LVREV_ClearAudioBuffers()
62 pLVREV_Private->revLPFBiquad[i]->clear(); in LVREV_ClearAudioBuffers()
63 memset(pLVREV_Private->pDelay_T[i], 0, LVREV_MAX_T_DELAY[i] * in LVREV_ClearAudioBuffers()
64 sizeof(pLVREV_Private->pDelay_T[i][0])); in LVREV_ClearAudioBuffers()
DLVREV_Process.cpp50 LVREV_Instance_st* pLVREV_Private = (LVREV_Instance_st*)hInstance; in LVREV_Process() local
68 if (pLVREV_Private->bControlPending == LVM_TRUE) { in LVREV_Process()
74 pLVREV_Private->bControlPending = LVM_FALSE; in LVREV_Process()
76 errorCode = LVREV_ApplyNewSettings(pLVREV_Private); in LVREV_Process()
93 if (pLVREV_Private->CurrentParams.OperatingMode == LVM_MODE_OFF) { in LVREV_Process()
98 if (pLVREV_Private->CurrentParams.SourceFormat == LVM_MONO) { in LVREV_Process()
111 if (pLVREV_Private->CurrentParams.SourceFormat != LVM_MONO) { in LVREV_Process()
120 if (RemainingSamples > pLVREV_Private->MaxBlkLen) { in LVREV_Process()
121 SamplesToProcess = pLVREV_Private->MaxBlkLen; in LVREV_Process()
128 ReverbBlock(pInput, pOutput, pLVREV_Private, (LVM_UINT16)SamplesToProcess); in LVREV_Process()
DLVREV_GetControlParameters.cpp47 LVREV_Instance_st* pLVREV_Private = (LVREV_Instance_st*)hInstance; in LVREV_GetControlParameters() local
59 *pControlParams = pLVREV_Private->NewParams; in LVREV_GetControlParameters()
DLVREV_SetControlParameters.cpp47 LVREV_Instance_st* pLVREV_Private = (LVREV_Instance_st*)hInstance; in LVREV_SetControlParameters() local
105 pLVREV_Private->NewParams = *pNewParams; in LVREV_SetControlParameters()
106 pLVREV_Private->bControlPending = LVM_TRUE; in LVREV_SetControlParameters()
DLVREV_ApplyNewSettings.cpp518 LVREV_Instance_st* pLVREV_Private = (LVREV_Instance_st*)pCallbackData; in BypassMixer_Callback() local
529 pLVREV_Private->CurrentParams.OperatingMode = LVM_MODE_OFF; in BypassMixer_Callback()
530 pLVREV_Private->bDisableReverb = LVM_TRUE; in BypassMixer_Callback()