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.c52 const LVM_UINT16 NumSamples) in LVREV_Process() argument
93 if (NumSamples == 0) in LVREV_Process()
110 MonoTo2I_32(pInput, pOutput, NumSamples); in LVREV_Process()
114 (LVM_INT16)(NumSamples << 2)); // 32 bit data, stereo in LVREV_Process()
121 RemainingSamples = (LVM_INT32)NumSamples; in LVREV_Process()
179 …erbBlock(LVM_INT32 *pInput, LVM_INT32 *pOutput, LVREV_Instance_st *pPrivate, LVM_UINT16 NumSamples) in ReverbBlock() argument
229 (LVM_INT16)NumSamples); in ReverbBlock()
237 (LVM_INT16)NumSamples); in ReverbBlock()
245 (LVM_INT16)NumSamples); in ReverbBlock()
252 (LVM_INT16)NumSamples); in ReverbBlock()
[all …]
DLVREV_Private.h176 LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Buffers.c60 LVM_INT16 NumSamples; /* Number of samples in scratch buffer */ in LVM_BufferManagedIn() local
101 NumSamples = pInstance->InternalBlockSize; in LVM_BufferManagedIn()
110 NumSamples = pInstance->SamplesToProcess; in LVM_BufferManagedIn()
111 NumFrames = (LVM_INT16)(NumSamples >> MIN_INTERNAL_BLOCKSHIFT); in LVM_BufferManagedIn()
139 NumSamples = (LVM_INT16)(NumSamples - pBuffer->InDelaySamples); /* Update sample count */ in LVM_BufferManagedIn()
147 if (NumSamples > 0) in LVM_BufferManagedIn()
151 (LVM_INT16)(NumChannels*NumSamples)); /* Number of input samples */ in LVM_BufferManagedIn()
152 pStart += NumChannels * NumSamples; /* Update the input pointer */ in LVM_BufferManagedIn()
157 …pBuffer->SamplesToOutput = (LVM_INT16)(pBuffer->SamplesToOutput + NumSamples); /* Update samples t… in LVM_BufferManagedIn()
174 NumSamples = pInstance->SamplesToProcess; in LVM_BufferManagedIn()
[all …]
DLVM_Process.c58 LVM_UINT16 NumSamples, in LVM_Process() argument
63 LVM_UINT16 SampleCount = NumSamples; in LVM_Process()
72 if (NumSamples == 0) in LVM_Process()
94 if((NumSamples % pInstance->BlickSizeMultiple) != 0) in LVM_Process()
130 (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
86 pInput = pScratch + (2*NumSamples); in LVCS_Process_CS()
89 (LVM_INT16)(2*NumSamples)); /* Left and right */ in LVCS_Process_CS()
103 NumSamples); /* Number of samples to process */ in LVCS_Process_CS()
111 NumSamples); /* Number of samples to process */ in LVCS_Process_CS()
118 NumSamples); /* Number of samples to process */ in LVCS_Process_CS()
127 NumSamples); /* Number of samples to process */ in LVCS_Process_CS()
167 LVM_UINT16 NumSamples) in LVCS_Process() argument
176 if (NumSamples > pInstance->Capabilities.MaxBlockSize) in LVCS_Process()
192 NumSamples); in LVCS_Process()
[all …]
DLVCS_StereoEnhancer.c184 LVM_UINT16 NumSamples) in LVCS_StereoEnhancer() argument
202 pScratch+NumSamples, in LVCS_StereoEnhancer()
203 (LVM_INT16)NumSamples); in LVCS_StereoEnhancer()
213 (LVM_INT16)NumSamples); in LVCS_StereoEnhancer()
220 (LVM_INT16)NumSamples); /* Number of samples */ in LVCS_StereoEnhancer()
230 (LVM_INT16 *)(pScratch + NumSamples), in LVCS_StereoEnhancer()
231 (LVM_INT16 *)(pScratch + NumSamples), in LVCS_StereoEnhancer()
232 (LVM_INT16)NumSamples); in LVCS_StereoEnhancer()
239 pScratch+NumSamples, in LVCS_StereoEnhancer()
241 (LVM_INT16)NumSamples); in LVCS_StereoEnhancer()
[all …]
DLVCS_ReverbGenerator.c186 LVM_UINT16 NumSamples) in LVCS_ReverbGenerator() argument
205 (LVM_INT16)(2*NumSamples)); /* Left and right */ in LVCS_ReverbGenerator()
228 (LVM_INT16)(2*NumSamples)); /* Left and right */ in LVCS_ReverbGenerator()
237 (LVM_INT16)NumSamples); in LVCS_ReverbGenerator()
242 (LVM_INT16)(2*NumSamples)); in LVCS_ReverbGenerator()
253 (LVM_INT16)NumSamples); in LVCS_ReverbGenerator()
DLVCS_BypassMix.c212 LVM_UINT16 NumSamples) in LVCS_BypassMixer() argument
230 (LVM_INT16)(2*NumSamples)); in LVCS_BypassMixer()
238 (LVM_INT16)(2*NumSamples)); /* Left and right*/ in LVCS_BypassMixer()
DLVCS_Equaliser.c138 LVM_UINT16 NumSamples) in LVCS_Equaliser() argument
155 (LVM_INT16)NumSamples); in LVCS_Equaliser()
DLVCS_Equaliser.h51 LVM_UINT16 NumSamples);
DLVCS_StereoEnhancer.h73 LVM_UINT16 NumSamples);
DLVCS_BypassMix.h75 LVM_UINT16 NumSamples);
DLVCS_ReverbGenerator.h84 LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Process.c79 LVM_UINT16 NumSamples) in LVDBE_Process() argument
89 LVM_INT16 *pScratchVol = (LVM_INT16 *)(&pScratch[NumSamples]); in LVDBE_Process()
92 pMono = &pScratch[2*NumSamples]; in LVDBE_Process()
97 if (NumSamples > pInstance->Capabilities.MaxBlockSize) in LVDBE_Process()
117 (LVM_INT16)(2*NumSamples), /* Left and right */ in LVDBE_Process()
129 (LVM_INT16)NumSamples); /* Number of samples */ in LVDBE_Process()
138 (LVM_INT16)NumSamples); /* Number of samples */ in LVDBE_Process()
147 (LVM_INT16)NumSamples); /* Number of samples */ in LVDBE_Process()
157 NumSamples); /* Number of samples */ in LVDBE_Process()
165 (LVM_INT16)(2*NumSamples), /* Left and right */ in LVDBE_Process()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Process.c64 LVM_UINT16 NumSamples) in LVEQNB_Process() argument
90 if (NumSamples > pInstance->Capabilities.MaxBlockSize) in LVEQNB_Process()
102 (LVM_INT16)(2*NumSamples), /* Left and Right */ in LVEQNB_Process()
133 (LVM_INT16)NumSamples); in LVEQNB_Process()
142 (LVM_INT16)NumSamples); in LVEQNB_Process()
159 (LVM_INT16)(2*NumSamples), /* Left and Right */ in LVEQNB_Process()
166 (LVM_INT16)(2*NumSamples)); in LVEQNB_Process()
170 (LVM_INT16)(2*NumSamples)); /* Left and Right samples */ in LVEQNB_Process()
179 (LVM_INT16 )(2*NumSamples), /* Left and Right */ in LVEQNB_Process()
192 (LVM_INT16)(2*NumSamples)); /* Left and Right samples */ in LVEQNB_Process()
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DAGC_MIX_VOL_2St1Mon_D32_WRA.c77 LVM_UINT16 NumSamples) /* Number of samples */ in AGC_MIX_VOL_2St1Mon_D32_WRA() argument
112 for (i=0;i<NumSamples;i++) /* For each sample */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
/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.h303 const LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib/
DLVCS.h381 LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/
DLVEQNB.h467 LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/
DLVDBE.h457 LVM_UINT16 NumSamples);
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/
DLVM.h520 LVM_UINT16 NumSamples,