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.cpp1930 int64_t numFramesPlayedAtUs; in getPlayedOutDurationUs() local
1936 numFramesPlayedAtUs = ts.mTime.tv_sec * 1000000LL + ts.mTime.tv_nsec / 1000; in getPlayedOutDurationUs()
1940 numFramesPlayedAtUs = nowUs; in getPlayedOutDurationUs()
1946 numFramesPlayedAtUs = nowUs; in getPlayedOutDurationUs()
1947 numFramesPlayedAtUs += 1000LL * mTrack->latency() / 2; /* XXX */ in getPlayedOutDurationUs()
1954 + nowUs - numFramesPlayedAtUs; in getPlayedOutDurationUs()
1968 numFramesPlayed, (long long)numFramesPlayedAtUs); in getPlayedOutDurationUs()