Lines Matching full:seektimeus
1189 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs) {
1191 msg->setInt64("seekTimeUs", seekTimeUs);
1203 int64_t seekTimeUs;
1204 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs));
1207 status_t err = doSeek(seekTimeUs);
1215 status_t NuPlayer::GenericSource::doSeek(int64_t seekTimeUs) {
1225 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, &actualTimeUs);
1227 seekTimeUs = actualTimeUs;
1228 mVideoLastDequeueTimeUs = seekTimeUs;
1232 readBuffer(MEDIA_TRACK_TYPE_AUDIO, seekTimeUs);
1233 mAudioLastDequeueTimeUs = seekTimeUs;
1236 setDrmPlaybackStatusIfNeeded(Playback::START, seekTimeUs / 1000);
1253 int64_t /* seekTimeUs */,
1294 if (seekTimeUs > timeUs) {
1296 extra->setInt64("resume-at-mediaTimeUs", seekTimeUs);
1375 media_track_type trackType, int64_t seekTimeUs, int64_t *actualTimeUs, bool formatChange) {
1414 *actualTimeUs = seekTimeUs;
1420 if (seekTimeUs >= 0) {
1421 options.setSeekTo(seekTimeUs, MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC);
1469 mbuf, trackType, seekTimeUs,