Lines Matching defs:timeUs

624           int64_t timeUs, actualTimeUs;
627 timeUs = mAudioLastDequeueTimeUs;
629 timeUs = mVideoLastDequeueTimeUs;
631 readBuffer(trackType, timeUs, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */,
635 ALOGV("timeUs %lld actualTimeUs %lld", (long long)timeUs, (long long)actualTimeUs);
729 int64_t timeUs;
730 CHECK(msg->findInt64("timeUs", &timeUs));
733 readBuffer(type, timeUs, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */, &subTimeUs);
735 int64_t delayUs = subTimeUs - timeUs;
799 globalMeta->setInt64("timeUs", 0);
897 int64_t timeUs;
899 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));
901 mAudioLastDequeueTimeUs = timeUs;
902 mBufferingMonitor->updateDequeuedBufferTime(timeUs);
904 mVideoLastDequeueTimeUs = timeUs;
910 msg->setInt64("timeUs", timeUs);
918 msg->setInt64("timeUs", timeUs);
1067 status_t NuPlayer::GenericSource::selectTrack(size_t trackIndex, bool select, int64_t timeUs) {
1072 msg->setInt64("timeUs", timeUs);
1085 int64_t timeUs;
1088 CHECK(msg->findInt64("timeUs", &timeUs));
1091 status_t err = doSelectTrack(trackIndex, select, timeUs);
1099 status_t NuPlayer::GenericSource::doSelectTrack(size_t trackIndex, bool select, int64_t timeUs) {
1156 msg->setInt64("timeUs", timeUs);
1168 msg->setInt64("timeUs", timeUs);
1304 int64_t timeUs;
1305 CHECK(mb->meta_data()->findInt64(kKeyTime, &timeUs));
1306 meta->setInt64("timeUs", timeUs);
1450 int64_t timeUs;
1452 if (!mbuf->meta_data()->findInt64(kKeyTime, &timeUs)) {
1458 mAudioTimeUs = timeUs;
1459 mBufferingMonitor->updateQueuedTime(true /* isAudio */, timeUs);
1461 mVideoTimeUs = timeUs;
1462 mBufferingMonitor->updateQueuedTime(false /* isAudio */, timeUs);
1469 *actualTimeUs = timeUs;
1474 && seekTimeUs > timeUs) {
1627 void NuPlayer::GenericSource::BufferingMonitor::updateQueuedTime(bool isAudio, int64_t timeUs) {
1630 mAudioTimeUs = timeUs;
1632 mVideoTimeUs = timeUs;