Home
last modified time | relevance | path

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

12

/frameworks/av/cmds/stagefright/
Dstagefright.cpp231 int64_t seekTimeUs = -1; in playSource() local
252 if (seekTimeUs >= 0) { in playSource()
253 int64_t diff = timestampUs - seekTimeUs; in playSource()
262 seekTimeUs / 1E6, timestampUs / 1E6); in playSource()
286 seekTimeUs = -1; in playSource()
289 seekTimeUs = (rand() * (float)durationUs) / RAND_MAX; in playSource()
290 options.setSeekTo(seekTimeUs); in playSource()
293 seekTimeUs, seekTimeUs / 1E6); in playSource()
551 for (int64_t seekTimeUs = 0; seekTimeUs <= durationUs; in performSeekTest() local
552 seekTimeUs += 60000ll) { in performSeekTest()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2TSExtractor.cpp93 int64_t seekTimeUs; in read() local
95 if (mDoesSeek && options && options->getSeekTo(&seekTimeUs, &seekMode)) { in read()
97 status_t err = mExtractor->seek(seekTimeUs, seekMode); in read()
309 status_t MPEG2TSExtractor::seek(int64_t seekTimeUs, in seek() argument
319 (seekTimeUs > mSeekSyncPoints->keyAt(mSeekSyncPoints->size() - 1)); in seek()
325 if (timeUs > seekTimeUs) { in seek()
361 status_t err = seekBeyond(seekTimeUs); in seek()
429 status_t MPEG2TSExtractor::seekBeyond(int64_t seekTimeUs) { in seekBeyond() argument
433 while (seekTimeUs > mSeekSyncPoints->keyAt( in seekBeyond()
/frameworks/av/media/libstagefright/
DMidiExtractor.cpp122 int64_t seekTimeUs; in read() local
124 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) { in read()
125 if (seekTimeUs <= 0LL) { in read()
126 seekTimeUs = 0LL; in read()
128 mEngine->seekTo(seekTimeUs); in read()
DMP3Extractor.cpp498 int64_t seekTimeUs; in read() local
502 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read()
503 int64_t actualSeekTimeUs = seekTimeUs; in read()
514 mCurrentTimeUs = seekTimeUs; in read()
515 mCurrentPos = mFirstFramePos + seekTimeUs * bitrate / 8000000; in read()
DJPEGSource.cpp114 int64_t seekTimeUs; in read() local
116 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read()
DAMRExtractor.cpp260 int64_t seekTimeUs; in read() local
262 if (mOffsetTableLength > 0 && options && options->getSeekTo(&seekTimeUs, &mode)) { in read()
264 int64_t seekFrame = seekTimeUs / 20000ll; // 20ms per frame. in read()
DAACExtractor.cpp292 int64_t seekTimeUs; in read() local
294 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read()
296 int64_t seekFrame = seekTimeUs / mFrameDurationUs; in read()
DWAVExtractor.cpp424 int64_t seekTimeUs; in read() local
426 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read()
431 int64_t samplenumber = (seekTimeUs * mSampleRate) / 1000000; in read()
435 pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3); in read()
DNuMediaExtractor.cpp388 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) { in fetchTrackSamples() argument
395 if (seekTimeUs >= 0ll) { in fetchTrackSamples()
409 if (seekTimeUs >= 0ll) { in fetchTrackSamples()
410 options.setSeekTo(seekTimeUs, mode); in fetchTrackSamples()
DFLACExtractor.cpp760 int64_t seekTimeUs; in read() local
762 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) { in read()
764 if (seekTimeUs <= 0LL) { in read()
768 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL; in read()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp1189 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs) { in seekTo() argument
1191 msg->setInt64("seekTimeUs", seekTimeUs); in seekTo()
1203 int64_t seekTimeUs; in onSeek() local
1204 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onSeek()
1207 status_t err = doSeek(seekTimeUs); in onSeek()
1215 status_t NuPlayer::GenericSource::doSeek(int64_t seekTimeUs) { in doSeek() argument
1225 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, &actualTimeUs); in doSeek()
1227 seekTimeUs = actualTimeUs; in doSeek()
1228 mVideoLastDequeueTimeUs = seekTimeUs; in doSeek()
1232 readBuffer(MEDIA_TRACK_TYPE_AUDIO, seekTimeUs); in doSeek()
[all …]
DGenericSource.h74 virtual status_t seekTo(int64_t seekTimeUs);
261 status_t doSeek(int64_t seekTimeUs);
280 int64_t seekTimeUs,
287 int64_t seekTimeUs = -1ll, int64_t *actualTimeUs = NULL, bool formatChange = false);
DRTSPSource.cpp282 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs) { in seekTo() argument
285 msg->setInt64("timeUs", seekTimeUs); in seekTo()
296 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { in performSeek() argument
303 mHandler->seek(seekTimeUs); in performSeek()
467 int64_t seekTimeUs; in onMessageReceived() local
468 CHECK(msg->findInt64("timeUs", &seekTimeUs)); in onMessageReceived()
470 performSeek(seekTimeUs); in onMessageReceived()
DRTSPSource.h52 virtual status_t seekTo(int64_t seekTimeUs);
136 void performSeek(int64_t seekTimeUs);
DNuPlayer.cpp72 SeekAction(int64_t seekTimeUs) in SeekAction()
73 : mSeekTimeUs(seekTimeUs) { in SeekAction()
422 void NuPlayer::seekToAsync(int64_t seekTimeUs, bool needNotify) { in seekToAsync() argument
424 msg->setInt64("seekTimeUs", seekTimeUs); in seekToAsync()
1198 int64_t seekTimeUs; in onMessageReceived() local
1200 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onMessageReceived()
1204 (long long)seekTimeUs, needNotify); in onMessageReceived()
1212 onStart(seekTimeUs); in onMessageReceived()
1228 new SeekAction(seekTimeUs)); in onMessageReceived()
1980 void NuPlayer::performSeek(int64_t seekTimeUs) { in performSeek() argument
[all …]
DNuPlayer.h73 void seekToAsync(int64_t seekTimeUs, bool needNotify = false);
266 void performSeek(int64_t seekTimeUs);
DHTTPLiveSource.h50 virtual status_t seekTo(int64_t seekTimeUs);
DHTTPLiveSource.cpp217 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs) { in seekTo() argument
218 return mLiveSession->seekTo(seekTimeUs); in seekTo()
DNuPlayerDriver.cpp389 int64_t seekTimeUs = msec * 1000ll; in seekTo() local
401 mPlayer->seekToAsync(seekTimeUs, true /* needNotify */); in seekTo()
409 mPositionUs = seekTimeUs; in seekTo()
/frameworks/av/media/libstagefright/include/
DMPEG2TSExtractor.h82 status_t seek(int64_t seekTimeUs,
85 status_t seekBeyond(int64_t seekTimeUs);
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp102 int64_t seekTimeUs, bool isAudio,
374 int64_t seekTimeUs, bool isAudio, in seek() argument
380 const int64_t seekTimeNs = seekTimeUs * 1000ll - mExtractor->mSeekPreRollNs; in seek()
387 ALOGV("Seek to beginning: %" PRId64, seekTimeUs); in seek()
396 ALOGV("Seeking to: %" PRId64, seekTimeUs); in seek()
491 if (thisTrack->GetType() == 1 || frameTimeUs >= seekTimeUs) { in seek()
494 seekTimeUs, *actualFrameTimeUs); in seek()
643 int64_t seekTimeUs; in read() local
645 if (options && options->getSeekTo(&seekTimeUs, &mode) in read()
653 mBlockIter.seek(seekTimeUs, mIsAudio, &actualFrameTimeUs); 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/wilhelm/src/android/util/
DAacAdtsExtractor.cpp262 int64_t seekTimeUs; in read() local
264 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read()
/frameworks/av/media/libstagefright/codecs/aacenc/
DAACEncoder.cpp219 int64_t seekTimeUs; in read() local
221 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode)); in read()
/frameworks/av/include/media/stagefright/
DNuMediaExtractor.h118 int64_t seekTimeUs = -1ll,

12