Home
last modified time | relevance | path

Searched refs:mMeasurementBufferIdx (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libeffects/visualizer/aidl/
DVisualizerContext.cpp150 mMeasurementBufferIdx = 0; in getMeasure()
245 mPastMeasurements[mMeasurementBufferIdx] = {.mIsValid = true, in process()
248 if (++mMeasurementBufferIdx >= mMeasurementWindowSizeInBuffers) { in process()
249 mMeasurementBufferIdx = 0; in process()
DVisualizerContext.h97 uint8_t mMeasurementBufferIdx = 0; variable
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp103 uint8_t mMeasurementBufferIdx; member
235 pContext->mMeasurementBufferIdx = 0; in Visualizer_init()
359 pContext->mPastMeasurements[pContext->mMeasurementBufferIdx].mPeakU16 = (uint16_t)maxSample; in Visualizer_process()
360 pContext->mPastMeasurements[pContext->mMeasurementBufferIdx].mRmsSquared = in Visualizer_process()
362 pContext->mPastMeasurements[pContext->mMeasurementBufferIdx].mIsValid = true; in Visualizer_process()
363 if (++pContext->mMeasurementBufferIdx >= pContext->mMeasurementWindowSizeInBuffers) { in Visualizer_process()
364 pContext->mMeasurementBufferIdx = 0; in Visualizer_process()
718 pContext->mMeasurementBufferIdx = 0; in Visualizer_command()