Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_Process.c53 const LVM_UINT16 NumSamples) in LVREV_Process() argument
58 const LVM_UINT16 NumSamples) in LVREV_Process()
105 if (NumSamples == 0) in LVREV_Process()
122 MonoTo2I_32(pInput, pOutput, NumSamples); in LVREV_Process()
126 (LVM_INT16)(NumSamples << 2)); // 32 bit data, stereo in LVREV_Process()
130 MonoTo2I_Float(pInput, pOutput, NumSamples); in LVREV_Process()
134 (LVM_INT16)(NumSamples << 1)); // 32 bit data, stereo in LVREV_Process()
142 RemainingSamples = (LVM_INT32)NumSamples; in LVREV_Process()
204 …erbBlock(LVM_INT32 *pInput, LVM_INT32 *pOutput, LVREV_Instance_st *pPrivate, LVM_UINT16 NumSamples) in ReverbBlock() argument
254 (LVM_INT16)NumSamples); in ReverbBlock()
[all …]
DLVREV_Private.h300 LVM_UINT16 NumSamples);
305 LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Buffers.c62 LVM_INT16 NumSamples; /* Number of samples in scratch buffer */ in LVM_BufferManagedIn() local
107 NumSamples = pInstance->InternalBlockSize; in LVM_BufferManagedIn()
116 NumSamples = pInstance->SamplesToProcess; in LVM_BufferManagedIn()
117 NumFrames = (LVM_INT16)(NumSamples >> MIN_INTERNAL_BLOCKSHIFT); in LVM_BufferManagedIn()
146 NumSamples = (LVM_INT16)(NumSamples - pBuffer->InDelaySamples); /* Update sample count */ in LVM_BufferManagedIn()
154 if (NumSamples > 0) in LVM_BufferManagedIn()
158 (LVM_INT16)(NumChannels * NumSamples)); /* Number of input samples */ in LVM_BufferManagedIn()
159 pStart += NumChannels * NumSamples; /* Update the input pointer */ in LVM_BufferManagedIn()
165 pBuffer->SamplesToOutput = (LVM_INT16)(pBuffer->SamplesToOutput + NumSamples); in LVM_BufferManagedIn()
183 NumSamples = pInstance->SamplesToProcess; in LVM_BufferManagedIn()
[all …]
DLVM_Process.c59 LVM_UINT16 NumSamples, in LVM_Process() argument
64 LVM_UINT16 SampleCount = NumSamples; in LVM_Process()
78 if (NumSamples == 0) in LVM_Process()
100 if((NumSamples % pInstance->BlickSizeMultiple) != 0) in LVM_Process()
141 (LVM_INT16)NumSamples); /* Number of input samples */ in LVM_Process()
340 LVM_UINT16 NumSamples, in LVM_Process() argument
345 LVM_UINT16 SampleCount = NumSamples; in LVM_Process()
354 if (NumSamples == 0) in LVM_Process()
376 if((NumSamples % pInstance->BlickSizeMultiple) != 0) in LVM_Process()
412 (LVM_INT16)NumSamples); /* Number of input samples */ in LVM_Process()
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Process.c73 LVM_UINT16 NumSamples) in LVCS_Process_CS() argument
82 #define NrFrames NumSamples // alias for clarity in LVCS_Process_CS()
124 pInput = pScratch + (2 * NumSamples); in LVCS_Process_CS()
127 (LVM_INT16)(2 * NumSamples)); /* Left and right */ in LVCS_Process_CS()
147 NumSamples); /* Number of samples to process */ in LVCS_Process_CS()
156 NumSamples); /* Number of samples to process */ in LVCS_Process_CS()
163 NumSamples); /* Number of samples to process */ in LVCS_Process_CS()
172 NumSamples); /* Number of samples to process */ in LVCS_Process_CS()
185 LVM_UINT16 NumSamples) in LVCS_Process_CS() argument
198 pInput = pScratch + (2*NumSamples); in LVCS_Process_CS()
[all …]
DLVCS_StereoEnhancer.c280 LVM_UINT16 NumSamples) in LVCS_StereoEnhancer() argument
303 pScratch + NumSamples, in LVCS_StereoEnhancer()
304 (LVM_INT16)NumSamples); in LVCS_StereoEnhancer()
315 (LVM_INT16)NumSamples); in LVCS_StereoEnhancer()
322 (LVM_INT16)NumSamples); /* Number of samples */ in LVCS_StereoEnhancer()
333 (LVM_FLOAT *)(pScratch + NumSamples), in LVCS_StereoEnhancer()
334 (LVM_FLOAT *)(pScratch + NumSamples), in LVCS_StereoEnhancer()
335 (LVM_INT16)NumSamples); in LVCS_StereoEnhancer()
342 pScratch + NumSamples, in LVCS_StereoEnhancer()
344 (LVM_INT16)NumSamples); in LVCS_StereoEnhancer()
[all …]
DLVCS_ReverbGenerator.c277 LVM_UINT16 NumSamples) in LVCS_ReverbGenerator() argument
301 … (LVM_INT16)(2 * NumSamples)); /* Left and right */ in LVCS_ReverbGenerator()
326 (LVM_INT16)(2 * NumSamples)); /* Left and right */ in LVCS_ReverbGenerator()
334 (LVM_INT16)NumSamples); in LVCS_ReverbGenerator()
339 (LVM_INT16)(2 * NumSamples)); in LVCS_ReverbGenerator()
350 (LVM_INT16)NumSamples); in LVCS_ReverbGenerator()
361 LVM_UINT16 NumSamples) in LVCS_ReverbGenerator() argument
380 (LVM_INT16)(2*NumSamples)); /* Left and right */ in LVCS_ReverbGenerator()
403 (LVM_INT16)(2*NumSamples)); /* Left and right */ in LVCS_ReverbGenerator()
412 (LVM_INT16)NumSamples); in LVCS_ReverbGenerator()
[all …]
DLVCS_Equaliser.h54 LVM_UINT16 NumSamples);
58 LVM_UINT16 NumSamples);
DLVCS_StereoEnhancer.h87 LVM_UINT16 NumSamples);
92 LVM_UINT16 NumSamples);
DLVCS_BypassMix.h86 LVM_UINT16 NumSamples);
92 LVM_UINT16 NumSamples);
DLVCS_ReverbGenerator.h90 LVM_UINT16 NumSamples);
95 LVM_UINT16 NumSamples);
DLVCS_Equaliser.c203 LVM_UINT16 NumSamples) in LVCS_Equaliser() argument
225 (LVM_INT16)NumSamples); in LVCS_Equaliser()
233 LVM_UINT16 NumSamples) in LVCS_Equaliser() argument
250 (LVM_INT16)NumSamples); in LVCS_Equaliser()
DLVCS_BypassMix.c288 LVM_UINT16 NumSamples) in LVCS_BypassMixer() argument
307 (LVM_INT16)(2*NumSamples)); in LVCS_BypassMixer()
315 (LVM_INT16)(2*NumSamples)); /* Left and right*/ in LVCS_BypassMixer()
321 (LVM_INT16)(2 * NumSamples)); in LVCS_BypassMixer()
328 (LVM_INT16)(2 * NumSamples)); /* Left and right*/ in LVCS_BypassMixer()
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Process.c78 const LVM_INT16 *pInData, LVM_INT16 *pOutData, LVM_UINT16 NumSamples) { in LVDBE_Process() argument
87 LVM_INT16 *pScratchVol = (LVM_INT16 *) (&pScratch[NumSamples]); in LVDBE_Process()
90 pMono = &pScratch[2 * NumSamples]; in LVDBE_Process()
95 if (NumSamples > pInstance->Capabilities.MaxBlockSize) { in LVDBE_Process()
115 (LVM_INT16) (2 * NumSamples), /* Left and right */ in LVDBE_Process()
125 (LVM_INT16) NumSamples); /* Number of samples */ in LVDBE_Process()
133 (LVM_INT16) NumSamples); /* Number of samples */ in LVDBE_Process()
141 (LVM_INT16) NumSamples); /* Number of samples */ in LVDBE_Process()
150 NumSamples); /* Number of samples */ in LVDBE_Process()
158 (LVM_INT16) (2 * NumSamples), /* Left and right */ in LVDBE_Process()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Process.c201 LVM_UINT16 NumSamples) in LVEQNB_Process() argument
227 if (NumSamples > pInstance->Capabilities.MaxBlockSize) in LVEQNB_Process()
239 (LVM_INT16)(2*NumSamples), /* Left and Right */ in LVEQNB_Process()
270 (LVM_INT16)NumSamples); in LVEQNB_Process()
279 (LVM_INT16)NumSamples); in LVEQNB_Process()
296 (LVM_INT16)(2*NumSamples), /* Left and Right */ in LVEQNB_Process()
303 (LVM_INT16)(2*NumSamples)); in LVEQNB_Process()
307 (LVM_INT16)(2*NumSamples)); /* Left and Right samples */ in LVEQNB_Process()
316 (LVM_INT16 )(2*NumSamples), /* Left and Right */ in LVEQNB_Process()
329 (LVM_INT16)(2*NumSamples)); /* Left and Right samples */ in LVEQNB_Process()
/frameworks/av/media/libeffects/lvm/lib/Reverb/lib/
DLVREV.h310 const LVM_UINT16 NumSamples);
315 const LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DAGC_MIX_VOL_2St1Mon_D32_WRA.c80 LVM_UINT16 NumSamples) /* Number of samples */ in AGC_MIX_VOL_2St1Mon_D32_WRA() argument
115 for (i=0;i<NumSamples;i++) /* For each sample */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
204 LVM_UINT16 NumSamples) /* Number of samples */ in AGC_MIX_VOL_2St1Mon_D32_WRA() argument
235 for (i = 0; i < NumSamples; i++) /* For each sample */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib/
DLVCS.h384 LVM_UINT16 NumSamples);
389 LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/
DLVDBE.h472 LVM_UINT16 NumSamples);
477 LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/
DLVEQNB.h485 LVM_UINT16 NumSamples);
490 LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/
DLVM.h525 LVM_UINT16 NumSamples,
531 LVM_UINT16 NumSamples,
/frameworks/base/media/mca/filterfw/native/core/
Dstatistics.h30 float NumSamples() const { return n_; } in NumSamples() function