Searched defs:fft (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/media/libmedia/
H A DVisualizer.cpp283 status_t Visualizer::getFft(uint8_t *fft) argument
285 if (fft == NULL) {
297 status = doFft(fft, buf);
300 memset(fft, 0, mCaptureSize);
305 status_t Visualizer::doFft(uint8_t *fft, uint8_t *waveform) argument
323 fft[i] = tmp;
327 fft[i + 1] = tmp;
346 uint8_t fft[mCaptureSize]; local
348 status = doFft(fft, waveform);
362 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/java/android/media/audiofx/
H A DVisualizer.java97 * captured data. A low playback volume will lead to low sample and fft values, and vice-versa.
480 * @param fft array of bytes where the FFT should be returned
486 public int getFft(byte[] fft) argument
492 return native_getFft(fft);
559 * <p>Data in the fft buffer is valid only within the scope of the callback.
560 * Applications which needs access to the fft data after returning from the callback
563 * @param fft array of bytes containing the frequency representation.
566 void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate); argument
577 * @param fft true if a frequency capture is requested: the onFftDataCapture() method will be
583 int rate, boolean waveform, boolean fft) {
582 setDataCaptureListener(OnDataCaptureListener listener, int rate, boolean waveform, boolean fft) argument
748 native_getFft(byte[] fft) argument
752 native_setPeriodicCapture(int rate, boolean waveForm, boolean fft) argument
[all...]
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_Visualizer.cpp165 uint8_t *fft,
204 if (fftSize != 0 && fft != NULL) {
212 memcpy(nArray, fft, fftSize);
161 captureCallback(void* user, uint32_t waveformSize, uint8_t *waveform, uint32_t fftSize, uint8_t *fft, uint32_t samplingrate) argument

Completed in 701 milliseconds