Lines Matching refs:aInput

54 void AudioBufferCopyWithScale(const float* aInput, float aScale, float* aOutput,  in AudioBufferCopyWithScale()  argument
57 PodCopy(aOutput, aInput, aSize); in AudioBufferCopyWithScale()
60 aOutput[i] = aInput[i] * aScale; in AudioBufferCopyWithScale()
65 void AudioBufferAddWithScale(const float* aInput, float aScale, float* aOutput, in AudioBufferAddWithScale() argument
69 AudioBufferAddWithScale_NEON(aInput, aScale, aOutput, aSize); in AudioBufferAddWithScale()
77 while (aSize && (!IS_ALIGNED16(aInput) || !IS_ALIGNED16(aOutput))) { in AudioBufferAddWithScale()
78 *aOutput += *aInput; in AudioBufferAddWithScale()
80 ++aInput; in AudioBufferAddWithScale()
84 while (aSize && (!IS_ALIGNED16(aInput) || !IS_ALIGNED16(aOutput))) { in AudioBufferAddWithScale()
85 *aOutput += *aInput * aScale; in AudioBufferAddWithScale()
87 ++aInput; in AudioBufferAddWithScale()
95 AudioBufferAddWithScale_SSE(aInput, aScale, aOutput, alignedSize); in AudioBufferAddWithScale()
98 aInput += alignedSize; in AudioBufferAddWithScale()
107 aOutput[i] += aInput[i]; in AudioBufferAddWithScale()
111 aOutput[i] += aInput[i] * aScale; in AudioBufferAddWithScale()
116 void AudioBlockAddChannelWithScale(const float aInput[WEBAUDIO_BLOCK_SIZE], in AudioBlockAddChannelWithScale()
119 AudioBufferAddWithScale(aInput, aScale, aOutput, WEBAUDIO_BLOCK_SIZE); in AudioBlockAddChannelWithScale()
122 void AudioBlockCopyChannelWithScale(const float* aInput, float aScale, in AudioBlockCopyChannelWithScale() argument
125 memcpy(aOutput, aInput, WEBAUDIO_BLOCK_SIZE * sizeof(float)); in AudioBlockCopyChannelWithScale()
129 AudioBlockCopyChannelWithScale_NEON(aInput, aScale, aOutput); in AudioBlockCopyChannelWithScale()
136 AudioBlockCopyChannelWithScale_SSE(aInput, aScale, aOutput); in AudioBlockCopyChannelWithScale()
142 aOutput[i] = aInput[i] * aScale; in AudioBlockCopyChannelWithScale()
147 void BufferComplexMultiply(const float* aInput, const float* aScale, in BufferComplexMultiply() argument
151 BufferComplexMultiply_SSE(aInput, aScale, aOutput, aSize); in BufferComplexMultiply()
157 float real1 = aInput[i]; in BufferComplexMultiply()
158 float imag1 = aInput[i + 1]; in BufferComplexMultiply()
168 float AudioBufferPeakValue(const float* aInput, uint32_t aSize) { in AudioBufferPeakValue() argument
171 float mag = fabs(aInput[i]); in AudioBufferPeakValue()
179 void AudioBlockCopyChannelWithScale(const float aInput[WEBAUDIO_BLOCK_SIZE], in AudioBlockCopyChannelWithScale()
184 AudioBlockCopyChannelWithScale_NEON(aInput, aScale, aOutput); in AudioBlockCopyChannelWithScale()
191 AudioBlockCopyChannelWithScale_SSE(aInput, aScale, aOutput); in AudioBlockCopyChannelWithScale()
197 aOutput[i] = aInput[i] * aScale[i]; in AudioBlockCopyChannelWithScale()
253 void AudioBlockPanMonoToStereo(const float aInput[WEBAUDIO_BLOCK_SIZE], in AudioBlockPanMonoToStereo()
258 AudioBlockCopyChannelWithScale(aInput, aGainL, aOutputL); in AudioBlockPanMonoToStereo()
259 AudioBlockCopyChannelWithScale(aInput, aGainR, aOutputR); in AudioBlockPanMonoToStereo()
262 void AudioBlockPanMonoToStereo(const float aInput[WEBAUDIO_BLOCK_SIZE], in AudioBlockPanMonoToStereo()
266 AudioBlockCopyChannelWithScale(aInput, aGainL, aOutputL); in AudioBlockPanMonoToStereo()
267 AudioBlockCopyChannelWithScale(aInput, aGainR, aOutputR); in AudioBlockPanMonoToStereo()
333 float AudioBufferSumOfSquares(const float* aInput, uint32_t aLength) { in AudioBufferSumOfSquares() argument
338 const float* alignedInput = ALIGNED16(aInput); in AudioBufferSumOfSquares()
341 while (aInput != alignedInput) { in AudioBufferSumOfSquares()
345 sum += *aInput * *aInput; in AudioBufferSumOfSquares()
346 ++aInput; in AudioBufferSumOfSquares()
355 aInput = alignedInput + vLength; in AudioBufferSumOfSquares()
361 sum += *aInput * *aInput; in AudioBufferSumOfSquares()
362 ++aInput; in AudioBufferSumOfSquares()
394 const AudioBlock& aInput, in ProcessBlock() argument
397 *aOutput = aInput; in ProcessBlock()
402 Span<const AudioBlock> aInput, in ProcessBlocksOnPorts() argument
407 aOutput[0] = aInput[0]; in ProcessBlocksOnPorts()