OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:numberofframes
(Results
1 - 25
of
25
) sorted by null
/external/webkit/Source/WebCore/platform/audio/
ReverbAccumulationBuffer.cpp
48
void ReverbAccumulationBuffer::readAndClear(float* destination, size_t
numberOfFrames
)
51
bool isCopySafe = m_readIndex <= bufferLength &&
numberOfFrames
<= bufferLength;
58
size_t numberOfFrames1 = std::min(
numberOfFrames
, framesAvailable);
59
size_t numberOfFrames2 =
numberOfFrames
- numberOfFrames1;
71
m_readIndex = (m_readIndex +
numberOfFrames
) % bufferLength;
72
m_readTimeFrame +=
numberOfFrames
;
75
void ReverbAccumulationBuffer::updateReadIndex(int* readIndex, size_t
numberOfFrames
) const
78
*readIndex = (*readIndex +
numberOfFrames
) % m_buffer.size();
81
int ReverbAccumulationBuffer::accumulate(float* source, size_t
numberOfFrames
, int* readIndex, size_t delayFrames)
88
*readIndex = (*readIndex +
numberOfFrames
) % bufferLength
[
all
...]
ReverbInputBuffer.cpp
43
void ReverbInputBuffer::write(float* sourceP, size_t
numberOfFrames
)
46
bool isCopySafe = m_writeIndex +
numberOfFrames
<= bufferLength;
51
memcpy(m_buffer.data() + m_writeIndex, sourceP, sizeof(float) *
numberOfFrames
);
53
m_writeIndex +=
numberOfFrames
;
60
float* ReverbInputBuffer::directReadFrom(int* readIndex, size_t
numberOfFrames
)
63
bool isPointerGood = readIndex && *readIndex >= 0 && *readIndex +
numberOfFrames
<= bufferLength;
76
*readIndex = (*readIndex +
numberOfFrames
) % bufferLength;
ReverbInputBuffer.h
42
// The assumption is that the buffer's length is evenly divisible by
numberOfFrames
(for nearly all cases this will be fine).
43
// FIXME: remove
numberOfFrames
restriction...
44
void write(float* sourceP, size_t
numberOfFrames
);
51
// The assumption is that the buffer's length is evenly divisible by
numberOfFrames
.
52
// FIXME: remove
numberOfFrames
restriction...
53
float* directReadFrom(int* readIndex, size_t
numberOfFrames
);
ReverbAccumulationBuffer.h
43
// This will read from, then clear-out
numberOfFrames
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;
/external/webkit/Source/WebCore/bindings/js/
JSAudioContextCustom.cpp
64
// new AudioContext(in unsigned long numberOfChannels, in unsigned long
numberOfFrames
, in float sampleRate);
69
unsigned
numberOfFrames
= exec->argument(1).toInt32(exec);
72
audioContext = AudioContext::createOfflineContext(document, numberOfChannels,
numberOfFrames
, sampleRate);
107
// AudioBuffer createBuffer(in unsigned long numberOfChannels, in unsigned long
numberOfFrames
, in float sampleRate);
112
unsigned
numberOfFrames
= exec->argument(1).toInt32(exec);
115
RefPtr<AudioBuffer> audioBuffer = audioContext->createBuffer(numberOfChannels,
numberOfFrames
, sampleRate);
/external/webkit/Source/WebCore/platform/audio/mac/
AudioFileReaderMac.cpp
184
size_t
numberOfFrames
= static_cast<size_t>(numberOfFrames64);
189
OwnPtr<AudioBus> audioBus = adoptPtr(new AudioBus(busChannelCount,
numberOfFrames
));
202
bufL.resize(
numberOfFrames
);
203
bufR.resize(
numberOfFrames
);
208
bufferList->mBuffers[0].mDataByteSize =
numberOfFrames
* sizeof(float);
212
bufferList->mBuffers[1].mDataByteSize =
numberOfFrames
* sizeof(float);
220
bufferList->mBuffers[i].mDataByteSize =
numberOfFrames
* sizeof(float);
226
UInt32 framesToRead =
numberOfFrames
;
234
for (size_t i = 0; i <
numberOfFrames
; i++)
AudioDestinationMac.h
55
static OSStatus inputProc(void* userData, AudioUnitRenderActionFlags*, const AudioTimeStamp*, UInt32 busNumber, UInt32
numberOfFrames
, AudioBufferList* ioData);
57
OSStatus render(UInt32
numberOfFrames
, AudioBufferList* ioData);
AudioDestinationMac.cpp
151
OSStatus AudioDestinationMac::render(UInt32
numberOfFrames
, AudioBufferList* ioData)
154
m_renderBus.setChannelMemory(0, (float*)buffers[0].mData,
numberOfFrames
);
155
m_renderBus.setChannelMemory(1, (float*)buffers[1].mData,
numberOfFrames
);
157
m_provider.provideInput(&m_renderBus,
numberOfFrames
);
163
OSStatus AudioDestinationMac::inputProc(void* userData, AudioUnitRenderActionFlags*, const AudioTimeStamp*, UInt32 /*busNumber*/, UInt32
numberOfFrames
, AudioBufferList* ioData)
166
return audioOutput->render(
numberOfFrames
, ioData);
/external/webkit/Source/WebCore/webaudio/
AudioDestinationNode.cpp
53
void AudioDestinationNode::provideInput(AudioBus* destinationBus, size_t
numberOfFrames
)
67
AudioBus* renderedBus = input(0)->pull(destinationBus,
numberOfFrames
);
80
m_currentTime +=
numberOfFrames
/ sampleRate();
AudioBuffer.cpp
42
PassRefPtr<AudioBuffer> AudioBuffer::create(unsigned numberOfChannels, size_t
numberOfFrames
, double sampleRate)
44
return adoptRef(new AudioBuffer(numberOfChannels,
numberOfFrames
, sampleRate));
56
AudioBuffer::AudioBuffer(unsigned numberOfChannels, size_t
numberOfFrames
, double sampleRate)
59
, m_length(
numberOfFrames
)
DelayDSPKernel.h
46
void setDelayFrames(double
numberOfFrames
) { m_desiredDelayFrames =
numberOfFrames
; }
AudioBuffer.h
44
static PassRefPtr<AudioBuffer> create(unsigned numberOfChannels, size_t
numberOfFrames
, double sampleRate);
69
AudioBuffer(unsigned numberOfChannels, size_t
numberOfFrames
, double sampleRate);
AudioContext.idl
47
// AudioBuffer createBuffer(in unsigned long numberOfChannels, in unsigned long
numberOfFrames
, in float sampleRate);
70
// void prepareOfflineBufferRendering(in unsigned long numberOfChannels, in unsigned long
numberOfFrames
, in float sampleRate);
AudioDestinationNode.h
47
virtual void provideInput(AudioBus*, size_t
numberOfFrames
);
AudioContext.cpp
76
PassRefPtr<AudioContext> AudioContext::createOfflineContext(Document* document, unsigned numberOfChannels, size_t
numberOfFrames
, double sampleRate)
78
return adoptRef(new AudioContext(document, numberOfChannels,
numberOfFrames
, sampleRate));
109
AudioContext::AudioContext(Document* document, unsigned numberOfChannels, size_t
numberOfFrames
, double sampleRate)
126
m_renderTarget = AudioBuffer::create(numberOfChannels,
numberOfFrames
, sampleRate);
232
PassRefPtr<AudioBuffer> AudioContext::createBuffer(unsigned numberOfChannels, size_t
numberOfFrames
, double sampleRate)
234
return AudioBuffer::create(numberOfChannels,
numberOfFrames
, sampleRate);
AudioContext.h
70
static PassRefPtr<AudioContext> createOfflineContext(Document*, unsigned numberOfChannels, size_t
numberOfFrames
, double sampleRate);
91
PassRefPtr<AudioBuffer> createBuffer(unsigned numberOfChannels, size_t
numberOfFrames
, double sampleRate);
209
AudioContext(Document*, unsigned numberOfChannels, size_t
numberOfFrames
, double sampleRate);
AudioBufferSourceNode.cpp
138
void AudioBufferSourceNode::provideInput(AudioBus* bus, size_t
numberOfFrames
)
185
int framesToProcess =
numberOfFrames
;
208
// end of the sample data, but haven't yet rendered
numberOfFrames
worth of output.
AudioBufferSourceNode.h
58
virtual void provideInput(AudioBus*, size_t
numberOfFrames
);
/external/webkit/Source/WebCore/bindings/v8/custom/
V8AudioContextCustom.cpp
61
// new AudioContext(in unsigned long numberOfChannels, in unsigned long
numberOfFrames
, in float sampleRate);
71
unsigned
numberOfFrames
= toInt32(args[1], ok);
77
audioContext = AudioContext::createOfflineContext(document, numberOfChannels,
numberOfFrames
, sampleRate);
119
// AudioBuffer createBuffer(in unsigned long numberOfChannels, in unsigned long
numberOfFrames
, in float sampleRate);
129
unsigned
numberOfFrames
= toInt32(args[1], ok);
135
RefPtr<AudioBuffer> audioBuffer = audioContext->createBuffer(numberOfChannels,
numberOfFrames
, sampleRate);
/external/webkit/Source/WebKit/chromium/src/
AudioDestinationChromium.cpp
105
void AudioDestinationChromium::render(const WebVector<float*>& audioData, size_t
numberOfFrames
)
113
bool isBufferSizeGood =
numberOfFrames
== callbackBufferSize;
AudioDestinationChromium.h
55
virtual void render(const WebKit::WebVector<float*>& audioData, size_t
numberOfFrames
);
/external/webkit/Source/WebKit/chromium/public/
WebAudioDevice.h
42
virtual void render(const WebVector<float*>& audioData, size_t
numberOfFrames
) = 0;
/packages/apps/Camera/src/com/android/camera/ui/
IndicatorControlWheel.java
450
long
numberOfFrames
= timeDelta / mTimeLapseInterval;
452
if (
numberOfFrames
> mNumberOfFrames) {
456
mNumberOfFrames =
numberOfFrames
;
/packages/apps/Camera/src/com/android/camera/
VideoCamera.java
[
all
...]
/prebuilt/common/ecj/
ecj.jar
Completed in 1206 milliseconds