Home
last modified time | relevance | path

Searched refs:SamplesToProcess (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Buffers.cpp73 if (pInstance->SamplesToProcess == 0) { in LVM_BufferManagedIn()
77 pInstance->SamplesToProcess = (LVM_INT16)(*pNumSamples + pBuffer->InDelaySamples); in LVM_BufferManagedIn()
88 if (pInstance->SamplesToProcess > pInstance->InternalBlockSize) { in LVM_BufferManagedIn()
100 NumSamples = pInstance->SamplesToProcess; in LVM_BufferManagedIn()
148 pInstance->SamplesToProcess = (LVM_INT16)(pInstance->SamplesToProcess - SampleCount); in LVM_BufferManagedIn()
155 NumSamples = pInstance->SamplesToProcess; in LVM_BufferManagedIn()
168 pInstance->SamplesToProcess = 0; /* All Samples used */ in LVM_BufferManagedIn()
201 if (pInstance->SamplesToProcess == 0) { in LVM_BufferUnmanagedIn()
202 pInstance->SamplesToProcess = (LVM_INT16)*pNumSamples; /* Get the number of samples in LVM_BufferUnmanagedIn()
210 if (pInstance->SamplesToProcess > pInstance->InternalBlockSize) { in LVM_BufferUnmanagedIn()
[all …]
DLVM_Private.h144 LVM_INT16 SamplesToProcess; /* Input samples left to process */ member
DLVM_Init.cpp119 pInstance->SamplesToProcess = 0; /* No samples left to process */ in LVM_GetInstanceHandle()
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_Process.cpp53 LVM_INT32 SamplesToProcess, RemainingSamples; in LVREV_Process() local
121 SamplesToProcess = pLVREV_Private->MaxBlkLen; in LVREV_Process()
122 RemainingSamples = (LVM_INT16)(RemainingSamples - SamplesToProcess); in LVREV_Process()
124 SamplesToProcess = RemainingSamples; in LVREV_Process()
128 ReverbBlock(pInput, pOutput, pLVREV_Private, (LVM_UINT16)SamplesToProcess); in LVREV_Process()
129 pInput = (LVM_FLOAT*)(pInput + (SamplesToProcess * format)); in LVREV_Process()
130 pOutput = (LVM_FLOAT*)(pOutput + (SamplesToProcess * 2)); // Always stereo output in LVREV_Process()