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

/frameworks/base/media/java/android/media/audiofx/
H A DVisualizer.java96 * captured data. A low playback volume will lead to low sample and fft values, and vice-versa.
478 * @param fft array of bytes where the FFT should be returned
484 public int getFft(byte[] fft) argument
490 return native_getFft(fft);
557 * <p>Data in the fft buffer is valid only within the scope of the callback.
558 * Applications which needs access to the fft data after returning from the callback
561 * @param fft array of bytes containing the frequency representation.
564 void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate); argument
575 * @param fft true if a frequency capture is requested: the onFftDataCapture() method will be
581 int rate, boolean waveform, boolean fft) {
580 setDataCaptureListener(OnDataCaptureListener listener, int rate, boolean waveform, boolean fft) argument
745 native_getFft(byte[] fft) argument
749 native_setPeriodicCapture(int rate, boolean waveForm, boolean fft) argument
[all...]
/frameworks/av/media/libmedia/
H A DVisualizer.cpp286 status_t Visualizer::getFft(uint8_t *fft) argument
288 if (fft == NULL) {
300 status = doFft(fft, buf);
303 memset(fft, 0, mCaptureSize);
308 status_t Visualizer::doFft(uint8_t *fft, uint8_t *waveform) argument
326 fft[i] = tmp;
330 fft[i + 1] = tmp;
349 uint8_t fft[mCaptureSize]; local
351 status = doFft(fft, waveform);
365 fftPtr = fft;
[all...]
/frameworks/av/include/media/
H A DVisualizer.h92 uint8_t *fft,
132 status_t getFft(uint8_t *fft);
158 status_t doFft(uint8_t *fft, uint8_t *waveform);
/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.cpp162 uint8_t *fft,
205 if (fftSize != 0 && fft != NULL) {
213 memcpy(nArray, fft, fftSize);
158 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 249 milliseconds