Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DVisualizer.cpp283 status_t Visualizer::getFft(uint8_t *fft) in getFft() argument
285 if (fft == NULL) { in getFft()
297 status = doFft(fft, buf); in getFft()
300 memset(fft, 0, mCaptureSize); in getFft()
305 status_t Visualizer::doFft(uint8_t *fft, uint8_t *waveform) in doFft() argument
323 fft[i] = tmp; in doFft()
327 fft[i + 1] = tmp; in doFft()
346 uint8_t fft[mCaptureSize]; in periodicCapture() local
348 status = doFft(fft, waveform); in periodicCapture()
362 fftPtr = fft; in periodicCapture()
/frameworks/base/media/java/android/media/audiofx/
DVisualizer.java486 public int getFft(byte[] fft) in getFft() argument
492 return native_getFft(fft); in getFft()
566 void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate); in onFftDataCapture() argument
583 int rate, boolean waveform, boolean fft) { in setDataCaptureListener() argument
590 fft = false; in setDataCaptureListener()
592 int status = native_setPeriodicCapture(rate, waveform, fft); in setDataCaptureListener()
748 private native final int native_getFft(byte[] fft); in native_getFft() argument
752 private native final int native_setPeriodicCapture(int rate, boolean waveForm, boolean fft); in native_setPeriodicCapture() argument
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerTest.java158 public void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate) {
160 if (fft.length > 0) {
161 Log.d(TAG, "onFftDataCapture(): "+fft[0]);
162 displayVal(R.id.fftMin, fft[0]);
163 displayVal(R.id.fftMax, fft[fft.length - 1]);
164 displayVal(R.id.fftCenter, fft[fft.length/2]);
/frameworks/av/include/media/
DVisualizer.h93 uint8_t *fft,
134 status_t getFft(uint8_t *fft);
160 status_t doFft(uint8_t *fft, uint8_t *waveform);
/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp165 uint8_t *fft, in captureCallback() argument
204 if (fftSize != 0 && fft != NULL) { in captureCallback()
212 memcpy(nArray, fft, fftSize); in captureCallback()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaVisualizerTest.java596 Visualizer visualizer, byte[] fft, int samplingRate) { in createListenerLooper()
600 mFft = fft; in createListenerLooper()
/frameworks/wilhelm/include/SLES/
DOpenSLES.h2524 const SLuint8 fft[],