Home
last modified time | relevance | path

Searched refs:mCaptureSize (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/media/jni/audioeffect/
DVisualizer.cpp178 mCaptureSize = size; in setCaptureSize()
286 if (mCaptureSize == 0) { in getWaveForm()
292 uint32_t replySize = mCaptureSize; in getWaveForm()
300 memset(waveform, 0x80, mCaptureSize); in getWaveForm()
310 if (mCaptureSize == 0) { in getFft()
316 uint8_t buf[mCaptureSize]; in getFft()
322 memset(fft, 0, mCaptureSize); in getFft()
329 int32_t workspace[mCaptureSize >> 1]; in doFft()
332 for (uint32_t i = 0; i < mCaptureSize; i += 2) { in doFft()
339 fixed_fft_real(mCaptureSize >> 1, workspace); in doFft()
[all …]
DVisualizer.h116 uint32_t getCaptureSize() { return mCaptureSize; } in getCaptureSize()
184 uint32_t mCaptureSize = CAPTURE_SIZE_DEF; variable
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerInstanceSync.java99 private final int mCaptureSize; field in VisualizerInstanceSync.VisualizerTestHandler
103 mCaptureSize = mVisualizer.getCaptureSize(); in VisualizerTestHandler()
124 if (mCaptureSize > 0) { in handleMessage()
125 byte[] data = new byte[mCaptureSize]; in handleMessage()
127 int len = data.length < mCaptureSize ? data.length : mCaptureSize; in handleMessage()
134 int len = data.length < mCaptureSize ? data.length : mCaptureSize; in handleMessage()
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionVisualizer.cpp55 mCaptureSize = value; in setParameter()
102 mCaptureSize = value; in getParameter()
142 if (!replySize || !pReplyData || *replySize != mCaptureSize) { in visualizerCapture()
DAidlConversionVisualizer.h35 uint32_t mCaptureSize = 0;
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp92 uint32_t mCaptureSize; member
229 pContext->mCaptureSize = VISUALIZER_CAPTURE_SIZE_MAX; in Visualizer_init()
558 ALOGV("get mCaptureSize = %" PRIu32, pContext->mCaptureSize); in Visualizer_command()
559 *((uint32_t *)p->data + 1) = pContext->mCaptureSize; in Visualizer_command()
599 pContext->mCaptureSize = captureSize; in Visualizer_command()
630 uint32_t captureSize = pContext->mCaptureSize; in Visualizer_command()