Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/timedtext/
DTimedTextPlayer.cpp107 int64_t seekTimeUs = positionMs * 1000ll; in onMessageReceived() local
111 doSeekAndRead(seekTimeUs); in onMessageReceived()
121 int64_t seekTimeUs; in onMessageReceived() local
123 if (msg->findInt64("seekTimeUs", &seekTimeUs) && in onMessageReceived()
127 seekTimeUs, in onMessageReceived()
136 int64_t seekTimeUs = kInvalidTimeUs; in onMessageReceived() local
139 msg->findInt64("seekTimeUs", &seekTimeUs); in onMessageReceived()
140 if (seekTimeUs == kInvalidTimeUs) { in onMessageReceived()
145 seekTimeUs = positionMs * 1000ll; in onMessageReceived()
149 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/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp190 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs) { in seekTo() argument
193 readBuffer(false /* audio */, seekTimeUs, &actualTimeUs); in seekTo()
195 seekTimeUs = actualTimeUs; in seekTo()
199 readBuffer(true /* audio */, seekTimeUs); in seekTo()
206 bool audio, int64_t seekTimeUs, int64_t *actualTimeUs) { in readBuffer() argument
211 *actualTimeUs = seekTimeUs; in readBuffer()
218 if (seekTimeUs >= 0) { in readBuffer()
219 options.setSeekTo(seekTimeUs); in readBuffer()
DGenericSource.h54 virtual status_t seekTo(int64_t seekTimeUs);
77 int64_t seekTimeUs = -1ll, int64_t *actualTimeUs = NULL);
DRTSPSource.cpp304 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs) { in seekTo() argument
307 msg->setInt64("timeUs", seekTimeUs); in seekTo()
313 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { in performSeek() argument
319 mHandler->seek(seekTimeUs); in performSeek()
339 int64_t seekTimeUs; in onMessageReceived() local
340 CHECK(msg->findInt64("timeUs", &seekTimeUs)); in onMessageReceived()
342 performSeek(seekTimeUs); in onMessageReceived()
DRTSPSource.h54 virtual status_t seekTo(int64_t seekTimeUs);
125 void performSeek(int64_t seekTimeUs);
DNuPlayer.cpp63 SeekAction(int64_t seekTimeUs) in SeekAction()
64 : mSeekTimeUs(seekTimeUs) { in SeekAction()
288 void NuPlayer::seekToAsync(int64_t seekTimeUs) { in seekToAsync() argument
290 msg->setInt64("seekTimeUs", seekTimeUs); in seekToAsync()
803 int64_t seekTimeUs; in onMessageReceived() local
804 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onMessageReceived()
806 ALOGV("kWhatSeek seekTimeUs=%lld us", seekTimeUs); in onMessageReceived()
811 mDeferredActions.push_back(new SeekAction(seekTimeUs)); in onMessageReceived()
1247 void NuPlayer::performSeek(int64_t seekTimeUs) { in performSeek() argument
1249 seekTimeUs, in performSeek()
[all …]
DNuPlayer.h60 void seekToAsync(int64_t seekTimeUs);
179 void performSeek(int64_t seekTimeUs);
DNuPlayerDriver.cpp278 int64_t seekTimeUs = msec * 1000ll; in seekTo() local
283 mStartupSeekTimeUs = seekTimeUs; in seekTo()
293 mPlayer->seekToAsync(seekTimeUs); in seekTo()
DHTTPLiveSource.h46 virtual status_t seekTo(int64_t seekTimeUs);
/frameworks/av/libvideoeditor/lvpp/
DDummyAudioSource.cpp123 int64_t seekTimeUs; in read() local
126 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read()
127 CHECK(seekTimeUs >= 0); in read()
128 mTimeStampUs = seekTimeUs; in read()
DDummyVideoSource.cpp126 int64_t seekTimeUs; in read() local
128 if (options && options->getSeekTo(&seekTimeUs, &seekMode)) { in read()
130 mImageSeekTime = seekTimeUs; in read()
DVideoEditorSRC.cpp123 int64_t seekTimeUs; in read() local
125 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read()
126 ALOGV("read Seek %lld", seekTimeUs); in read()
127 mSeekTimeUs = seekTimeUs; in read()
/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/libstagefright/matroska/
DMatroskaExtractor.cpp98 int64_t seekTimeUs, bool isAudio,
310 int64_t seekTimeUs, bool isAudio, in seek() argument
316 const int64_t seekTimeNs = seekTimeUs * 1000ll; in seek()
323 ALOGV("Seek to beginning: %lld", seekTimeUs); in seek()
332 ALOGV("Seeking to: %lld", seekTimeUs); in seek()
413 seekTimeUs, actualFrameTimeUs); in seek()
496 int64_t seekTimeUs; in read() local
498 if (options && options->getSeekTo(&seekTimeUs, &mode) in read()
506 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.cpp478 int64_t seekTimeUs; in read() local
482 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read()
483 int64_t actualSeekTimeUs = seekTimeUs; in read()
494 mCurrentTimeUs = seekTimeUs; in read()
495 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.cpp358 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) { in fetchTrackSamples() argument
365 if (seekTimeUs >= 0ll) { in fetchTrackSamples()
379 if (seekTimeUs >= 0ll) { in fetchTrackSamples()
380 options.setSeekTo(seekTimeUs, mode); in fetchTrackSamples()
/frameworks/av/media/libstagefright/wifi-display/source/
DRepeaterSource.cpp110 int64_t seekTimeUs; in read() local
112 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()

12