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

/frameworks/av/media/libmedia/
H A DVisualizer.cpp42 mCaptureSize(CAPTURE_SIZE_DEF),
151 mCaptureSize = size;
192 if (mCaptureSize == 0) {
198 uint32_t replySize = mCaptureSize;
206 memset(waveform, 0x80, mCaptureSize);
216 if (mCaptureSize == 0) {
222 uint8_t buf[mCaptureSize];
228 memset(fft, 0, mCaptureSize);
235 int32_t workspace[mCaptureSize >> 1];
238 for (uint32_t i = 0; i < mCaptureSize;
[all...]
/frameworks/av/media/libeffects/visualizer/
H A DEffectVisualizer.cpp61 uint32_t mCaptureSize; member in struct:VisualizerContext
168 pContext->mCaptureSize = VISUALIZER_CAPTURE_SIZE_MAX;
432 ALOGV("get mCaptureSize = %d", pContext->mCaptureSize);
433 *((uint32_t *)p->data + 1) = pContext->mCaptureSize;
461 pContext->mCaptureSize = *((uint32_t *)p->data + 1);
462 ALOGV("set mCaptureSize = %d", pContext->mCaptureSize);
483 if (pReplyData == NULL || *replySize != pContext->mCaptureSize) {
484 ALOGV("VISUALIZER_CMD_CAPTURE() error *replySize %d pContext->mCaptureSize
[all...]
/frameworks/av/include/media/
H A DVisualizer.h103 uint32_t getCaptureSize() { return mCaptureSize; }
156 uint32_t mCaptureSize; member in class:android::Visualizer
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DVisualizerTest.java56 int mCaptureSize; field in class:VisualizerTest
122 if (mCaptureSize > 0) {
123 byte[] data = new byte[mCaptureSize];
125 int len = data.length < mCaptureSize ? data.length : mCaptureSize;
131 int len = data.length < mCaptureSize ? data.length : mCaptureSize;
270 mCaptureSize = mVisualizer.getCaptureSize();

Completed in 251 milliseconds