Home
last modified time | relevance | path

Searched refs:seekTimeUs (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/media/libstagefright/timedtext/
DTimedTextPlayer.cpp108 int64_t seekTimeUs = positionMs * 1000ll; in onMessageReceived() local
112 doSeekAndRead(seekTimeUs); in onMessageReceived()
122 int64_t seekTimeUs; in onMessageReceived() local
124 if (msg->findInt64("seekTimeUs", &seekTimeUs) && in onMessageReceived()
128 seekTimeUs, in onMessageReceived()
137 int64_t seekTimeUs = kInvalidTimeUs; in onMessageReceived() local
140 msg->findInt64("seekTimeUs", &seekTimeUs); in onMessageReceived()
141 if (seekTimeUs == kInvalidTimeUs) { in onMessageReceived()
146 seekTimeUs = positionMs * 1000ll; in onMessageReceived()
150 mPendingSeekTimeUs = seekTimeUs; in onMessageReceived()
[all …]
DTimedTextSRTSource.cpp220 int64_t seekTimeUs; in getText() local
222 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in getText()
225 if (seekTimeUs < 0) { in getText()
227 } else if (seekTimeUs >= lastEndTimeUs) { in getText()
237 int diff = compareExtendedRangeAndTime(mid, seekTimeUs); in getText()
DTimedTextPlayer.h72 void doSeekAndRead(int64_t seekTimeUs);
/frameworks/av/cmds/stagefright/
Dstagefright.cpp227 int64_t seekTimeUs = -1; in playSource() local
248 if (seekTimeUs >= 0) { in playSource()
249 int64_t diff = timestampUs - seekTimeUs; in playSource()
258 seekTimeUs / 1E6, timestampUs / 1E6); in playSource()
282 seekTimeUs = -1; in playSource()
285 seekTimeUs = (rand() * (float)durationUs) / RAND_MAX; in playSource()
286 options.setSeekTo(seekTimeUs); in playSource()
289 seekTimeUs, seekTimeUs / 1E6); in playSource()
540 for (int64_t seekTimeUs = 0; seekTimeUs <= durationUs; in performSeekTest() local
541 seekTimeUs += 60000ll) { in performSeekTest()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.h71 virtual status_t seekTo(int64_t seekTimeUs);
175 status_t doSeek(int64_t seekTimeUs);
190 int64_t seekTimeUs,
197 int64_t seekTimeUs = -1ll, int64_t *actualTimeUs = NULL, bool formatChange = false);
DGenericSource.cpp1297 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs) { in seekTo() argument
1299 msg->setInt64("seekTimeUs", seekTimeUs); in seekTo()
1311 int64_t seekTimeUs; in onSeek() local
1312 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onSeek()
1315 status_t err = doSeek(seekTimeUs); in onSeek()
1323 status_t NuPlayer::GenericSource::doSeek(int64_t seekTimeUs) { in doSeek() argument
1331 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, &actualTimeUs); in doSeek()
1333 seekTimeUs = actualTimeUs; in doSeek()
1334 mVideoLastDequeueTimeUs = seekTimeUs; in doSeek()
1338 readBuffer(MEDIA_TRACK_TYPE_AUDIO, seekTimeUs); in doSeek()
[all …]
DRTSPSource.cpp294 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs) { in seekTo() argument
297 msg->setInt64("timeUs", seekTimeUs); in seekTo()
303 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { in performSeek() argument
309 mHandler->seek(seekTimeUs); in performSeek()
329 int64_t seekTimeUs; in onMessageReceived() local
330 CHECK(msg->findInt64("timeUs", &seekTimeUs)); in onMessageReceived()
332 performSeek(seekTimeUs); in onMessageReceived()
DRTSPSource.h53 virtual status_t seekTo(int64_t seekTimeUs);
125 void performSeek(int64_t seekTimeUs);
DNuPlayer.cpp67 SeekAction(int64_t seekTimeUs, bool needNotify) in SeekAction()
68 : mSeekTimeUs(seekTimeUs), in SeekAction()
335 void NuPlayer::seekToAsync(int64_t seekTimeUs, bool needNotify) { in seekToAsync() argument
337 msg->setInt64("seekTimeUs", seekTimeUs); in seekToAsync()
935 int64_t seekTimeUs; in onMessageReceived() local
937 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onMessageReceived()
941 seekTimeUs, needNotify); in onMessageReceived()
948 new SeekAction(seekTimeUs, needNotify)); in onMessageReceived()
1516 void NuPlayer::performSeek(int64_t seekTimeUs, bool needNotify) { in performSeek() argument
1518 seekTimeUs, in performSeek()
[all …]
DNuPlayerDriver.cpp348 int64_t seekTimeUs = msec * 1000ll; in seekTo() local
354 mStartupSeekTimeUs = seekTimeUs; in seekTo()
369 mPlayer->seekToAsync(seekTimeUs, true /* needNotify */); in seekTo()
377 mPositionUs = seekTimeUs; in seekTo()
DNuPlayer.h63 void seekToAsync(int64_t seekTimeUs, bool needNotify = false);
230 void performSeek(int64_t seekTimeUs, bool needNotify);
DHTTPLiveSource.h47 virtual status_t seekTo(int64_t seekTimeUs);
DHTTPLiveSource.cpp168 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs) { in seekTo() argument
169 return mLiveSession->seekTo(seekTimeUs); in seekTo()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp98 int64_t seekTimeUs, bool isAudio,
360 int64_t seekTimeUs, bool isAudio, in seek() argument
366 const int64_t seekTimeNs = seekTimeUs * 1000ll - mExtractor->mSeekPreRollNs; in seek()
373 ALOGV("Seek to beginning: %" PRId64, seekTimeUs); in seek()
382 ALOGV("Seeking to: %" PRId64, seekTimeUs); in seek()
477 if (thisTrack->GetType() == 1 || frameTimeUs >= seekTimeUs) { in seek()
480 seekTimeUs, *actualFrameTimeUs); in seek()
564 int64_t seekTimeUs; in read() local
566 if (options && options->getSeekTo(&seekTimeUs, &mode) in read()
574 mBlockIter.seek(seekTimeUs, mIsAudio, &actualFrameTimeUs); in read()
/frameworks/av/media/libstagefright/
DJPEGSource.cpp114 int64_t seekTimeUs; in read() local
116 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read()
DAMRExtractor.cpp254 int64_t seekTimeUs; in read() local
256 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read()
258 int64_t seekFrame = seekTimeUs / 20000ll; // 20ms per frame. in read()
DMP3Extractor.cpp479 int64_t seekTimeUs; in read() local
483 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read()
484 int64_t actualSeekTimeUs = seekTimeUs; in read()
495 mCurrentTimeUs = seekTimeUs; in read()
496 mCurrentPos = mFirstFramePos + seekTimeUs * bitrate / 8000000; in read()
DWAVExtractor.cpp404 int64_t seekTimeUs; in read() local
406 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read()
411 int64_t samplenumber = (seekTimeUs * mSampleRate) / 1000000; in read()
415 pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3); in read()
DAACExtractor.cpp290 int64_t seekTimeUs; in read() local
292 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read()
294 int64_t seekFrame = seekTimeUs / mFrameDurationUs; in read()
DNuMediaExtractor.cpp360 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) { in fetchTrackSamples() argument
367 if (seekTimeUs >= 0ll) { in fetchTrackSamples()
381 if (seekTimeUs >= 0ll) { in fetchTrackSamples()
382 options.setSeekTo(seekTimeUs, mode); in fetchTrackSamples()
DFLACExtractor.cpp756 int64_t seekTimeUs; in read() local
758 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) { in read()
760 if (seekTimeUs <= 0LL) { in read()
764 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL; in read()
/frameworks/av/media/libstagefright/wifi-display/source/
DRepeaterSource.cpp111 int64_t seekTimeUs; in read() local
113 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &seekMode)); in read()
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2TSExtractor.cpp88 int64_t seekTimeUs; in read() local
90 if (mSeekable && options && options->getSeekTo(&seekTimeUs, &seekMode)) { in read()
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp262 int64_t seekTimeUs; in read() local
264 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read()
/frameworks/av/include/media/stagefright/
DNuMediaExtractor.h108 int64_t seekTimeUs = -1ll,

12