/frameworks/av/media/libstagefright/ |
ThrottledSource.cpp | 45 int64_t nowUs = ALooper::GetNowUs(); 48 mStartTimeUs = nowUs; 58 if (whenUs > nowUs) { 59 usleep(whenUs - nowUs);
|
MediaClock.cpp | 99 int64_t nowUs = ALooper::GetNowUs(); 101 anchorTimeMediaUs + (nowUs - anchorTimeRealUs) * (double)mPlaybackRate; 112 mAnchorTimeMediaUs + (nowUs - mAnchorTimeRealUs) * (double)mPlaybackRate; 118 updateAnchorTimesAndPlaybackRate_l(nowMediaUs, nowUs, mPlaybackRate); 137 int64_t nowUs = ALooper::GetNowUs(); 138 int64_t nowMediaUs = mAnchorTimeMediaUs + (nowUs - mAnchorTimeRealUs) * (double)mPlaybackRate; 143 updateAnchorTimesAndPlaybackRate_l(nowMediaUs, nowUs, rate); 198 int64_t nowUs = ALooper::GetNowUs(); 201 getMediaTime_l(nowUs, &nowMediaUs, true /* allowPastMaxTime */); 205 *outRealUs = (targetMediaUs - nowMediaUs) / (double)mPlaybackRate + nowUs; [all...] |
MediaSync.cpp | 314 int64_t nowUs = ALooper::GetNowUs(); 317 + getPlayedOutAudioDurationMedia_l(nowUs); 323 oldRealTime = getRealTime(mNextBufferItemMediaUs, nowUs); 326 mMediaClock->updateAnchor(nowMediaUs, nowUs, maxMediaTimeUs); 330 int64_t newRealTime = getRealTime(mNextBufferItemMediaUs, nowUs); 466 int64_t MediaSync::getRealTime(int64_t mediaTimeUs, int64_t nowUs) { 471 return nowUs; 480 int64_t MediaSync::getPlayedOutAudioDurationMedia_l(int64_t nowUs) { 497 numFramesPlayedAtUs = nowUs; 504 numFramesPlayedAtUs = nowUs; [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
UDPPusher.cpp | 105 int64_t nowUs = ALooper::GetNowUs(); 106 (new AMessage(kWhatPush, this))->post(whenUs - nowUs);
|
ARTPSource.cpp | 182 int64_t nowUs = ALooper::GetNowUs(); 183 if (mLastFIRRequestUs >= 0 && mLastFIRRequestUs + 5000000LL > nowUs) { 188 mLastFIRRequestUs = nowUs;
|
ARTPConnection.cpp | 308 int64_t nowUs = ALooper::GetNowUs(); 310 || mLastReceiverReportTimeUs + 5000000LL <= nowUs) { 361 mLastReceiverReportTimeUs = nowUs;
|
ARTPWriter.cpp | 421 uint64_t nowUs = ALooper::GetNowUs(); 423 nowUs += ((70LL * 365 + 17) * 24) * 60 * 60 * 1000000LL; 425 uint64_t hi = nowUs / 1000000LL; 426 uint64_t lo = ((1LL << 32) * (nowUs % 1000000LL)) / 1000000LL;
|
MyTransmitter.h | 144 uint64_t nowUs = tv.tv_sec * 1000000ll + tv.tv_usec; 146 nowUs += ((70ll * 365 + 17) * 24) * 60 * 60 * 1000000ll; 148 uint64_t hi = nowUs / 1000000ll; 149 uint64_t lo = ((1ll << 32) * (nowUs % 1000000ll)) / 1000000ll;
|
/frameworks/av/media/extractors/mp3/ |
VBRISeeker.cpp | 174 int64_t nowUs = 0; 177 while (segmentIndex < mSegments.size() && nowUs < *timeUs) { 178 nowUs += segmentDurationUs; 184 *timeUs = nowUs;
|
/frameworks/av/media/libstagefright/foundation/ |
ALooper.cpp | 173 int64_t nowUs = GetNowUs(); 174 whenUs = (delayUs > INT64_MAX - nowUs ? INT64_MAX : nowUs + delayUs); 209 int64_t nowUs = GetNowUs(); 211 if (whenUs > nowUs) { 212 int64_t delayUs = whenUs - nowUs;
|
/frameworks/av/cmds/stagefright/ |
SimplePlayer.cpp | 512 int64_t nowUs = ALooper::GetNowUs(); 515 mStartTimeRealUs = nowUs + 1000000ll; 525 int64_t lateByUs = nowUs - whenRealUs;
|
/cts/tests/tests/media/src/android/media/cts/ |
CodecState.java | 335 long nowUs = mMediaTimeProvider.getNowUs(); 337 long lateUs = nowUs - realTimeUs;
|
MediaCodecTunneledPlayer.java | 478 long nowUs = getNowUs(); 479 mDeltaTimeUs = nowUs - mediaTimeUs;
|
MediaCodecClearKeyPlayer.java | 672 long nowUs = getNowUs(); 673 mDeltaTimeUs = nowUs - mediaTimeUs;
|
VideoDecoderPerfTest.java | 276 long nowUs = (System.nanoTime() + 500) / 1000; 278 frameTimeUsDiff[outputNum - 1] = nowUs - lastOutputTimeUs; 280 lastOutputTimeUs = nowUs; [all...] |
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
NuPlayer2Renderer.cpp | 371 int64_t nowUs = ALooper::GetNowUs(); 372 int64_t nowMediaUs = mAudioSink->getPlayedOutDurationUs(nowUs) 374 mMediaClock->updateAnchor(nowMediaUs, nowUs, -1); 913 int64_t nowUs = ALooper::GetNowUs(); 915 mAudioFirstAnchorTimeMediaUs + mAudioSink->getPlayedOutDurationUs(nowUs); 917 mMediaClock->updateAnchor(nowMediaUs, nowUs, INT64_MAX); [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerRenderer.cpp | 380 int64_t nowUs = ALooper::GetNowUs(); 381 int64_t playedOutDurationUs = mAudioSink->getPlayedOutDurationUs(nowUs); 387 mMediaClock->updateAnchor(nowMediaUs, nowUs, -1); 926 int64_t nowUs = ALooper::GetNowUs(); 928 mAudioFirstAnchorTimeMediaUs + mAudioSink->getPlayedOutDurationUs(nowUs); 930 mMediaClock->updateAnchor(nowMediaUs, nowUs, INT64_MAX); [all...] |
/frameworks/av/media/libstagefright/httplive/ |
LiveSession.cpp | 103 int64_t nowUs = ALooper::GetNowUs(); 105 entry.mTimestampUs = nowUs; 129 if (nowUs - it->mTimestampUs < kMaxBandwidthHistoryAgeUs && [all...] |
PlaylistFetcher.cpp | 242 int64_t nowUs = ALooper::GetNowUs(); 298 int64_t delayUs = mLastPlaylistFetchTimeUs + minPlaylistAgeUs - nowUs; [all...] |
/cts/tests/video/src/android/video/cts/ |
VideoEncoderDecoderTest.java | [all...] |
/developers/build/prebuilts/androidtv/sample-inputs/app/libs/ |
exoplayer_dev-hls_20150123.jar | |