Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/visualizer/aidl/
DVisualizerContext.cpp119 if (mBufferUpdateTime.tv_sec != 0) { in getDeltaTimeMsFromUpdatedTime_l()
122 time_t secs = ts.tv_sec - mBufferUpdateTime.tv_sec; in getDeltaTimeMsFromUpdatedTime_l()
123 long nsec = ts.tv_nsec - mBufferUpdateTime.tv_nsec; in getDeltaTimeMsFromUpdatedTime_l()
189 if ((mLastCaptureIdx == mCaptureIdx) && (mBufferUpdateTime.tv_sec != 0) && in capture()
191 mBufferUpdateTime.tv_sec = 0; in capture()
303 if (clock_gettime(CLOCK_MONOTONIC, &mBufferUpdateTime) < 0) { in process()
304 mBufferUpdateTime.tv_sec = 0; in process()
DVisualizerContext.h86 struct timespec mBufferUpdateTime; variable
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp97 struct timespec mBufferUpdateTime; member
112 if (pContext->mBufferUpdateTime.tv_sec != 0) { in Visualizer_getDeltaTimeMsFromUpdatedTime()
115 time_t secs = ts.tv_sec - pContext->mBufferUpdateTime.tv_sec; in Visualizer_getDeltaTimeMsFromUpdatedTime()
116 long nsec = ts.tv_nsec - pContext->mBufferUpdateTime.tv_nsec; in Visualizer_getDeltaTimeMsFromUpdatedTime()
132 pContext->mBufferUpdateTime.tv_sec = 0; in Visualizer_reset()
454 if (clock_gettime(CLOCK_MONOTONIC, &pContext->mBufferUpdateTime) < 0) { in Visualizer_process()
455 pContext->mBufferUpdateTime.tv_sec = 0; in Visualizer_process()
642 (pContext->mBufferUpdateTime.tv_sec != 0) && in Visualizer_command()
645 pContext->mBufferUpdateTime.tv_sec = 0; in Visualizer_command()