Searched refs:nowUs (Results 1 – 6 of 6) sorted by relevance
193 long nowUs = System.nanoTime() / 1000; in dequeueOutput() local195 mRenderStartTimeUs = nowUs; in dequeueOutput()197 } else if (nowUs > getRenderTimeUs(mOutputCount + 1)) { in dequeueOutput()202 } else if (nowUs > getRenderTimeUs(mOutputCount)) { in dequeueOutput()211 if ((getRenderTimeUs(mOutputCount) - nowUs) > (mEachFrameTimeIntervalUs / 2)) { in dequeueOutput()213 Thread.sleep(((getRenderTimeUs(mOutputCount) - nowUs) - in dequeueOutput()
395 long nowUs = mMediaTimeProvider.getNowUs(); in drainOutputBuffer() local397 long lateUs = nowUs - realTimeUs; in drainOutputBuffer()
518 long nowUs = getNowUs(); in getRealTimeUsForMediaTime() local519 mDeltaTimeUs = nowUs - mediaTimeUs; in getRealTimeUsForMediaTime()
249 long nowUs = (System.nanoTime() + 500) / 1000; in doDecode() local251 frameTimeUsDiff[outputNum - 1] = nowUs - lastOutputTimeUs; in doDecode()253 lastOutputTimeUs = nowUs; in doDecode()
682 long nowUs = getNowUs(); in getRealTimeUsForMediaTime() local683 mDeltaTimeUs = nowUs - mediaTimeUs; in getRealTimeUsForMediaTime()
861 double nowUs = 0, lastMs = 0; in logPerformanceResults() local863 nowUs += frameTimeUsDiff[i]; in logPerformanceResults()864 double nowMs = Math.round(nowUs) / 1000.; in logPerformanceResults()962 long nowUs = (System.nanoTime() + 500) / 1000; in runEncoder() local967 mEncoderFrameTimeUsDiff[mCurrentTestRound][pos] = nowUs - lastOutputTimeUs; in runEncoder()969 lastOutputTimeUs = nowUs; in runEncoder()1176 long nowUs = (System.nanoTime() + 500) / 1000; in runDecoder() local1179 mDecoderFrameTimeUsDiff[mCurrentTestRound][pos] = nowUs - lastOutputTimeUs; in runDecoder()1181 lastOutputTimeUs = nowUs; in runDecoder()