Home
last modified time | relevance | path

Searched refs:nowUs (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DCodecState.java337 long nowUs = mMediaTimeProvider.getNowUs(); in drainOutputBuffer() local
339 long lateUs = nowUs - realTimeUs; in drainOutputBuffer()
DMediaCodecTunneledPlayer.java478 long nowUs = getNowUs(); in getRealTimeUsForMediaTime() local
479 mDeltaTimeUs = nowUs - mediaTimeUs; in getRealTimeUsForMediaTime()
DMediaCodecClearKeyPlayer.java541 long nowUs = getNowUs(); in getRealTimeUsForMediaTime() local
542 mDeltaTimeUs = nowUs - mediaTimeUs; in getRealTimeUsForMediaTime()
DVideoDecoderPerfTest.java210 long nowUs = (System.nanoTime() + 500) / 1000; in doDecode() local
212 frameTimeUsDiff[outputNum - 1] = nowUs - lastOutputTimeUs; in doDecode()
214 lastOutputTimeUs = nowUs; in doDecode()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java760 double nowUs = 0, lastMs = 0; in logPerformanceResults() local
762 nowUs += frameTimeUsDiff[i]; in logPerformanceResults()
763 double nowMs = Math.round(nowUs) / 1000.; in logPerformanceResults()
861 long nowUs = (System.nanoTime() + 500) / 1000; in runEncoder() local
866 mEncoderFrameTimeUsDiff[mCurrentTestRound][pos] = nowUs - lastOutputTimeUs; in runEncoder()
868 lastOutputTimeUs = nowUs; in runEncoder()
1075 long nowUs = (System.nanoTime() + 500) / 1000; in runDecoder() local
1078 mDecoderFrameTimeUsDiff[mCurrentTestRound][pos] = nowUs - lastOutputTimeUs; in runDecoder()
1080 lastOutputTimeUs = nowUs; in runDecoder()