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.java335 long nowUs = mMediaTimeProvider.getNowUs(); in drainOutputBuffer() local
337 long lateUs = nowUs - realTimeUs; in drainOutputBuffer()
DMediaCodecTunneledPlayer.java478 long nowUs = getNowUs(); in getRealTimeUsForMediaTime() local
479 mDeltaTimeUs = nowUs - mediaTimeUs; in getRealTimeUsForMediaTime()
DVideoDecoderPerfTest.java276 long nowUs = (System.nanoTime() + 500) / 1000; in doDecode() local
278 frameTimeUsDiff[outputNum - 1] = nowUs - lastOutputTimeUs; in doDecode()
280 lastOutputTimeUs = nowUs; in doDecode()
DMediaCodecClearKeyPlayer.java672 long nowUs = getNowUs(); in getRealTimeUsForMediaTime() local
673 mDeltaTimeUs = nowUs - mediaTimeUs; in getRealTimeUsForMediaTime()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java887 double nowUs = 0, lastMs = 0; in logPerformanceResults() local
889 nowUs += frameTimeUsDiff[i]; in logPerformanceResults()
890 double nowMs = Math.round(nowUs) / 1000.; in logPerformanceResults()
988 long nowUs = (System.nanoTime() + 500) / 1000; in runEncoder() local
993 mEncoderFrameTimeUsDiff[mCurrentTestRound][pos] = nowUs - lastOutputTimeUs; in runEncoder()
995 lastOutputTimeUs = nowUs; in runEncoder()
1202 long nowUs = (System.nanoTime() + 500) / 1000; in runDecoder() local
1205 mDecoderFrameTimeUsDiff[mCurrentTestRound][pos] = nowUs - lastOutputTimeUs; in runDecoder()
1207 lastOutputTimeUs = nowUs; in runDecoder()