Searched refs:nowUs (Results 1 – 5 of 5) sorted by relevance
335 long nowUs = mMediaTimeProvider.getNowUs(); in drainOutputBuffer() local337 long lateUs = nowUs - realTimeUs; in drainOutputBuffer()
478 long nowUs = getNowUs(); in getRealTimeUsForMediaTime() local479 mDeltaTimeUs = nowUs - mediaTimeUs; in getRealTimeUsForMediaTime()
276 long nowUs = (System.nanoTime() + 500) / 1000; in doDecode() local278 frameTimeUsDiff[outputNum - 1] = nowUs - lastOutputTimeUs; in doDecode()280 lastOutputTimeUs = nowUs; in doDecode()
672 long nowUs = getNowUs(); in getRealTimeUsForMediaTime() local673 mDeltaTimeUs = nowUs - mediaTimeUs; in getRealTimeUsForMediaTime()
887 double nowUs = 0, lastMs = 0; in logPerformanceResults() local889 nowUs += frameTimeUsDiff[i]; in logPerformanceResults()890 double nowMs = Math.round(nowUs) / 1000.; in logPerformanceResults()988 long nowUs = (System.nanoTime() + 500) / 1000; in runEncoder() local993 mEncoderFrameTimeUsDiff[mCurrentTestRound][pos] = nowUs - lastOutputTimeUs; in runEncoder()995 lastOutputTimeUs = nowUs; in runEncoder()1202 long nowUs = (System.nanoTime() + 500) / 1000; in runDecoder() local1205 mDecoderFrameTimeUsDiff[mCurrentTestRound][pos] = nowUs - lastOutputTimeUs; in runDecoder()1207 lastOutputTimeUs = nowUs; in runDecoder()