OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:numberOfChannels
(Results
1 - 21
of
21
) sorted by null
/external/webkit/Source/WebCore/platform/audio/
AudioDSPKernelProcessor.h
52
//
numberOfChannels
may be later changed if object is not yet in an "initialized" state
53
AudioDSPKernelProcessor(double sampleRate, unsigned
numberOfChannels
);
64
virtual void setNumberOfChannels(unsigned
numberOfChannels
);
66
unsigned
numberOfChannels
() const { return m_numberOfChannels; }
AudioResampler.cpp
48
AudioResampler::AudioResampler(unsigned
numberOfChannels
)
51
for (unsigned i = 0; i <
numberOfChannels
; ++i)
54
m_sourceBus = adoptPtr(new AudioBus(
numberOfChannels
, 0, false));
57
void AudioResampler::configureChannels(unsigned
numberOfChannels
)
60
if (
numberOfChannels
== currentSize)
64
if (
numberOfChannels
> currentSize) {
65
for (unsigned i = currentSize; i <
numberOfChannels
; ++i)
68
m_kernels.resize(
numberOfChannels
);
71
m_sourceBus = adoptPtr(new AudioBus(
numberOfChannels
, 0, false));
80
unsigned
numberOfChannels
= m_kernels.size()
[
all
...]
AudioBus.h
63
AudioBus(unsigned
numberOfChannels
, size_t length, bool allocate = true);
69
unsigned
numberOfChannels
() const { return m_channels.size(); }
Reverb.cpp
58
size_t
numberOfChannels
= response->
numberOfChannels
();
63
for (size_t i = 0; i <
numberOfChannels
; ++i) {
73
power = sqrt(power / (
numberOfChannels
* length));
84
if (response->
numberOfChannels
() == 4)
90
Reverb::Reverb(AudioBus* impulseResponse, size_t renderSliceSize, size_t maxFFTSize, size_t
numberOfChannels
, bool useBackgroundThreads)
96
initialize(impulseResponse, renderSliceSize, maxFFTSize,
numberOfChannels
, useBackgroundThreads);
103
void Reverb::initialize(AudioBus* impulseResponseBuffer, size_t renderSliceSize, size_t maxFFTSize, size_t
numberOfChannels
, bool useBackgroundThreads)
108
size_t numResponseChannels = impulseResponseBuffer->
numberOfChannels
();
109
m_convolvers.reserveCapacity(
numberOfChannels
);
[
all
...]
AudioBus.cpp
49
AudioBus::AudioBus(unsigned
numberOfChannels
, size_t length, bool allocate)
55
m_channels.reserveInitialCapacity(
numberOfChannels
);
57
for (unsigned i = 0; i <
numberOfChannels
; ++i) {
85
switch (
numberOfChannels
()) {
136
if (
numberOfChannels
() != bus.
numberOfChannels
())
149
unsigned
numberOfChannels
= sourceBuffer->
numberOfChannels
();
159
OwnPtr<AudioBus> audioBus = adoptPtr(new AudioBus(
numberOfChannels
, rangeLength));
162
for (unsigned i = 0; i <
numberOfChannels
; ++i
[
all
...]
/external/webkit/Source/WebCore/webaudio/
AudioDestinationNode.h
53
virtual unsigned
numberOfChannels
() const { return 2; } // FIXME: update when multi-channel (more than stereo) is supported
AudioGainNode.cpp
95
unsigned
numberOfChannels
= input->
numberOfChannels
();
97
if (isInitialized() &&
numberOfChannels
!= output(0)->
numberOfChannels
()) {
106
output(0)->setNumberOfChannels(
numberOfChannels
);
AudioBasicProcessorNode.cpp
123
unsigned
numberOfChannels
= input->
numberOfChannels
();
125
if (isInitialized() &&
numberOfChannels
!= output(0)->
numberOfChannels
()) {
134
output(0)->setNumberOfChannels(
numberOfChannels
);
137
processor()->setNumberOfChannels(
numberOfChannels
);
142
unsigned AudioBasicProcessorNode::
numberOfChannels
()
144
return output(0)->
numberOfChannels
();
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)
61
m_channels.reserveCapacity(
numberOfChannels
);
63
for (unsigned i = 0; i <
numberOfChannels
; ++i) {
75
unsigned
numberOfChannels
= bus->
numberOfChannels
();
76
m_channels.reserveCapacity(
numberOfChannels
);
77
for (unsigned i = 0; i <
numberOfChannels
; ++i) {
AudioBuffer.h
44
static PassRefPtr<AudioBuffer> create(unsigned
numberOfChannels
, size_t numberOfFrames, double sampleRate);
55
unsigned
numberOfChannels
() const { return m_channels.size(); }
69
AudioBuffer(unsigned
numberOfChannels
, size_t numberOfFrames, double sampleRate);
AudioNodeInput.cpp
162
unsigned AudioNodeInput::
numberOfChannels
() const
169
maxChannels = max(maxChannels, output->bus()->
numberOfChannels
());
183
maxChannels = max(maxChannels, renderingOutput(i)->bus()->
numberOfChannels
());
AudioNodeOutput.h
44
// It's OK to pass 0 for
numberOfChannels
in which case setNumberOfChannels() must be called later on.
45
AudioNodeOutput(AudioNode*, unsigned
numberOfChannels
);
73
unsigned
numberOfChannels
() const { return m_numberOfChannels; }
74
bool isChannelCountKnown() const { return
numberOfChannels
() > 0; }
ConvolverNode.cpp
119
unsigned
numberOfChannels
= buffer->
numberOfChannels
();
123
bool isBufferGood =
numberOfChannels
> 0 &&
numberOfChannels
<= 4 && bufferLength;
130
AudioBus bufferBus(
numberOfChannels
, bufferLength, false);
131
for (unsigned i = 0; i <
numberOfChannels
; ++i)
OfflineAudioDestinationNode.cpp
48
m_renderBus = adoptPtr(new AudioBus(renderTarget->
numberOfChannels
(), renderQuantumSize));
104
bool channelsMatch = m_renderBus->
numberOfChannels
() == m_renderTarget->
numberOfChannels
();
126
unsigned
numberOfChannels
= m_renderTarget->
numberOfChannels
();
135
for (unsigned channelIndex = 0; channelIndex <
numberOfChannels
; ++channelIndex) {
AudioBufferSourceNode.cpp
148
unsigned
numberOfChannels
= this->
numberOfChannels
();
149
unsigned busNumberOfChannels = bus->
numberOfChannels
();
152
bool channelCountGood =
numberOfChannels
== busNumberOfChannels && (
numberOfChannels
== 1 ||
numberOfChannels
== 2);
162
float* destinationR = (
numberOfChannels
< 2) ? 0 : bus->channel(1)->data();
265
bool isBusGood = destinationBus && destinationBus->length() == framesToProcess && destinationBus->
numberOfChannels
() ==
numberOfChannels
();
270
unsigned
numberOfChannels
= this->numberOfChannels()
[
all
...]
/external/webkit/Source/WebCore/bindings/js/
JSAudioContextCustom.cpp
64
// new AudioContext(in unsigned long
numberOfChannels
, in unsigned long numberOfFrames, in float sampleRate);
68
unsigned
numberOfChannels
= exec->argument(0).toInt32(exec);
72
audioContext = AudioContext::createOfflineContext(document,
numberOfChannels
, numberOfFrames, sampleRate);
107
// AudioBuffer createBuffer(in unsigned long
numberOfChannels
, in unsigned long numberOfFrames, in float sampleRate);
111
unsigned
numberOfChannels
= exec->argument(0).toInt32(exec);
115
RefPtr<AudioBuffer> audioBuffer = audioContext->createBuffer(
numberOfChannels
, numberOfFrames, sampleRate);
/external/webkit/Source/WebCore/bindings/v8/custom/
V8AudioContextCustom.cpp
61
// new AudioContext(in unsigned long
numberOfChannels
, in unsigned long numberOfFrames, in float sampleRate);
67
unsigned
numberOfChannels
= toInt32(args[0], ok);
77
audioContext = AudioContext::createOfflineContext(document,
numberOfChannels
, numberOfFrames, sampleRate);
119
// AudioBuffer createBuffer(in unsigned long
numberOfChannels
, in unsigned long numberOfFrames, in float sampleRate);
125
unsigned
numberOfChannels
= toInt32(args[0], ok);
135
RefPtr<AudioBuffer> audioBuffer = audioContext->createBuffer(
numberOfChannels
, numberOfFrames, sampleRate);
/external/webkit/Source/WebKit/chromium/src/
AudioDestinationChromium.cpp
60
const unsigned
numberOfChannels
= 2;
70
, m_renderBus(
numberOfChannels
, renderBufferSize, false)
74
m_audioDevice = adoptPtr(webKitClient()->createAudioDevice(callbackBufferSize,
numberOfChannels
, sampleRate, this));
107
bool isNumberOfChannelsGood = audioData.size() ==
numberOfChannels
;
WebAudioBus.cpp
47
void WebAudioBus::initialize(unsigned
numberOfChannels
, size_t length, double sampleRate)
50
AudioBus* audioBus = new AudioBus(
numberOfChannels
, length);
71
unsigned WebAudioBus::
numberOfChannels
() const
76
return m_private->
numberOfChannels
();
112
ASSERT(channelIndex <
numberOfChannels
());
/external/webkit/Tools/DumpRenderTree/gtk/
ImageDiff.cpp
93
int
numberOfChannels
= gdk_pixbuf_get_n_channels(actualImage);
96
|| (
numberOfChannels
!= gdk_pixbuf_get_n_channels(baselineImage))
113
unsigned char* actualPixel = actualPixels + (y * actualRowStride) + (x *
numberOfChannels
);
114
unsigned char* basePixel = basePixels + (y * baseRowStride) + (x *
numberOfChannels
);
/external/aac/libAACenc/src/
bitenc.cpp
[
all
...]
Completed in 677 milliseconds