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

  /external/chromium_org/third_party/WebKit/Source/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, float sampleRate)
56 return adoptRef(new HRTFKernel(channel, fftSize, sampleRate));
69 size_t fftSize() const { return m_fftFrame->fftSize(); }
80 HRTFKernel(AudioChannel*, size_t fftSize, float sampleRate);
FFTFrame.h 72 FFTFrame(unsigned fftSize);
94 void doPaddedFFT(const float* data, size_t dataSize); // zero-padding with dataSize <= fftSize
98 unsigned fftSize() const { return m_FFTSize; }
111 static FFTSetup fftSetupForSize(unsigned fftSize);
123 static RDFTContext* contextForSize(unsigned fftSize, int trans);
HRTFPanner.h 44 size_t fftSize() const { return fftSizeForSampleRate(m_sampleRate); }
ReverbConvolver.cpp 84 size_t fftSize = m_minFFTSize;
86 size_t stageSize = fftSize / 2;
98 OwnPtr<ReverbConvolverStage> stage = adoptPtr(new ReverbConvolverStage(response, totalResponseLength, reverbTotalLatency, stageOffset, stageSize, fftSize, renderPhase, renderSliceSize, &m_accumulationBuffer, useDirectConvolver));
113 fftSize *= 2;
116 if (hasRealtimeConstraint && !isBackgroundStage && fftSize > m_maxRealtimeFFTSize)
117 fftSize = m_maxRealtimeFFTSize;
118 if (fftSize > m_maxFFTSize)
119 fftSize = m_maxFFTSize;
FFTFrame.cpp 49 AudioFloatArray paddedResponse(fftSize()); // zero-initialized
58 OwnPtr<FFTFrame> newFrame = adoptPtr(new FFTFrame(frame1.fftSize()));
63 int fftSize = newFrame->fftSize();
64 AudioFloatArray buffer(fftSize);
66 buffer.zeroRange(fftSize / 2, fftSize);
86 m_FFTSize = frame1.fftSize();
185 int halfSize = fftSize() / 2;
187 const double kSamplePhaseDelay = (2.0 * piDouble) / double(fftSize());
    [all...]
HRTFElevation.cpp 197 // Note that depending on the fftSize returned by the panner, we may be truncating the impulse response we just loaded in.
198 const size_t fftSize = HRTFPanner::fftSizeForSampleRate(sampleRate);
199 kernelL = HRTFKernel::create(leftEarImpulseResponse, fftSize, sampleRate);
200 kernelR = HRTFKernel::create(rightEarImpulseResponse, fftSize, sampleRate);
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
AnalyserNode.h 50 unsigned fftSize() const { return m_analyser.fftSize(); }
RealtimeAnalyser.h 45 size_t fftSize() const { return m_fftSize; }
PeriodicWave.cpp 155 unsigned fftSize = m_periodicWaveSize;
156 unsigned halfSize = fftSize / 2;
165 FFTFrame frame(fftSize);
170 float scale = fftSize;
224 unsigned fftSize = periodicWaveSize();
225 unsigned halfSize = fftSize / 2;
RealtimeAnalyser.cpp 90 // m_magnitudeBuffer has size = fftSize / 2 because it contains floats reduced from complex values in m_analysisFrame.
105 // FIXME : allow to work with non-FFTSize divisible chunking
160 size_t fftSize = this->fftSize();
162 AudioFloatArray temporaryBuffer(fftSize);
166 // Take the previous fftSize values from the input buffer and copy into the temporary buffer.
168 if (writeIndex < fftSize) {
169 memcpy(tempP, inputBuffer + writeIndex - fftSize + InputBufferSize, sizeof(*tempP) * (fftSize - writeIndex));
170 memcpy(tempP + fftSize - writeIndex, inputBuffer, sizeof(*tempP) * writeIndex)
    [all...]
  /frameworks/av/media/libmedia/
Visualizer.cpp 354 uint32_t fftSize = 0;
361 fftSize = mCaptureSize;
363 mCaptureCallBack(mCaptureCbkUser, waveSize, wavePtr, fftSize, fftPtr, mSampleRate);

Completed in 3008 milliseconds