/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
H A D | VectorMath.cpp | 58 void vsmul(const float* sourceP, int sourceStride, const float* scale, float* destP, int destStride, size_t framesToProcess) argument 61 ::vsmul(sourceP, sourceStride, scale, destP, destStride, framesToProcess); 63 vDSP_vsmul(sourceP, sourceStride, scale, destP, destStride, framesToProcess); 67 void vadd(const float* source1P, int sourceStride1, const float* source2P, int sourceStride2, float* destP, int destStride, size_t framesToProcess) argument 70 ::vadd(source1P, sourceStride1, source2P, sourceStride2, destP, destStride, framesToProcess); 72 vDSP_vadd(source1P, sourceStride1, source2P, sourceStride2, destP, destStride, framesToProcess); 76 void vmul(const float* source1P, int sourceStride1, const float* source2P, int sourceStride2, float* destP, int destStride, size_t framesToProcess) argument 79 ::vmul(source1P, sourceStride1, source2P, sourceStride2, destP, destStride, framesToProcess); 81 vDSP_vmul(source1P, sourceStride1, source2P, sourceStride2, destP, destStride, framesToProcess); 103 void vsma(const float* sourceP, int sourceStride, const float* scale, float* destP, in argument 118 vclip(const float* sourceP, int sourceStride, const float* lowThresholdP, const float* highThresholdP, float* destP, int destStride, size_t framesToProcess) argument 120 vDSP_vclip(const_cast<float*>(sourceP), sourceStride, const_cast<float*>(lowThresholdP), const_cast<float*>(highThresholdP), destP, destStride, framesToProcess); local [all...] |
H A D | VectorMath.h | 36 PLATFORM_EXPORT void vsma(const float* sourceP, int sourceStride, const float* scale, float* destP, int destStride, size_t framesToProcess); 38 PLATFORM_EXPORT void vsmul(const float* sourceP, int sourceStride, const float* scale, float* destP, int destStride, size_t framesToProcess); 39 PLATFORM_EXPORT void vadd(const float* source1P, int sourceStride1, const float* source2P, int sourceStride2, float* destP, int destStride, size_t framesToProcess); 48 PLATFORM_EXPORT void vmul(const float* source1P, int sourceStride1, const float* source2P, int sourceStride2, float* destP, int destStride, size_t framesToProcess); 54 PLATFORM_EXPORT void vclip(const float* sourceP, int sourceStride, const float* lowThresholdP, const float* highThresholdP, float* destP, int destStride, size_t framesToProcess);
|
H A D | DirectConvolver.h | 45 void process(AudioFloatArray* convolutionKernel, const float* sourceP, float* destP, size_t framesToProcess);
|
H A D | DownSampler.h | 45 // The destination buffer |destP| is of size sourceFramesToProcess / 2. 46 void process(const float* sourceP, float* destP, size_t sourceFramesToProcess);
|
H A D | UpSampler.h | 45 // The destination buffer |destP| is of size sourceFramesToProcess * 2. 46 void process(const float* sourceP, float* destP, size_t sourceFramesToProcess);
|
H A D | FFTConvolver.cpp | 50 void FFTConvolver::process(FFTFrame* fftKernel, const float* sourceP, float* destP, size_t framesToProcess) argument 64 for (size_t i = 0; i < numberOfDivisions; ++i, sourceP += divisionSize, destP += divisionSize) { 80 bool isCopyGood2 = destP && outputP && m_readWriteIndex + divisionSize <= m_outputBuffer.size(); 85 memcpy(destP, outputP + m_readWriteIndex, sizeof(float) * divisionSize);
|
H A D | FFTConvolver.h | 49 void process(FFTFrame* fftKernel, const float* sourceP, float* destP, size_t framesToProcess);
|
H A D | Biquad.h | 53 void process(const float* sourceP, float* destP, size_t framesToProcess); 97 void processFast(const float* sourceP, float* destP, size_t framesToProcess); 98 void processSliceFast(double* sourceP, double* destP, double* coefficientsP, size_t framesToProcess);
|
H A D | DownSampler.cpp | 85 void DownSampler::process(const float* sourceP, float* destP, size_t sourceFramesToProcess) argument 123 m_convolver.process(&m_reducedKernel, oddSamplesP, destP, destFramesToProcess); 131 destP[i] += 0.5 * *((inputP - halfSize) + i * 2);
|
H A D | UpSampler.cpp | 77 void UpSampler::process(const float* sourceP, float* destP, size_t sourceFramesToProcess) argument 105 // Copy even sample-frames 0,2,4,6... (delayed by the linear phase delay) directly into destP. 107 destP[i * 2] = *((inputP - halfSize) + i); 114 destP[i * 2 + 1] = oddSamplesP[i];
|
H A D | DirectConvolver.cpp | 59 void DirectConvolver::process(AudioFloatArray* convolutionKernel, const float* sourceP, float* destP, size_t framesToProcess) argument 74 bool isCopyGood = kernelP && sourceP && destP && m_buffer.data(); 89 vadd(outputBuffer, 1, overlayBuffer, 1, destP, 1, framesToProcess); 99 conv(inputP - kernelSize + 1, 1, kernelP + kernelSize - 1, -1, destP, 1, framesToProcess, kernelSize); 101 vDSP_conv(inputP - kernelSize + 1, 1, kernelP + kernelSize - 1, -1, destP, 1, framesToProcess, kernelSize); 140 _mm_storeu_ps(destP + i, convolutionSum); 413 destP[i++] = sum;
|
H A D | Biquad.cpp | 77 void Biquad::process(const float* sourceP, float* destP, size_t framesToProcess) argument 81 processFast(sourceP, destP, framesToProcess); 84 ippsIIR64f_32f(sourceP, destP, static_cast<int>(framesToProcess), m_biquadState); 106 *destP++ = y; 134 void Biquad::processFast(const float* sourceP, float* destP, size_t framesToProcess) argument 164 *destP++ = static_cast<float>(output2P[i]); 170 void Biquad::processSliceFast(double* sourceP, double* destP, double* coefficientsP, size_t framesToProcess) 173 vDSP_deq22D(sourceP, 1, coefficientsP, destP, 1, framesToProcess); 175 // Save history. Note that sourceP and destP reference m_inputBuffer and m_outputBuffer respectively. 180 destP[ [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
H A D | OscillatorNode.cpp | 259 float* destP = outputBus->channel(0)->mutableData(); local 289 destP += quantumFrameOffset; 320 *destP++ = sample;
|