/external/webkit/Source/WebCore/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(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 | ReverbAccumulationBuffer.h | 44 void readAndClear(float* destination, size_t numberOfFrames); 50 int accumulate(float* source, size_t numberOfFrames, int* readIndex, size_t delayFrames); 53 void updateReadIndex(int* readIndex, size_t numberOfFrames) const;
|
D | ReverbInputBuffer.h | 44 void write(float* sourceP, size_t numberOfFrames); 53 float* directReadFrom(int* readIndex, size_t numberOfFrames);
|
/external/webkit/Source/WebCore/platform/audio/mac/ |
D | AudioFileReaderMac.cpp | 184 size_t numberOfFrames = static_cast<size_t>(numberOfFrames64); in createBus() local 189 OwnPtr<AudioBus> audioBus = adoptPtr(new AudioBus(busChannelCount, numberOfFrames)); in createBus() 202 bufL.resize(numberOfFrames); in createBus() 203 bufR.resize(numberOfFrames); in createBus() 208 bufferList->mBuffers[0].mDataByteSize = numberOfFrames * sizeof(float); in createBus() 212 bufferList->mBuffers[1].mDataByteSize = numberOfFrames * sizeof(float); in createBus() 220 bufferList->mBuffers[i].mDataByteSize = numberOfFrames * sizeof(float); in createBus() 226 UInt32 framesToRead = numberOfFrames; in createBus() 234 for (size_t i = 0; i < numberOfFrames; i++) in createBus()
|
D | AudioDestinationMac.cpp | 151 OSStatus AudioDestinationMac::render(UInt32 numberOfFrames, AudioBufferList* ioData) in render() argument 154 m_renderBus.setChannelMemory(0, (float*)buffers[0].mData, numberOfFrames); in render() 155 m_renderBus.setChannelMemory(1, (float*)buffers[1].mData, numberOfFrames); in render() 157 m_provider.provideInput(&m_renderBus, numberOfFrames); in render() 163 …derActionFlags*, const AudioTimeStamp*, UInt32 /*busNumber*/, UInt32 numberOfFrames, AudioBufferLi… in inputProc() argument 166 return audioOutput->render(numberOfFrames, ioData); in inputProc()
|
D | AudioDestinationMac.h | 55 …tRenderActionFlags*, const AudioTimeStamp*, UInt32 busNumber, UInt32 numberOfFrames, AudioBufferLi… 57 OSStatus render(UInt32 numberOfFrames, AudioBufferList* ioData);
|
/external/webkit/Source/WebCore/webaudio/ |
D | AudioBuffer.cpp | 42 PassRefPtr<AudioBuffer> AudioBuffer::create(unsigned numberOfChannels, size_t numberOfFrames, doubl… in create() argument 44 return adoptRef(new AudioBuffer(numberOfChannels, numberOfFrames, sampleRate)); in create() 56 AudioBuffer::AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, double sampleRate) in AudioBuffer() argument 59 , m_length(numberOfFrames) in AudioBuffer()
|
D | AudioDestinationNode.cpp | 53 void AudioDestinationNode::provideInput(AudioBus* destinationBus, size_t numberOfFrames) in provideInput() argument 67 AudioBus* renderedBus = input(0)->pull(destinationBus, numberOfFrames); in provideInput() 80 m_currentTime += numberOfFrames / sampleRate(); in provideInput()
|
D | DelayDSPKernel.h | 46 void setDelayFrames(double numberOfFrames) { m_desiredDelayFrames = numberOfFrames; } in setDelayFrames() argument
|
D | AudioBuffer.h | 44 …static PassRefPtr<AudioBuffer> create(unsigned numberOfChannels, size_t numberOfFrames, double sam… 69 AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, double sampleRate);
|
D | AudioContext.cpp | 76 …OfflineContext(Document* document, unsigned numberOfChannels, size_t numberOfFrames, double sample… in createOfflineContext() argument 78 return adoptRef(new AudioContext(document, numberOfChannels, numberOfFrames, sampleRate)); in createOfflineContext() 109 AudioContext::AudioContext(Document* document, unsigned numberOfChannels, size_t numberOfFrames, do… in AudioContext() argument 126 m_renderTarget = AudioBuffer::create(numberOfChannels, numberOfFrames, sampleRate); in AudioContext() 232 PassRefPtr<AudioBuffer> AudioContext::createBuffer(unsigned numberOfChannels, size_t numberOfFrames… in createBuffer() argument 234 return AudioBuffer::create(numberOfChannels, numberOfFrames, sampleRate); in createBuffer()
|
D | AudioContext.h | 70 …t> createOfflineContext(Document*, unsigned numberOfChannels, size_t numberOfFrames, double sample… 91 …PassRefPtr<AudioBuffer> createBuffer(unsigned numberOfChannels, size_t numberOfFrames, double samp… 209 AudioContext(Document*, unsigned numberOfChannels, size_t numberOfFrames, double sampleRate);
|
D | AudioDestinationNode.h | 47 virtual void provideInput(AudioBus*, size_t numberOfFrames);
|
D | AudioContext.idl | 47 …fer createBuffer(in unsigned long numberOfChannels, in unsigned long numberOfFrames, in float samp… 70 …eBufferRendering(in unsigned long numberOfChannels, in unsigned long numberOfFrames, in float samp…
|
D | AudioBufferSourceNode.h | 58 virtual void provideInput(AudioBus*, size_t numberOfFrames);
|
D | AudioBufferSourceNode.cpp | 138 void AudioBufferSourceNode::provideInput(AudioBus* bus, size_t numberOfFrames) in provideInput() argument 185 int framesToProcess = numberOfFrames; in provideInput()
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
D | V8AudioContextCustom.cpp | 71 unsigned numberOfFrames = toInt32(args[1], ok); in constructorCallback() local 77 …ntext = AudioContext::createOfflineContext(document, numberOfChannels, numberOfFrames, sampleRate); in constructorCallback() 129 unsigned numberOfFrames = toInt32(args[1], ok); in createBufferCallback() local 135 …RefPtr<AudioBuffer> audioBuffer = audioContext->createBuffer(numberOfChannels, numberOfFrames, sam… in createBufferCallback()
|
/external/webkit/Source/WebCore/bindings/js/ |
D | JSAudioContextCustom.cpp | 69 unsigned numberOfFrames = exec->argument(1).toInt32(exec); in constructJSAudioContext() local 72 …ntext = AudioContext::createOfflineContext(document, numberOfChannels, numberOfFrames, sampleRate); in constructJSAudioContext() 112 unsigned numberOfFrames = exec->argument(1).toInt32(exec); in createBuffer() local 115 …RefPtr<AudioBuffer> audioBuffer = audioContext->createBuffer(numberOfChannels, numberOfFrames, sam… in createBuffer()
|
/external/webkit/Source/WebKit/chromium/src/ |
D | AudioDestinationChromium.cpp | 105 void AudioDestinationChromium::render(const WebVector<float*>& audioData, size_t numberOfFrames) in render() argument 113 bool isBufferSizeGood = numberOfFrames == callbackBufferSize; in render()
|
D | AudioDestinationChromium.h | 55 virtual void render(const WebKit::WebVector<float*>& audioData, size_t numberOfFrames);
|
/external/v8/benchmarks/spinning-balls/ |
D | v.js | 60 var numberOfFrames = 0; variable 363 numberOfFrames++; 375 Math.round(numberOfFrames * 1000 / sumOfSquaredPauses); 417 numberOfFrames + " frames";
|
/external/webkit/Source/WebKit/chromium/public/ |
D | WebAudioDevice.h | 42 virtual void render(const WebVector<float*>& audioData, size_t numberOfFrames) = 0;
|