HomeSort by relevance Sort by last modified time
    Searched defs:fftSize (Results 1 - 11 of 11) sorted by null

  /external/webkit/Source/WebCore/platform/audio/
FFTConvolver.h 39 // fftSize must be a power of two
40 FFTConvolver(size_t fftSize);
42 // For now, with multiple calls to Process(), framesToProcess MUST add up EXACTLY to fftSize / 2
46 // The input to output latency is equal to fftSize / 2
53 size_t fftSize() const { return m_frame.fftSize(); }
58 // Buffer input until we get fftSize / 2 samples then do an FFT
HRTFKernel.h 54 static PassRefPtr<HRTFKernel> create(AudioChannel* channel, size_t fftSize, double sampleRate, bool bassBoost)
56 return adoptRef(new HRTFKernel(channel, fftSize, sampleRate, bassBoost));
69 size_t fftSize() const { return m_fftFrame->fftSize(); }
80 HRTFKernel(AudioChannel* channel, size_t fftSize, double sampleRate, bool bassBoost);
HRTFPanner.h 43 size_t fftSize() { return fftSizeForSampleRate(m_sampleRate); }
FFTFrame.h 60 FFTFrame(unsigned fftSize);
82 void doPaddedFFT(float* data, size_t dataSize); // zero-padding with dataSize <= fftSize
86 unsigned fftSize() const { return m_FFTSize; }
99 static FFTSetup fftSetupForSize(unsigned fftSize);
117 static DFTI_DESCRIPTOR_HANDLE descriptorHandleForSize(unsigned fftSize);
146 static fftwf_plan fftwPlanForSize(unsigned fftSize, Direction,
ReverbConvolver.cpp 93 size_t fftSize = m_minFFTSize;
95 size_t stageSize = fftSize / 2;
105 OwnPtr<ReverbConvolverStage> stage(new ReverbConvolverStage(response, totalResponseLength, reverbTotalLatency, stageOffset, stageSize, fftSize, renderPhase, renderSliceSize, &m_accumulationBuffer));
119 fftSize *= 2;
120 if (hasRealtimeConstraint && !isBackgroundStage && fftSize > m_maxRealtimeFFTSize)
121 fftSize = m_maxRealtimeFFTSize;
122 if (fftSize > m_maxFFTSize)
123 fftSize = m_maxFFTSize;
FFTFrame.cpp 48 AudioFloatArray paddedResponse(fftSize()); // zero-initialized
57 OwnPtr<FFTFrame> newFrame = adoptPtr(new FFTFrame(frame1.fftSize()));
62 int fftSize = newFrame->fftSize();
63 AudioFloatArray buffer(fftSize);
65 buffer.zeroRange(fftSize / 2, fftSize);
85 m_FFTSize = frame1.fftSize();
184 int halfSize = fftSize() / 2;
186 const double kSamplePhaseDelay = (2.0 * piDouble) / double(fftSize());
    [all...]
HRTFElevation.cpp 121 // Note that depending on the fftSize returned by the panner, we may be truncating the impulse response we just loaded in.
122 const size_t fftSize = HRTFPanner::fftSizeForSampleRate(sampleRate);
123 kernelL = HRTFKernel::create(leftEarImpulseResponse, fftSize, sampleRate, true);
124 kernelR = HRTFKernel::create(rightEarImpulseResponse, fftSize, sampleRate, true);
  /external/webkit/Source/WebCore/webaudio/
RealtimeAnalyserNode.h 48 unsigned int fftSize() const { return m_analyser.fftSize(); }
RealtimeAnalyser.h 50 size_t fftSize() const { return m_fftSize; }
RealtimeAnalyser.cpp 108 // FIXME : allow to work with non-FFTSize divisible chunking
153 size_t fftSize = this->fftSize();
155 AudioFloatArray temporaryBuffer(fftSize);
159 // Take the previous fftSize values from the input buffer and copy into the temporary buffer.
162 for (unsigned i = 0; i < fftSize; ++i)
163 tempP[i] = inputBuffer[(i + writeIndex - fftSize + InputBufferSize) % InputBufferSize];
166 applyWindow(tempP, fftSize);
266 unsigned fftSize = this->fftSize();
    [all...]
  /frameworks/av/media/libmedia/
Visualizer.cpp 284 uint32_t fftSize = 0;
291 fftSize = mCaptureSize;
293 mCaptureCallBack(mCaptureCbkUser, waveSize, wavePtr, fftSize, fftPtr, mSampleRate);

Completed in 212 milliseconds