Searched refs:mediaUs (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | MediaClock.cpp | 172 int64_t mediaUs = mAnchorTimeMediaUs in getMediaTime_l() local 174 if (mediaUs > mMaxTimeMediaUs && !allowPastMaxTime) { in getMediaTime_l() 175 mediaUs = mMaxTimeMediaUs; in getMediaTime_l() 177 if (mediaUs < mStartingTimeMediaUs) { in getMediaTime_l() 178 mediaUs = mStartingTimeMediaUs; in getMediaTime_l() 180 if (mediaUs < 0) { in getMediaTime_l() 181 mediaUs = 0; in getMediaTime_l() 183 *outMediaUs = mediaUs; in getMediaTime_l()
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2Renderer.h | 74 status_t getCurrentPosition(int64_t *mediaUs); 224 status_t getCurrentPositionOnLooper(int64_t *mediaUs); 226 int64_t *mediaUs, int64_t nowUs, bool allowPastQueuedVideo = false); 227 bool getCurrentPositionIfPaused_l(int64_t *mediaUs); 229 int64_t *mediaUs, int64_t nowUs, bool allowPastQueuedVideo = false); 241 void setAudioFirstAnchorTimeIfNeeded_l(int64_t mediaUs);
|
D | NuPlayer2Renderer.cpp | 351 status_t NuPlayer2::Renderer::getCurrentPosition(int64_t *mediaUs) { in getCurrentPosition() argument 352 status_t result = mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition() 377 return mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition() 385 void NuPlayer2::Renderer::setAudioFirstAnchorTimeIfNeeded_l(int64_t mediaUs) { in setAudioFirstAnchorTimeIfNeeded_l() argument 387 mAudioFirstAnchorTimeMediaUs = mediaUs; in setAudioFirstAnchorTimeIfNeeded_l() 388 mMediaClock->setStartingTimeMedia(mediaUs); in setAudioFirstAnchorTimeIfNeeded_l() 1163 int64_t mediaUs; in getPendingAudioPlayoutDurationUs() local 1164 if (mMediaClock->getMediaTime(nowUs, &mediaUs) != OK) { in getPendingAudioPlayoutDurationUs() 1167 return writtenAudioDurationUs - (mediaUs - mAudioFirstAnchorTimeMediaUs); in getPendingAudioPlayoutDurationUs() 1351 int64_t mediaUs = 0; in onDrainVideoQueue() local [all …]
|
D | NuPlayer2.h | 90 status_t getCurrentPosition(int64_t *mediaUs);
|
D | NuPlayer2.cpp | 2400 status_t NuPlayer2::getCurrentPosition(int64_t *mediaUs) { in getCurrentPosition() argument 2406 return renderer->getCurrentPosition(mediaUs); in getCurrentPosition()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.h | 72 status_t getCurrentPosition(int64_t *mediaUs); 223 status_t getCurrentPositionOnLooper(int64_t *mediaUs); 225 int64_t *mediaUs, int64_t nowUs, bool allowPastQueuedVideo = false); 226 bool getCurrentPositionIfPaused_l(int64_t *mediaUs); 228 int64_t *mediaUs, int64_t nowUs, bool allowPastQueuedVideo = false); 240 void setAudioFirstAnchorTimeIfNeeded_l(int64_t mediaUs);
|
D | NuPlayerRenderer.cpp | 360 status_t NuPlayer::Renderer::getCurrentPosition(int64_t *mediaUs) { in getCurrentPosition() argument 361 status_t result = mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition() 383 *mediaUs = mAudioFirstAnchorTimeMediaUs; in getCurrentPosition() 390 return mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition() 398 void NuPlayer::Renderer::setAudioFirstAnchorTimeIfNeeded_l(int64_t mediaUs) { in setAudioFirstAnchorTimeIfNeeded_l() argument 400 mAudioFirstAnchorTimeMediaUs = mediaUs; in setAudioFirstAnchorTimeIfNeeded_l() 401 mMediaClock->setStartingTimeMedia(mediaUs); in setAudioFirstAnchorTimeIfNeeded_l() 1177 int64_t mediaUs; in getPendingAudioPlayoutDurationUs() local 1178 if (mMediaClock->getMediaTime(nowUs, &mediaUs) != OK) { in getPendingAudioPlayoutDurationUs() 1181 return writtenAudioDurationUs - (mediaUs - mAudioFirstAnchorTimeMediaUs); in getPendingAudioPlayoutDurationUs() [all …]
|
D | NuPlayer.h | 90 status_t getCurrentPosition(int64_t *mediaUs);
|
D | NuPlayer.cpp | 2230 status_t NuPlayer::getCurrentPosition(int64_t *mediaUs) { in getCurrentPosition() argument 2236 return renderer->getCurrentPosition(mediaUs); in getCurrentPosition()
|
/frameworks/base/media/jni/ |
D | android_media_MediaSync.cpp | 286 int64_t mediaUs = 0; in android_media_MediaSync_native_getTimestamp() local 287 if (mediaClock->getMediaTime(nowUs, &mediaUs) != OK) { in android_media_MediaSync_native_getTimestamp() 292 (jlong)mediaUs); in android_media_MediaSync_native_getTimestamp()
|