Home
last modified time | relevance | path

Searched refs:impulseResponse (Results 1 – 7 of 7) sorted by relevance

/external/webkit/Source/WebCore/platform/audio/
DHRTFKernel.cpp77 float* impulseResponse = channel->data(); in HRTFKernel() local
86 filter.process(impulseResponse, impulseResponse, responseLength); in HRTFKernel()
98 impulseResponse[i] *= x; in HRTFKernel()
103 m_fftFrame->doPaddedFFT(impulseResponse, truncatedResponseLength); in HRTFKernel()
DReverbConvolver.cpp63 ReverbConvolver::ReverbConvolver(AudioChannel* impulseResponse, size_t renderSliceSize, size_t maxF… in ReverbConvolver() argument
64 : m_impulseResponseLength(impulseResponse->length()) in ReverbConvolver()
65 , m_accumulationBuffer(impulseResponse->length() + renderSliceSize) in ReverbConvolver()
85 float* response = impulseResponse->data(); in ReverbConvolver()
86 size_t totalResponseLength = impulseResponse->length(); in ReverbConvolver()
DHRTFElevation.cpp103 …OwnPtr<AudioBus> impulseResponse(AudioBus::loadPlatformResource(resourceName.utf8().data(), sample… in calculateKernelsForAzimuthElevation() local
105 ASSERT(impulseResponse.get()); in calculateKernelsForAzimuthElevation()
106 if (!impulseResponse.get()) in calculateKernelsForAzimuthElevation()
109 size_t responseLength = impulseResponse->length(); in calculateKernelsForAzimuthElevation()
113 bool isBusGood = responseLength == expectedLength && impulseResponse->numberOfChannels() == 2; in calculateKernelsForAzimuthElevation()
118 AudioChannel* leftEarImpulseResponse = impulseResponse->channelByType(AudioBus::ChannelLeft); in calculateKernelsForAzimuthElevation()
119 AudioChannel* rightEarImpulseResponse = impulseResponse->channelByType(AudioBus::ChannelRight); in calculateKernelsForAzimuthElevation()
DReverb.cpp90 Reverb::Reverb(AudioBus* impulseResponse, size_t renderSliceSize, size_t maxFFTSize, size_t numberO… in Reverb() argument
92 double scale = calculateNormalizationScale(impulseResponse); in Reverb()
94 impulseResponse->scale(scale); in Reverb()
96 … initialize(impulseResponse, renderSliceSize, maxFFTSize, numberOfChannels, useBackgroundThreads); in Reverb()
100 impulseResponse->scale(1.0 / scale); in Reverb()
DReverbConvolverStage.cpp46 ReverbConvolverStage::ReverbConvolverStage(float* impulseResponse, size_t responseLength, size_t re… in ReverbConvolverStage() argument
54 ASSERT(impulseResponse); in ReverbConvolverStage()
57 m_fftKernel.doPaddedFFT(impulseResponse + stageOffset, stageLength); in ReverbConvolverStage()
DReverbConvolverStage.h48 …ReverbConvolverStage(float* impulseResponse, size_t responseLength, size_t reverbTotalLatency, siz…
DReverbConvolver.h52 …ReverbConvolver(AudioChannel* impulseResponse, size_t renderSliceSize, size_t maxFFTSize, size_t c…