Home
last modified time | relevance | path

Searched refs:NumSamples (Results 1 – 19 of 19) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_Process.cpp49 LVM_FLOAT* pOutData, const LVM_UINT16 NumSamples) { in LVREV_Process() argument
86 if (NumSamples == 0) { in LVREV_Process()
99 MonoTo2I_Float(pInput, pOutput, NumSamples); in LVREV_Process()
102 (LVM_INT16)(NumSamples << 1)); // 32 bit data, stereo in LVREV_Process()
109 RemainingSamples = (LVM_INT32)NumSamples; in LVREV_Process()
159 LVM_UINT16 NumSamples) { in ReverbBlock() argument
198 From2iToMono_Float(pInput, pTemp, (LVM_INT16)NumSamples); in ReverbBlock()
202 Mult3s_Float(pIn, (LVM_FLOAT)LVREV_HEADROOM, pTemp, (LVM_INT16)NumSamples); in ReverbBlock()
207 pPrivate->pRevHPFBiquad->process(pTemp, pTemp, NumSamples); in ReverbBlock()
212 pPrivate->pRevLPFBiquad->process(pTemp, pTemp, NumSamples); in ReverbBlock()
[all …]
DLVREV_Private.h168 LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Buffers.cpp55 LVM_INT16 NumSamples; /* Number of samples in scratch buffer */ in LVM_BufferManagedIn() local
93 NumSamples = pInstance->InternalBlockSize; in LVM_BufferManagedIn()
100 NumSamples = pInstance->SamplesToProcess; in LVM_BufferManagedIn()
101 NumFrames = (LVM_INT16)(NumSamples >> MIN_INTERNAL_BLOCKSHIFT); in LVM_BufferManagedIn()
124 NumSamples = (LVM_INT16)(NumSamples - pBuffer->InDelaySamples); /* Update sample count */ in LVM_BufferManagedIn()
131 if (NumSamples > 0) { in LVM_BufferManagedIn()
134 (LVM_INT16)(NumChannels * NumSamples)); /* Number of input samples */ in LVM_BufferManagedIn()
135 pStart += NumChannels * NumSamples; /* Update the input pointer */ in LVM_BufferManagedIn()
141 pBuffer->SamplesToOutput = (LVM_INT16)(pBuffer->SamplesToOutput + NumSamples); in LVM_BufferManagedIn()
155 NumSamples = pInstance->SamplesToProcess; in LVM_BufferManagedIn()
[all …]
DLVM_Process.cpp56 LVM_FLOAT* pOutData, LVM_UINT16 NumSamples, LVM_UINT32 AudioTime) { in LVM_Process() argument
58 LVM_UINT16 SampleCount = NumSamples; in LVM_Process()
70 if (NumSamples == 0) { in LVM_Process()
88 if ((NumSamples % pInstance->BlickSizeMultiple) != 0) { in LVM_Process()
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_StereoEnhancer.cpp126 LVM_FLOAT* pOutData, LVM_UINT16 NumSamples) { in LVCS_StereoEnhancer() argument
132 LVM_UINT16 destNumSamples = (NumChannels == FCC_1) ? NumSamples : FCC_2 * NumSamples; in LVCS_StereoEnhancer()
142 Copy_Float((LVM_FLOAT*)pInData, (LVM_FLOAT*)pScratch, (LVM_INT16)NumSamples); in LVCS_StereoEnhancer()
144 From2iToMS_Float(pInData, pScratch, pScratch + NumSamples, (LVM_INT16)NumSamples); in LVCS_StereoEnhancer()
151 pInstance->pSEMidBiquad->process(pScratch, pScratch, NumSamples); in LVCS_StereoEnhancer()
156 (LVM_INT16)NumSamples); /* Number of samples */ in LVCS_StereoEnhancer()
164 pInstance->pSESideBiquad->process(pScratch + NumSamples, pScratch + NumSamples, in LVCS_StereoEnhancer()
165 NumSamples); in LVCS_StereoEnhancer()
170 Copy_Float((LVM_FLOAT*)pScratch, (LVM_FLOAT*)pOutData, (LVM_INT16)NumSamples); in LVCS_StereoEnhancer()
175 MSTo2i_Sat_Float(pScratch, pScratch + NumSamples, pOutData, (LVM_INT16)NumSamples); in LVCS_StereoEnhancer()
DLVCS_Process.cpp69 LVM_FLOAT* pOutData, LVM_UINT16 NumSamples) { in LVCS_Process_CS() argument
76 #define NrFrames NumSamples // alias for clarity in LVCS_Process_CS()
114 NumSamples); /* Number of samples to process */ in LVCS_Process_CS()
121 NumSamples); /* Number of samples to process */ in LVCS_Process_CS()
130 NumSamples); /* Number of samples to process */ in LVCS_Process_CS()
165 LVM_FLOAT* pOutData, LVM_UINT16 NumSamples) { in LVCS_Process() argument
170 LVM_UINT16 destNumSamples = (channels == FCC_1) ? NumSamples : FCC_2 * NumSamples; in LVCS_Process()
173 #define NrFrames NumSamples // alias for clarity in LVCS_Process()
177 if (NumSamples > pInstance->Capabilities.MaxBlockSize) { in LVCS_Process()
223 if (NumSamples < LVCS_COMPGAINFRAME) { in LVCS_Process()
[all …]
DLVCS_ReverbGenerator.cpp151 LVM_FLOAT* pOutData, LVM_UINT16 NumSamples) { in LVCS_ReverbGenerator() argument
157 (pInstance->Params.NrChannels == FCC_1) ? NumSamples : FCC_2 * NumSamples; in LVCS_ReverbGenerator()
198 pInstance->pRevBiquad->process(pScratch, pScratch, NumSamples); in LVCS_ReverbGenerator()
207 pOutData, &pConfig->DelayOffset, (LVM_INT16)NumSamples, NumChannels); in LVCS_ReverbGenerator()
DLVCS_Equaliser.cpp103 LVM_UINT16 NumSamples) { in LVCS_Equaliser() argument
111 pInstance->pEqBiquad->process(pInputOutput, pInputOutput, NumSamples); in LVCS_Equaliser()
DLVCS_BypassMix.cpp200 LVM_UINT16 NumSamples) { in LVCS_BypassMixer() argument
204 (pInstance->Params.NrChannels == FCC_1) ? NumSamples : FCC_2 * NumSamples; in LVCS_BypassMixer()
DLVCS_Equaliser.h34 LVM_UINT16 NumSamples);
DLVCS_StereoEnhancer.h51 LVM_FLOAT* pOutData, LVM_UINT16 NumSamples);
DLVCS_BypassMix.h59 LVM_UINT16 NumSamples);
DLVCS_ReverbGenerator.h64 LVM_FLOAT* pOutput, LVM_UINT16 NumSamples);
/frameworks/base/media/mca/filterfw/native/core/
Dstatistics.h30 float NumSamples() const { return n_; } in NumSamples() function
/frameworks/av/media/libeffects/lvm/lib/Reverb/lib/
DLVREV.h249 LVM_FLOAT* pOutData, const LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib/
DLVCS.h274 LVM_FLOAT* pOutData, LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/
DLVEQNB.h370 LVM_FLOAT* pOutData, LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/
DLVDBE.h358 LVM_FLOAT* pOutData, LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/
DLVM.h429 LVM_FLOAT* pOutData, LVM_UINT16 NumSamples, LVM_UINT32 AudioTime);