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

/frameworks/av/include/media/
H A DVisualizer.h92 uint8_t *fft,
124 status_t getFft(uint8_t *fft);
150 status_t doFft(uint8_t *fft, uint8_t *waveform);
/frameworks/base/media/java/android/media/audiofx/
H A DVisualizer.java92 * captured data. A low playback volume will lead to low sample and fft values, and vice-versa.
424 * @param fft array of bytes where the FFT should be returned
430 public int getFft(byte[] fft) argument
436 return native_getFft(fft);
463 * <p>Data in the fft buffer is valid only within the scope of the callback.
464 * Applications which needs access to the fft data after returning from the callback
467 * @param fft array of bytes containing the frequency representation.
470 void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate); argument
481 * @param fft true if a frequency capture is requested: the onFftDataCapture() method will be
487 int rate, boolean waveform, boolean fft) {
486 setDataCaptureListener(OnDataCaptureListener listener, int rate, boolean waveform, boolean fft) argument
647 native_getFft(byte[] fft) argument
649 native_setPeriodicCapture(int rate, boolean waveForm, boolean fft) argument
[all...]
/frameworks/av/media/libmedia/
H A DVisualizer.cpp212 status_t Visualizer::getFft(uint8_t *fft) argument
214 if (fft == NULL) {
226 status = doFft(fft, buf);
229 memset(fft, 0, mCaptureSize);
234 status_t Visualizer::doFft(uint8_t *fft, uint8_t *waveform) argument
252 fft[i] = tmp;
256 fft[i + 1] = tmp;
275 uint8_t fft[mCaptureSize]; local
277 status = doFft(fft, waveform);
291 fftPtr = fft;
[all...]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DVisualizerTest.java158 public void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate) { argument
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/base/media/jni/audioeffect/
H A Dandroid_media_Visualizer.cpp158 uint8_t *fft,
201 if (fftSize != 0 && fft != NULL) {
209 memcpy(nArray, fft, fftSize);
154 captureCallback(void* user, uint32_t waveformSize, uint8_t *waveform, uint32_t fftSize, uint8_t *fft, uint32_t samplingrate) argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaVisualizerTest.java596 Visualizer visualizer, byte[] fft, int samplingRate) {
600 mFft = fft;
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h2524 const SLuint8 fft[],

Completed in 388 milliseconds