HomeSort by relevance Sort by last modified time
    Searched refs:framesToProcess (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /external/chromium_org/third_party/WebKit/Source/platform/audio/
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);
42 PLATFORM_EXPORT void vmaxmgv(const float* sourceP, int sourceStride, float* maxP, size_t framesToProcess);
45 PLATFORM_EXPORT void vsvesq(const float* sourceP, int sourceStride, float* sumP, 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);
51 PLATFORM_EXPORT void zvmul(const float* real1P, const float* imag1P, const float* real2P, const float* imag2P, float* realDestP, float* imagDestP, 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);
AudioIOCallback.h 41 virtual void render(AudioBus* sourceBus, AudioBus* destinationBus, size_t framesToProcess) = 0;
AudioResamplerKernel.h 45 // framesToProcess must be less than or equal to MaxFramesToProcess.
46 float* getSourcePointer(size_t framesToProcess, size_t* numberOfSourceFramesNeeded);
48 // process() resamples framesToProcess frames from the source into destination.
50 // framesToProcess must be less than or equal to MaxFramesToProcess.
51 void process(float* destination, size_t framesToProcess);
MultiChannelResampler.cpp 56 virtual void provideInput(AudioBus* bus, size_t framesToProcess)
66 m_framesToProcess = framesToProcess;
67 m_multiChannelBus = AudioBus::create(m_numberOfChannels, framesToProcess);
68 m_multiChannelProvider->provideInput(m_multiChannelBus.get(), framesToProcess);
72 bool isGood = m_multiChannelBus.get() && framesToProcess == m_framesToProcess;
80 memcpy(bus->channel(0)->mutableData(), m_multiChannelBus->channel(m_currentChannel)->data(), sizeof(float) * framesToProcess);
103 void MultiChannelResampler::process(AudioSourceProvider* provider, AudioBus* destination, size_t framesToProcess)
117 framesToProcess);
AudioSourceProvider.h 43 virtual void provideInput(AudioBus* bus, size_t framesToProcess) = 0;
AudioResamplerKernel.cpp 51 float* AudioResamplerKernel::getSourcePointer(size_t framesToProcess, size_t* numberOfSourceFramesNeededP)
53 ASSERT(framesToProcess <= MaxFramesToProcess);
56 double nextFractionalIndex = m_virtualReadIndex + framesToProcess * rate();
76 void AudioResamplerKernel::process(float* destination, size_t framesToProcess)
78 ASSERT(framesToProcess <= MaxFramesToProcess);
96 ASSERT(framesToProcess > 0);
97 ASSERT(virtualReadIndex >= 0 && 1 + static_cast<unsigned>(virtualReadIndex + (framesToProcess - 1) * rate) < m_sourceBuffer.size());
100 int n = framesToProcess;
ReverbConvolverStage.cpp 96 void ReverbConvolverStage::processInBackground(ReverbConvolver* convolver, size_t framesToProcess)
99 float* source = inputBuffer->directReadFrom(&m_inputReadIndex, framesToProcess);
100 process(source, framesToProcess);
103 void ReverbConvolverStage::process(const float* source, size_t framesToProcess)
117 bool isPreDelaySafe = m_preReadWriteIndex + framesToProcess <= m_preDelayBuffer.size();
122 isTemporaryBufferSafe = framesToProcess <= m_temporaryBuffer.size();
133 isTemporaryBufferSafe = framesToProcess <= m_preDelayBuffer.size();
143 m_accumulationBuffer->updateReadIndex(&m_accumulationReadIndex, framesToProcess);
149 m_fftConvolver->process(m_fftKernel.get(), preDelayedSource, temporaryBuffer, framesToProcess);
151 m_directConvolver->process(m_directKernel.get(), preDelayedSource, temporaryBuffer, framesToProcess);
    [all...]
Reverb.cpp 136 void Reverb::process(const AudioBus* sourceBus, AudioBus* destinationBus, size_t framesToProcess)
141 && framesToProcess <= MaxFrameSize && framesToProcess <= sourceBus->length() && framesToProcess <= destinationBus->length();
165 m_convolvers[0]->process(sourceChannelL, destinationChannelL, framesToProcess);
166 m_convolvers[1]->process(sourceChannelR, destinationChannelR, framesToProcess);
171 m_convolvers[i]->process(sourceChannelL, destinationChannel, framesToProcess);
175 m_convolvers[0]->process(sourceChannelL, destinationChannelL, framesToProcess);
179 bool isCopySafe = destinationChannelL->data() && destinationChannelR->data() && destinationChannelL->length() >= framesToProcess && destinationChannelR->length() >= framesToProcess;
    [all...]
FFTConvolver.cpp 50 void FFTConvolver::process(FFTFrame* fftKernel, const float* sourceP, float* destP, size_t framesToProcess)
54 // framesToProcess must be an exact multiple of halfSize,
55 // or halfSize is a multiple of framesToProcess when halfSize > framesToProcess.
56 bool isGood = !(halfSize % framesToProcess && framesToProcess % halfSize);
61 size_t numberOfDivisions = halfSize <= framesToProcess ? (framesToProcess / halfSize) : 1;
62 size_t divisionSize = numberOfDivisions == 1 ? framesToProcess : halfSize;
AudioDelayDSPKernel.h 37 virtual void process(const float* source, float* destination, size_t framesToProcess);
51 virtual void calculateSampleAccurateValues(float* delayTimes, size_t framesToProcess);
ZeroPole.cpp 39 void ZeroPole::process(const float *source, float *destination, unsigned framesToProcess)
52 while (framesToProcess--) {
DirectConvolver.h 45 void process(AudioFloatArray* convolutionKernel, const float* sourceP, float* destP, size_t framesToProcess);
EqualPowerPanner.h 38 virtual void pan(double azimuth, double elevation, const AudioBus* inputBus, AudioBus* outputBuf, size_t framesToProcess);
FFTConvolver.h 42 // For now, with multiple calls to Process(), framesToProcess MUST add up EXACTLY to fftSize / 2
49 void process(FFTFrame* fftKernel, const float* sourceP, float* destP, size_t framesToProcess);
MultiChannelResampler.h 46 void process(AudioSourceProvider*, AudioBus* destination, size_t framesToProcess);
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
WaveShaperDSPKernel.cpp 60 void WaveShaperDSPKernel::process(const float* source, float* destination, size_t framesToProcess)
64 processCurve(source, destination, framesToProcess);
67 processCurve2x(source, destination, framesToProcess);
70 processCurve4x(source, destination, framesToProcess);
78 void WaveShaperDSPKernel::processCurve(const float* source, float* destination, size_t framesToProcess)
85 memcpy(destination, source, sizeof(float) * framesToProcess);
95 memcpy(destination, source, sizeof(float) * framesToProcess);
100 for (unsigned i = 0; i < framesToProcess; ++i) {
125 void WaveShaperDSPKernel::processCurve2x(const float* source, float* destination, size_t framesToProcess)
127 bool isSafe = framesToProcess == RenderingQuantum
    [all...]
WaveShaperDSPKernel.h 46 virtual void process(const float* source, float* dest, size_t framesToProcess);
56 void processCurve(const float* source, float* dest, size_t framesToProcess);
59 void processCurve2x(const float* source, float* dest, size_t framesToProcess);
60 void processCurve4x(const float* source, float* dest, size_t framesToProcess);
AudioBasicProcessorNode.h 45 virtual void process(size_t framesToProcess);
46 virtual void pullInputs(size_t framesToProcess);
GainNode.cpp 53 void GainNode::process(size_t framesToProcess)
69 ASSERT(framesToProcess <= m_sampleAccurateGainValues.size());
70 if (framesToProcess <= m_sampleAccurateGainValues.size()) {
72 gain()->calculateSampleAccurateValues(gainValues, framesToProcess);
73 outputBus->copyWithSampleAccurateGainValuesFrom(*inputBus, gainValues, framesToProcess);
AudioNodeInput.h 69 AudioBus* pull(AudioBus* inPlaceBus, size_t framesToProcess);
92 void sumAllConnections(AudioBus* summingBus, size_t framesToProcess);
AudioBasicInspectorNode.h 42 virtual void pullInputs(size_t framesToProcess);
AudioBasicProcessorNode.cpp 70 void AudioBasicProcessorNode::process(size_t framesToProcess)
83 processor()->process(sourceBus, destinationBus, framesToProcess);
88 void AudioBasicProcessorNode::pullInputs(size_t framesToProcess)
91 input(0)->pull(output(0)->bus(), framesToProcess);
ChannelMergerNode.h 44 virtual void process(size_t framesToProcess);
ChannelSplitterNode.h 40 virtual void process(size_t framesToProcess);
DelayDSPKernel.h 41 virtual void calculateSampleAccurateValues(float* delayTimes, size_t framesToProcess) OVERRIDE;

Completed in 184 milliseconds

1 2 3 4