/external/webkit/Source/WebCore/platform/audio/ |
D | AudioResampler.cpp | 48 AudioResampler::AudioResampler(unsigned numberOfChannels) in AudioResampler() argument 51 for (unsigned i = 0; i < numberOfChannels; ++i) in AudioResampler() 54 m_sourceBus = adoptPtr(new AudioBus(numberOfChannels, 0, false)); in AudioResampler() 57 void AudioResampler::configureChannels(unsigned numberOfChannels) in configureChannels() argument 60 if (numberOfChannels == currentSize) in configureChannels() 64 if (numberOfChannels > currentSize) { in configureChannels() 65 for (unsigned i = currentSize; i < numberOfChannels; ++i) in configureChannels() 68 m_kernels.resize(numberOfChannels); in configureChannels() 71 m_sourceBus = adoptPtr(new AudioBus(numberOfChannels, 0, false)); in configureChannels() 80 unsigned numberOfChannels = m_kernels.size(); in process() local [all …]
|
D | AudioBus.cpp | 49 AudioBus::AudioBus(unsigned numberOfChannels, size_t length, bool allocate) in AudioBus() argument 55 m_channels.reserveInitialCapacity(numberOfChannels); in AudioBus() 57 for (unsigned i = 0; i < numberOfChannels; ++i) { in AudioBus() 85 switch (numberOfChannels()) { in channelByType() 136 if (numberOfChannels() != bus.numberOfChannels()) in topologyMatches() 149 unsigned numberOfChannels = sourceBuffer->numberOfChannels(); in createBufferFromRange() local 159 OwnPtr<AudioBus> audioBus = adoptPtr(new AudioBus(numberOfChannels, rangeLength)); in createBufferFromRange() 162 for (unsigned i = 0; i < numberOfChannels; ++i) in createBufferFromRange() 171 for (unsigned i = 0; i < numberOfChannels(); ++i) { in maxAbsValue() 188 for (unsigned i = 0; i < numberOfChannels(); ++i) in scale() [all …]
|
D | Reverb.cpp | 58 size_t numberOfChannels = response->numberOfChannels(); in calculateNormalizationScale() local 63 for (size_t i = 0; i < numberOfChannels; ++i) { in calculateNormalizationScale() 73 power = sqrt(power / (numberOfChannels * length)); in calculateNormalizationScale() 84 if (response->numberOfChannels() == 4) in calculateNormalizationScale() 90 … impulseResponse, size_t renderSliceSize, size_t maxFFTSize, size_t numberOfChannels, bool useBack… in Reverb() argument 96 … initialize(impulseResponse, renderSliceSize, maxFFTSize, numberOfChannels, useBackgroundThreads); in Reverb() 103 …seResponseBuffer, size_t renderSliceSize, size_t maxFFTSize, size_t numberOfChannels, bool useBack… in initialize() argument 108 size_t numResponseChannels = impulseResponseBuffer->numberOfChannels(); in initialize() 109 m_convolvers.reserveCapacity(numberOfChannels); in initialize() 131 …ss = sourceBus && destinationBus && sourceBus->numberOfChannels() > 0 && destinationBus->numberOfC… in process() [all …]
|
D | AudioDSPKernelProcessor.cpp | 42 AudioDSPKernelProcessor::AudioDSPKernelProcessor(double sampleRate, unsigned numberOfChannels) in AudioDSPKernelProcessor() argument 44 , m_numberOfChannels(numberOfChannels) in AudioDSPKernelProcessor() 57 for (unsigned i = 0; i < numberOfChannels(); ++i) in initialize() 84 …bool channelCountMatches = source->numberOfChannels() == destination->numberOfChannels() && source… in process() 107 void AudioDSPKernelProcessor::setNumberOfChannels(unsigned numberOfChannels) in setNumberOfChannels() argument 111 m_numberOfChannels = numberOfChannels; in setNumberOfChannels()
|
D | AudioDSPKernelProcessor.h | 53 AudioDSPKernelProcessor(double sampleRate, unsigned numberOfChannels); 64 virtual void setNumberOfChannels(unsigned numberOfChannels); 66 unsigned numberOfChannels() const { return m_numberOfChannels; } in numberOfChannels() function
|
D | AudioResampler.h | 43 AudioResampler(unsigned numberOfChannels); 52 void configureChannels(unsigned numberOfChannels);
|
D | Reverb.h | 46 …seResponseBuffer, size_t renderSliceSize, size_t maxFFTSize, size_t numberOfChannels, bool useBack… 54 …seResponseBuffer, size_t renderSliceSize, size_t maxFFTSize, size_t numberOfChannels, bool useBack…
|
/external/webkit/Source/WebCore/webaudio/ |
D | AudioBufferSourceNode.cpp | 148 unsigned numberOfChannels = this->numberOfChannels(); in provideInput() local 149 unsigned busNumberOfChannels = bus->numberOfChannels(); in provideInput() 152 …bool channelCountGood = numberOfChannels == busNumberOfChannels && (numberOfChannels == 1 || numbe… in provideInput() 162 float* destinationR = (numberOfChannels < 2) ? 0 : bus->channel(1)->data(); in provideInput() 265 …nationBus->length() == framesToProcess && destinationBus->numberOfChannels() == numberOfChannels(); in readFromBuffer() 270 unsigned numberOfChannels = this->numberOfChannels(); in readFromBuffer() local 272 bool channelCountGood = numberOfChannels == 1 || numberOfChannels == 2; in readFromBuffer() 279 float* sourceR = m_buffer->numberOfChannels() == 2 ? m_buffer->getChannelData(1)->data() : 0; in readFromBuffer() 282 …bool isSourceGood = sourceL && (numberOfChannels == 1 || sourceR) && m_readIndex + framesToProcess… in readFromBuffer() 293 float* destinationR = numberOfChannels == 2 ? destinationBus->channel(1)->data() : 0; in readFromBuffer() [all …]
|
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 61 m_channels.reserveCapacity(numberOfChannels); in AudioBuffer() 63 for (unsigned i = 0; i < numberOfChannels; ++i) { in AudioBuffer() 75 unsigned numberOfChannels = bus->numberOfChannels(); in AudioBuffer() local 76 m_channels.reserveCapacity(numberOfChannels); in AudioBuffer() 77 for (unsigned i = 0; i < numberOfChannels; ++i) { in AudioBuffer()
|
D | AudioBasicProcessorNode.cpp | 123 unsigned numberOfChannels = input->numberOfChannels(); in checkNumberOfChannelsForInput() local 125 if (isInitialized() && numberOfChannels != output(0)->numberOfChannels()) { in checkNumberOfChannelsForInput() 134 output(0)->setNumberOfChannels(numberOfChannels); in checkNumberOfChannelsForInput() 137 processor()->setNumberOfChannels(numberOfChannels); in checkNumberOfChannelsForInput() 142 unsigned AudioBasicProcessorNode::numberOfChannels() in numberOfChannels() function in WebCore::AudioBasicProcessorNode 144 return output(0)->numberOfChannels(); in numberOfChannels()
|
D | ConvolverNode.cpp | 119 unsigned numberOfChannels = buffer->numberOfChannels(); in setBuffer() local 123 bool isBufferGood = numberOfChannels > 0 && numberOfChannels <= 4 && bufferLength; in setBuffer() 130 AudioBus bufferBus(numberOfChannels, bufferLength, false); in setBuffer() 131 for (unsigned i = 0; i < numberOfChannels; ++i) in setBuffer()
|
D | AudioGainNode.cpp | 95 unsigned numberOfChannels = input->numberOfChannels(); in checkNumberOfChannelsForInput() local 97 if (isInitialized() && numberOfChannels != output(0)->numberOfChannels()) { in checkNumberOfChannelsForInput() 106 output(0)->setNumberOfChannels(numberOfChannels); in checkNumberOfChannelsForInput()
|
D | OfflineAudioDestinationNode.cpp | 48 m_renderBus = adoptPtr(new AudioBus(renderTarget->numberOfChannels(), renderQuantumSize)); in OfflineAudioDestinationNode() 104 bool channelsMatch = m_renderBus->numberOfChannels() == m_renderTarget->numberOfChannels(); in render() 126 unsigned numberOfChannels = m_renderTarget->numberOfChannels(); in render() local 135 for (unsigned channelIndex = 0; channelIndex < numberOfChannels; ++channelIndex) { in render()
|
D | AudioNodeOutput.cpp | 38 AudioNodeOutput::AudioNodeOutput(AudioNode* node, unsigned numberOfChannels) in AudioNodeOutput() argument 40 , m_numberOfChannels(numberOfChannels) in AudioNodeOutput() 41 , m_desiredNumberOfChannels(numberOfChannels) in AudioNodeOutput() 52 void AudioNodeOutput::setNumberOfChannels(unsigned numberOfChannels) in setNumberOfChannels() argument 56 m_desiredNumberOfChannels = numberOfChannels; in setNumberOfChannels() 128 …bool isInPlace = inPlaceBus && inPlaceBus->numberOfChannels() == numberOfChannels() && m_rendering… in pull()
|
D | AudioBuffer.h | 44 …static PassRefPtr<AudioBuffer> create(unsigned numberOfChannels, size_t numberOfFrames, double sam… 55 unsigned numberOfChannels() const { return m_channels.size(); } in numberOfChannels() function 69 AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, double sampleRate);
|
D | AudioNodeOutput.h | 45 AudioNodeOutput(AudioNode*, unsigned numberOfChannels); 73 unsigned numberOfChannels() const { return m_numberOfChannels; } in numberOfChannels() function 74 bool isChannelCountKnown() const { return numberOfChannels() > 0; } in isChannelCountKnown()
|
D | DelayProcessor.cpp | 35 DelayProcessor::DelayProcessor(double sampleRate, unsigned numberOfChannels) in DelayProcessor() argument 36 : AudioDSPKernelProcessor(sampleRate, numberOfChannels) in DelayProcessor()
|
/external/webkit/Source/WebKit/chromium/src/ |
D | WebAudioBus.cpp | 47 void WebAudioBus::initialize(unsigned numberOfChannels, size_t length, double sampleRate) in initialize() argument 50 AudioBus* audioBus = new AudioBus(numberOfChannels, length); in initialize() 71 unsigned WebAudioBus::numberOfChannels() const in numberOfChannels() function in WebKit::WebAudioBus 76 return m_private->numberOfChannels(); in numberOfChannels() 112 ASSERT(channelIndex < numberOfChannels()); in channelData()
|
D | AudioDestinationChromium.cpp | 60 const unsigned numberOfChannels = 2; variable 70 , m_renderBus(numberOfChannels, renderBufferSize, false) in AudioDestinationChromium() 74 …m_audioDevice = adoptPtr(webKitClient()->createAudioDevice(callbackBufferSize, numberOfChannels, s… in AudioDestinationChromium() 107 bool isNumberOfChannelsGood = audioData.size() == numberOfChannels; in render()
|
/external/aac/libAACdec/src/ |
D | channel.cpp | 235 const UCHAR numberOfChannels, in CChannelElement_Read() argument 245 FDK_ASSERT( (numberOfChannels == 1) || (numberOfChannels == 2) ); in CChannelElement_Read() 248 list = getBitstreamElementList(aot, epConfig, numberOfChannels, 0); in CChannelElement_Read() 255 if (numberOfChannels == 2) { in CChannelElement_Read() 261 if (numberOfChannels == 2) { in CChannelElement_Read() 264 if (numberOfChannels == 2) { in CChannelElement_Read() 277 if (numberOfChannels == 2) { in CChannelElement_Read() 283 if (numberOfChannels == 2) { in CChannelElement_Read() 294 if (numberOfChannels == 2 && pAacDecoderChannelInfo[0]->pDynData->RawDataInfo.CommonWindow) { in CChannelElement_Read() 429 ch = (ch + 1) % numberOfChannels; in CChannelElement_Read()
|
/external/webkit/Source/WebCore/platform/audio/mac/ |
D | AudioFileReaderMac.cpp | 150 size_t numberOfChannels = m_fileDataFormat.mChannelsPerFrame; in createBus() local 169 m_clientDataFormat.mChannelsPerFrame = numberOfChannels; in createBus() 186 size_t busChannelCount = mixToMono ? 1 : numberOfChannels; in createBus() 199 AudioBufferList* bufferList = createAudioBufferList(numberOfChannels); in createBus() 201 if (mixToMono && numberOfChannels == 2) { in createBus() 215 ASSERT(!mixToMono || numberOfChannels == 1); in createBus() 218 for (size_t i = 0; i < numberOfChannels; ++i) { in createBus() 231 if (mixToMono && numberOfChannels == 2) { in createBus()
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
D | V8AudioContextCustom.cpp | 67 unsigned numberOfChannels = toInt32(args[0], ok); in constructorCallback() local 77 …audioContext = AudioContext::createOfflineContext(document, numberOfChannels, numberOfFrames, samp… in constructorCallback() 125 unsigned numberOfChannels = toInt32(args[0], ok); in createBufferCallback() local 135 …RefPtr<AudioBuffer> audioBuffer = audioContext->createBuffer(numberOfChannels, numberOfFrames, sam… in createBufferCallback()
|
/external/webkit/Source/WebCore/bindings/js/ |
D | JSAudioContextCustom.cpp | 68 unsigned numberOfChannels = exec->argument(0).toInt32(exec); in constructJSAudioContext() local 72 …audioContext = AudioContext::createOfflineContext(document, numberOfChannels, numberOfFrames, samp… in constructJSAudioContext() 111 unsigned numberOfChannels = exec->argument(0).toInt32(exec); in createBuffer() local 115 …RefPtr<AudioBuffer> audioBuffer = audioContext->createBuffer(numberOfChannels, numberOfFrames, sam… in createBuffer()
|
/external/webkit/Source/WebKit/chromium/public/ |
D | WebAudioBus.h | 50 WEBKIT_API void initialize(unsigned numberOfChannels, size_t length, double sampleRate); 55 WEBKIT_API unsigned numberOfChannels() const;
|
/external/webkit/Tools/DumpRenderTree/gtk/ |
D | ImageDiff.cpp | 93 int numberOfChannels = gdk_pixbuf_get_n_channels(actualImage); in calculateDifference() local 96 || (numberOfChannels != gdk_pixbuf_get_n_channels(baselineImage)) in calculateDifference() 113 … unsigned char* actualPixel = actualPixels + (y * actualRowStride) + (x * numberOfChannels); in calculateDifference() 114 unsigned char* basePixel = basePixels + (y * baseRowStride) + (x * numberOfChannels); in calculateDifference()
|