Home | History | Annotate | Download | only in libmedia

Lines Matching full:waveform

188 status_t Visualizer::getWaveForm(uint8_t *waveform)
190 if (waveform == NULL) {
200 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform);
207 memset(waveform, 0x80, mCaptureSize);
234 status_t Visualizer::doFft(uint8_t *fft, uint8_t *waveform)
241 ((waveform[i] ^ 0x80) << 24) | ((waveform[i + 1] ^ 0x80) << 8);
270 uint8_t waveform[mCaptureSize];
271 status_t status = getWaveForm(waveform);
277 status = doFft(fft, waveform);
287 wavePtr = waveform;