HomeSort by relevance Sort by last modified time
    Searched refs:framesToProcess (Results 1 - 25 of 98) 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) OVERRIDE
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 49 float* AudioResamplerKernel::getSourcePointer(size_t framesToProcess, size_t* numberOfSourceFramesNeededP)
51 ASSERT(framesToProcess <= MaxFramesToProcess);
54 double nextFractionalIndex = m_virtualReadIndex + framesToProcess * rate();
74 void AudioResamplerKernel::process(float* destination, size_t framesToProcess)
76 ASSERT(framesToProcess <= MaxFramesToProcess);
94 ASSERT(framesToProcess > 0);
95 ASSERT(virtualReadIndex >= 0 && 1 + static_cast<unsigned>(virtualReadIndex + (framesToProcess - 1) * rate) < m_sourceBuffer.size());
98 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) OVERRIDE;
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) OVERRIDE;
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 58 void WaveShaperDSPKernel::process(const float* source, float* destination, size_t framesToProcess)
62 processCurve(source, destination, framesToProcess);
65 processCurve2x(source, destination, framesToProcess);
68 processCurve4x(source, destination, framesToProcess);
76 void WaveShaperDSPKernel::processCurve(const float* source, float* destination, size_t framesToProcess)
83 memcpy(destination, source, sizeof(float) * framesToProcess);
93 memcpy(destination, source, sizeof(float) * framesToProcess);
98 for (unsigned i = 0; i < framesToProcess; ++i) {
129 void WaveShaperDSPKernel::processCurve2x(const float* source, float* destination, size_t framesToProcess)
131 bool isSafe = framesToProcess == RenderingQuantum
    [all...]
WaveShaperDSPKernel.h 46 virtual void process(const float* source, float* dest, size_t framesToProcess) OVERRIDE;
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);
GainNode.cpp 52 void GainNode::process(size_t framesToProcess)
68 ASSERT(framesToProcess <= m_sampleAccurateGainValues.size());
69 if (framesToProcess <= m_sampleAccurateGainValues.size()) {
71 gain()->calculateSampleAccurateValues(gainValues, framesToProcess);
72 outputBus->copyWithSampleAccurateGainValuesFrom(*inputBus, gainValues, framesToProcess);
ChannelSplitterNode.cpp 58 void ChannelSplitterNode::process(size_t framesToProcess)
62 ASSERT_UNUSED(framesToProcess, framesToProcess == source->length());
AudioBasicProcessorNode.h 47 virtual void process(size_t framesToProcess) OVERRIDE FINAL;
48 virtual void pullInputs(size_t framesToProcess) OVERRIDE FINAL;
ChannelMergerNode.h 45 virtual void process(size_t framesToProcess) OVERRIDE;
ChannelSplitterNode.h 41 virtual void process(size_t framesToProcess) OVERRIDE;
DelayDSPKernel.h 41 virtual void calculateSampleAccurateValues(float* delayTimes, size_t framesToProcess) OVERRIDE;
  /external/chromium_org/third_party/WebKit/Source/platform/mediastream/
MediaStreamWebAudioSource.cpp 51 void MediaStreamWebAudioSource::provideInput(AudioBus* bus, size_t framesToProcess)
68 m_webAudioSourceProvider->provideInput(webAudioData, framesToProcess);
MediaStreamWebAudioSource.h 55 virtual void provideInput(blink::AudioBus*, size_t framesToProcess) OVERRIDE;

Completed in 235 milliseconds

1 2 3 4