Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/audiofx/
DVisualizer.java522 public int getFft(byte[] fft) in getFft() argument
528 return native_getFft(fft); in getFft()
605 void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate); in onFftDataCapture() argument
622 int rate, boolean waveform, boolean fft) { in setDataCaptureListener() argument
626 fft = false; in setDataCaptureListener()
630 status = native_setPeriodicCapture(rate, waveform, fft); in setDataCaptureListener()
737 private native final int native_getFft(byte[] fft); in native_getFft() argument
743 private native final int native_setPeriodicCapture(int rate, boolean waveForm, boolean fft); in native_setPeriodicCapture() argument
/frameworks/base/media/jni/audioeffect/
DVisualizer.cpp305 status_t Visualizer::getFft(uint8_t *fft) in getFft() argument
307 if (fft == NULL) { in getFft()
319 status = doFft(fft, buf); in getFft()
322 memset(fft, 0, mCaptureSize); in getFft()
327 status_t Visualizer::doFft(uint8_t *fft, uint8_t *waveform) in doFft() argument
345 fft[i] = tmp; in doFft()
349 fft[i + 1] = tmp; in doFft()
368 uint8_t fft[mCaptureSize]; in periodicCapture() local
370 status = doFft(fft, waveform); in periodicCapture()
384 fftPtr = fft; in periodicCapture()
DVisualizer.h103 uint8_t *fft,
143 status_t getFft(uint8_t *fft);
170 status_t doFft(uint8_t *fft, uint8_t *waveform);
Dandroid_media_Visualizer.cpp170 uint8_t *fft, in captureCallback() argument
208 if (fftSize != 0 && fft != NULL) { in captureCallback()
216 memcpy(nArray, fft, fftSize); in captureCallback()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerInstanceSync.java161 public void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate) {
162 if (visualizer == mVisualizer && fft.length > 0) {
163 Log.d(TAG, "onFftDataCapture(): " + fft[0]);
166 dataToMinMaxCenter(fft, fft.length)));
/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[],