Searched defs:fft (Results 1 - 4 of 4) sorted by relevance
/frameworks/av/media/libmedia/ |
H A D | Visualizer.cpp | 286 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/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | VisualizerTest.java | 158 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 D | Visualizer.java | 96 * 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/base/media/jni/audioeffect/ |
H A D | android_media_Visualizer.cpp | 162 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
|
Completed in 132 milliseconds