Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DVisualizer.cpp44 mCaptureSize(CAPTURE_SIZE_DEF), in Visualizer()
156 mCaptureSize = size; in setCaptureSize()
264 if (mCaptureSize == 0) { in getWaveForm()
270 uint32_t replySize = mCaptureSize; in getWaveForm()
278 memset(waveform, 0x80, mCaptureSize); in getWaveForm()
288 if (mCaptureSize == 0) { in getFft()
294 uint8_t buf[mCaptureSize]; in getFft()
300 memset(fft, 0, mCaptureSize); in getFft()
307 int32_t workspace[mCaptureSize >> 1]; in doFft()
310 for (uint32_t i = 0; i < mCaptureSize; i += 2) { in doFft()
[all …]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerTest.java56 int mCaptureSize; field in VisualizerTest
122 if (mCaptureSize > 0) { in handleMessage()
123 byte[] data = new byte[mCaptureSize]; in handleMessage()
125 int len = data.length < mCaptureSize ? data.length : mCaptureSize; in handleMessage()
131 int len = data.length < mCaptureSize ? data.length : mCaptureSize; in handleMessage()
270 mCaptureSize = mVisualizer.getCaptureSize(); in getEffect()
/frameworks/av/include/media/
DVisualizer.h105 uint32_t getCaptureSize() { return mCaptureSize; } in getCaptureSize()
166 uint32_t mCaptureSize; variable
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp75 uint32_t mCaptureSize; member
206 pContext->mCaptureSize = VISUALIZER_CAPTURE_SIZE_MAX; in Visualizer_init()
489 ALOGV("get mCaptureSize = %" PRIu32, pContext->mCaptureSize); in Visualizer_command()
490 *((uint32_t *)p->data + 1) = pContext->mCaptureSize; in Visualizer_command()
524 pContext->mCaptureSize = *((uint32_t *)p->data + 1); in Visualizer_command()
525 ALOGV("set mCaptureSize = %" PRIu32, pContext->mCaptureSize); in Visualizer_command()
550 uint32_t captureSize = pContext->mCaptureSize; in Visualizer_command()