Home
last modified time | relevance | path

Searched refs:seekTimeUs (Results 1 – 25 of 36) 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);
DNuPlayer.cpp63 SeekAction(int64_t seekTimeUs) in SeekAction()
64 : mSeekTimeUs(seekTimeUs) { in SeekAction()
256 void NuPlayer::seekToAsync(int64_t seekTimeUs) { in seekToAsync() argument
258 msg->setInt64("seekTimeUs", seekTimeUs); in seekToAsync()
726 int64_t seekTimeUs; in onMessageReceived() local
727 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onMessageReceived()
729 ALOGV("kWhatSeek seekTimeUs=%lld us", seekTimeUs); in onMessageReceived()
734 mDeferredActions.push_back(new SeekAction(seekTimeUs)); in onMessageReceived()
1140 void NuPlayer::performSeek(int64_t seekTimeUs) { in performSeek() argument
1142 seekTimeUs, in performSeek()
[all …]
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.h60 void seekToAsync(int64_t seekTimeUs);
173 void performSeek(int64_t seekTimeUs);
DHTTPLiveSource.cpp191 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs) { in seekTo() argument
198 mLiveSession->seekTo(seekTimeUs); in seekTo()
DHTTPLiveSource.h45 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/media/libstagefright/mpeg2ts/
DMPEG2TSExtractor.cpp97 int64_t seekTimeUs; in read() local
99 if (mSeekable && options && options->getSeekTo(&seekTimeUs, &seekMode)) { in read()
100 mExtractor->seekTo(seekTimeUs); in read()
225 void MPEG2TSExtractor::seekTo(int64_t seekTimeUs) { in seekTo() argument
232 mLiveSession->seekTo(seekTimeUs); in seekTo()
/frameworks/av/cmds/stagefright/
Dstagefright.cpp228 int64_t seekTimeUs = -1; in playSource() local
249 if (seekTimeUs >= 0) { in playSource()
250 int64_t diff = timestampUs - seekTimeUs; in playSource()
259 seekTimeUs / 1E6, timestampUs / 1E6); in playSource()
283 seekTimeUs = -1; in playSource()
286 seekTimeUs = (rand() * (float)durationUs) / RAND_MAX; in playSource()
287 options.setSeekTo(seekTimeUs); in playSource()
290 seekTimeUs, seekTimeUs / 1E6); in playSource()
541 for (int64_t seekTimeUs = 0; seekTimeUs <= durationUs; in performSeekTest() local
542 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()
/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/include/
DMPEG2TSExtractor.h48 void seekTo(int64_t seekTimeUs);
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp262 int64_t seekTimeUs; in read() local
264 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read()

12