Home
last modified time | relevance | path

Searched refs:capturePoint (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libeffects/visualizer/aidl/
DVisualizerContext.cpp208 int32_t capturePoint; in capture() local
209 __builtin_sub_overflow((int32_t) mCaptureIdx, deltaSamples, &capturePoint); in capture()
211 if (capturePoint < 0) { in capture()
212 uint32_t size = -capturePoint; in capture()
219 capturePoint = 0; in capture()
221 std::copy(std::begin(mCaptureBuf) + capturePoint, in capture()
222 std::begin(mCaptureBuf) + capturePoint + captureSamples, in capture()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp663 int32_t capturePoint; in Visualizer_command() local
665 __builtin_sub_overflow((int32_t)pContext->mCaptureIdx, deltaSmpl, &capturePoint); in Visualizer_command()
667 if (capturePoint < 0) { in Visualizer_command()
668 uint32_t size = -capturePoint; in Visualizer_command()
673 pContext->mCaptureBuf + CAPTURE_BUF_SIZE + capturePoint, in Visualizer_command()
677 capturePoint = 0; in Visualizer_command()
680 pContext->mCaptureBuf + capturePoint, in Visualizer_command()