Home
last modified time | relevance | path

Searched refs:numFramesPlayedAtUs (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/
DMediaSync.cpp484 int64_t numFramesPlayedAtUs; in getPlayedOutAudioDurationMedia_l() local
491 numFramesPlayedAtUs = ts.mTime.tv_sec * 1000000LL + ts.mTime.tv_nsec / 1000; in getPlayedOutAudioDurationMedia_l()
497 numFramesPlayedAtUs = nowUs; in getPlayedOutAudioDurationMedia_l()
504 numFramesPlayedAtUs = nowUs; in getPlayedOutAudioDurationMedia_l()
505 numFramesPlayedAtUs += 1000LL * mAudioTrack->latency() / 2; /* XXX */ in getPlayedOutAudioDurationMedia_l()
513 + nowUs - numFramesPlayedAtUs; in getPlayedOutAudioDurationMedia_l()
531 (long long)numFramesPlayedAtUs); in getPlayedOutAudioDurationMedia_l()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1732 int64_t numFramesPlayedAtUs; in getPlayedOutDurationUs() local
1738 numFramesPlayedAtUs = ts.mTime.tv_sec * 1000000LL + ts.mTime.tv_nsec / 1000; in getPlayedOutDurationUs()
1742 numFramesPlayedAtUs = nowUs; in getPlayedOutDurationUs()
1748 numFramesPlayedAtUs = nowUs; in getPlayedOutDurationUs()
1749 numFramesPlayedAtUs += 1000LL * mTrack->latency() / 2; /* XXX */ in getPlayedOutDurationUs()
1756 + nowUs - numFramesPlayedAtUs; in getPlayedOutDurationUs()
1770 numFramesPlayed, (long long)numFramesPlayedAtUs); in getPlayedOutDurationUs()