/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
D | ReverbAccumulationBuffer.cpp | 48 void ReverbAccumulationBuffer::readAndClear(float* destination, size_t numberOfFrames) in readAndClear() argument 51 bool isCopySafe = m_readIndex <= bufferLength && numberOfFrames <= bufferLength; in readAndClear() 58 size_t numberOfFrames1 = std::min(numberOfFrames, framesAvailable); in readAndClear() 59 size_t numberOfFrames2 = numberOfFrames - numberOfFrames1; in readAndClear() 71 m_readIndex = (m_readIndex + numberOfFrames) % bufferLength; in readAndClear() 72 m_readTimeFrame += numberOfFrames; in readAndClear() 75 void ReverbAccumulationBuffer::updateReadIndex(int* readIndex, size_t numberOfFrames) const in updateReadIndex() 78 *readIndex = (*readIndex + numberOfFrames) % m_buffer.size(); in updateReadIndex() 81 int ReverbAccumulationBuffer::accumulate(float* source, size_t numberOfFrames, int* readIndex, size… in accumulate() argument 88 *readIndex = (*readIndex + numberOfFrames) % bufferLength; in accumulate() [all …]
|
D | ReverbInputBuffer.cpp | 43 void ReverbInputBuffer::write(const float* sourceP, size_t numberOfFrames) in write() argument 46 bool isCopySafe = m_writeIndex + numberOfFrames <= bufferLength; in write() 51 memcpy(m_buffer.data() + m_writeIndex, sourceP, sizeof(float) * numberOfFrames); in write() 53 m_writeIndex += numberOfFrames; in write() 60 float* ReverbInputBuffer::directReadFrom(int* readIndex, size_t numberOfFrames) in directReadFrom() argument 63 … bool isPointerGood = readIndex && *readIndex >= 0 && *readIndex + numberOfFrames <= bufferLength; in directReadFrom() 76 *readIndex = (*readIndex + numberOfFrames) % bufferLength; in directReadFrom()
|
D | AudioDestination.cpp | 138 …der(const WebVector<float*>& sourceData, const WebVector<float*>& audioData, size_t numberOfFrames) in render() argument 146 bool isBufferSizeGood = numberOfFrames == m_callbackBufferSize; in render() 155 RefPtr<AudioBus> wrapperBus = AudioBus::create(2, numberOfFrames, false); in render() 156 wrapperBus->setChannelMemory(0, sourceData[0], numberOfFrames); in render() 157 wrapperBus->setChannelMemory(1, sourceData[1], numberOfFrames); in render() 162 m_renderBus->setChannelMemory(i, audioData[i], numberOfFrames); in render() 164 m_fifo->consume(m_renderBus.get(), numberOfFrames); in render()
|
D | ReverbAccumulationBuffer.h | 45 void readAndClear(float* destination, size_t numberOfFrames); 51 int accumulate(float* source, size_t numberOfFrames, int* readIndex, size_t delayFrames); 54 void updateReadIndex(int* readIndex, size_t numberOfFrames) const;
|
D | ReverbInputBuffer.h | 45 void write(const float* sourceP, size_t numberOfFrames); 54 float* directReadFrom(int* readIndex, size_t numberOfFrames);
|
D | AudioPullFIFO.cpp | 58 void AudioPullFIFO::fillBuffer(size_t numberOfFrames) in fillBuffer() argument 64 while (framesProvided < numberOfFrames) { in fillBuffer()
|
D | AudioDelayDSPKernel.h | 42 void setDelayFrames(double numberOfFrames) { m_desiredDelayFrames = numberOfFrames; } in setDelayFrames() argument
|
D | AudioDestinationConsumer.h | 44 virtual void consumeAudio(AudioBus*, size_t numberOfFrames) = 0;
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
D | AudioBuffer.cpp | 46 AudioBuffer* AudioBuffer::create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) in create() argument 48 … || numberOfChannels > AudioContext::maxNumberOfChannels() || !numberOfChannels || !numberOfFrames) in create() 51 AudioBuffer* buffer = new AudioBuffer(numberOfChannels, numberOfFrames, sampleRate); in create() 58 AudioBuffer* AudioBuffer::create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate… in create() argument 86 if (!numberOfFrames) { in create() 91 numberOfFrames, in create() 96 AudioBuffer* audioBuffer = create(numberOfChannels, numberOfFrames, sampleRate); in create() 103 + String::number(numberOfFrames) + ", " in create() 138 AudioBuffer::AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) in AudioBuffer() argument 140 , m_length(numberOfFrames) in AudioBuffer()
|
D | OfflineAudioContext.cpp | 40 …:create(ExecutionContext* context, unsigned numberOfChannels, size_t numberOfFrames, float sampleR… in create() argument 52 if (!numberOfFrames) { in create() 80 …llectedWillBeNoop(new OfflineAudioContext(document, numberOfChannels, numberOfFrames, sampleRate)); in create() 86 + ", " + String::number(numberOfFrames) in create() 95 …neAudioContext(Document* document, unsigned numberOfChannels, size_t numberOfFrames, float sampleR… in OfflineAudioContext() argument 96 : AudioContext(document, numberOfChannels, numberOfFrames, sampleRate) in OfflineAudioContext()
|
D | AudioDestinationNode.cpp | 59 … AudioDestinationNode::render(AudioBus* sourceBus, AudioBus* destinationBus, size_t numberOfFrames) in render() argument 82 AudioBus* renderedBus = input(0)->pull(destinationBus, numberOfFrames); in render() 92 context()->processAutomaticPullNodes(numberOfFrames); in render() 98 m_currentSampleFrame += numberOfFrames; in render()
|
D | AudioDestinationNode.h | 51 …virtual void render(AudioBus* sourceBus, AudioBus* destinationBus, size_t numberOfFrames) OVERRIDE… 77 virtual void provideInput(AudioBus* destinationBus, size_t numberOfFrames) OVERRIDE in provideInput() argument 79 …= destinationBus && destinationBus->length() == numberOfFrames && m_sourceBus->length() == numberO… in provideInput()
|
D | AudioBuffer.h | 46 static AudioBuffer* create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); 47 …static AudioBuffer* create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, Exc… 70 AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate);
|
D | OfflineAudioContext.h | 37 …Context* create(ExecutionContext*, unsigned numberOfChannels, size_t numberOfFrames, float sampleR… 42 …OfflineAudioContext(Document*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate);
|
D | MediaElementAudioSourceNode.cpp | 108 void MediaElementAudioSourceNode::process(size_t numberOfFrames) in process() argument 125 m_multiChannelResampler->process(provider, outputBus, numberOfFrames); in process() 129 provider->provideInput(outputBus, numberOfFrames); in process()
|
D | MediaStreamAudioDestinationNode.cpp | 78 void MediaStreamAudioDestinationNode::process(size_t numberOfFrames) in process() argument 81 m_source->consumeAudio(m_mixBus.get(), numberOfFrames); in process()
|
D | MediaStreamAudioSourceNode.cpp | 96 void MediaStreamAudioSourceNode::process(size_t numberOfFrames) in process() argument 115 audioSourceProvider()->provideInput(outputBus, numberOfFrames); in process()
|
D | AudioBufferSourceNode.cpp | 162 …SourceNode::renderFromBuffer(AudioBus* bus, unsigned destinationFrameOffset, size_t numberOfFrames) in renderFromBuffer() argument 183 bool isLengthGood = destinationLength <= 4096 && numberOfFrames <= 4096; in renderFromBuffer() 188 …tinationFrameOffset <= destinationLength && destinationFrameOffset + numberOfFrames <= destination… in renderFromBuffer() 246 int framesToProcess = numberOfFrames; in renderFromBuffer()
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
D | WebMediaStreamSource.cpp | 177 virtual void consumeAudio(AudioBus*, size_t numberOfFrames) OVERRIDE; 193 void ConsumerWrapper::consumeAudio(AudioBus* bus, size_t numberOfFrames) in consumeAudio() argument 204 m_consumer->consumeAudio(busVector, numberOfFrames); in consumeAudio()
|
D | WebAudioDevice.cpp | 30 …nst WebVector<float*>& sourceData, const WebVector<float*>& destinationData, size_t numberOfFrames) in render() argument
|
/external/chromium_org/third_party/WebKit/Source/platform/mediastream/ |
D | MediaStreamSource.cpp | 98 void MediaStreamSource::consumeAudio(AudioBus* bus, size_t numberOfFrames) in consumeAudio() argument 103 (*it)->consumeAudio(bus, numberOfFrames); in consumeAudio()
|
/external/chromium_org/v8/benchmarks/spinning-balls/ |
D | v.js | 60 var numberOfFrames = 0; variable 363 numberOfFrames++; 375 Math.round(numberOfFrames * 1000 / sumOfSquaredPauses); 417 numberOfFrames + " frames";
|
/external/chromium_org/third_party/WebKit/public/platform/ |
D | WebAudioDestinationConsumer.h | 40 virtual void consumeAudio(const WebVector<const float*>&, size_t numberOfFrames) = 0;
|
D | WebAudioSourceProvider.h | 40 virtual void provideInput(const WebVector<float*>& audioData, size_t numberOfFrames) = 0;
|
D | WebAudioDevice.h | 43 …st WebVector<float*>& sourceData, const WebVector<float*>& destinationData, size_t numberOfFrames);
|