Home
last modified time | relevance | path

Searched refs:numFramesPlayedAtUs (Results 1 – 3 of 3) 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/libmediaplayer2/
DMediaPlayer2AudioOutput.cpp189 int64_t numFramesPlayedAtUs; in getPlayedOutDurationUs() local
196 numFramesPlayedAtUs = ts.mTime.tv_sec * 1000000LL + ts.mTime.tv_nsec / 1000; in getPlayedOutDurationUs()
201 numFramesPlayedAtUs = nowUs; in getPlayedOutDurationUs()
209 + nowUs - numFramesPlayedAtUs; in getPlayedOutDurationUs()
223 numFramesPlayed, (long long)numFramesPlayedAtUs); in getPlayedOutDurationUs()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1731 int64_t numFramesPlayedAtUs; in getPlayedOutDurationUs() local
1737 numFramesPlayedAtUs = ts.mTime.tv_sec * 1000000LL + ts.mTime.tv_nsec / 1000; in getPlayedOutDurationUs()
1741 numFramesPlayedAtUs = nowUs; in getPlayedOutDurationUs()
1747 numFramesPlayedAtUs = nowUs; in getPlayedOutDurationUs()
1748 numFramesPlayedAtUs += 1000LL * mTrack->latency() / 2; /* XXX */ in getPlayedOutDurationUs()
1755 + nowUs - numFramesPlayedAtUs; in getPlayedOutDurationUs()
1769 numFramesPlayed, (long long)numFramesPlayedAtUs); in getPlayedOutDurationUs()