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

12

/frameworks/av/media/libstagefright/include/
H A DMPEG2TSExtractor.h82 status_t seek(int64_t seekTimeUs,
85 status_t seekBeyond(int64_t seekTimeUs);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp93 int64_t seekTimeUs; local
95 if (mDoesSeek && options && options->getSeekTo(&seekTimeUs, &seekMode)) {
97 status_t err = mExtractor->seek(seekTimeUs, seekMode);
309 status_t MPEG2TSExtractor::seek(int64_t seekTimeUs, argument
319 (seekTimeUs > mSeekSyncPoints->keyAt(mSeekSyncPoints->size() - 1));
325 if (timeUs > seekTimeUs) {
361 status_t err = seekBeyond(seekTimeUs);
429 status_t MPEG2TSExtractor::seekBeyond(int64_t seekTimeUs) { argument
433 while (seekTimeUs > mSeekSyncPoints->keyAt(
/frameworks/av/media/libstagefright/
H A DMidiExtractor.cpp122 int64_t seekTimeUs; local
124 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
125 if (seekTimeUs <= 0LL) {
126 seekTimeUs = 0LL;
128 mEngine->seekTo(seekTimeUs);
H A DJPEGSource.cpp114 int64_t seekTimeUs; local
116 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
H A DAMRExtractor.cpp260 int64_t seekTimeUs; local
262 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
264 int64_t seekFrame = seekTimeUs / 20000ll; // 20ms per frame.
H A DAACExtractor.cpp290 int64_t seekTimeUs; local
292 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
294 int64_t seekFrame = seekTimeUs / mFrameDurationUs;
H A DWAVExtractor.cpp418 int64_t seekTimeUs; local
420 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
425 int64_t samplenumber = (seekTimeUs * mSampleRate) / 1000000;
429 pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3);
H A DMP3Extractor.cpp498 int64_t seekTimeUs; local
502 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
503 int64_t actualSeekTimeUs = seekTimeUs;
514 mCurrentTimeUs = seekTimeUs;
515 mCurrentPos = mFirstFramePos + seekTimeUs * bitrate / 8000000;
H A DFLACExtractor.cpp760 int64_t seekTimeUs; local
762 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
764 if (seekTimeUs <= 0LL) {
768 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
H A DNuMediaExtractor.cpp385 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) {
392 if (seekTimeUs >= 0ll) {
406 if (seekTimeUs >= 0ll) {
407 options.setSeekTo(seekTimeUs, mode);
384 fetchTrackSamples( int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.h52 virtual status_t seekTo(int64_t seekTimeUs);
134 void performSeek(int64_t seekTimeUs);
H A 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);
H A DHTTPLiveSource.h49 virtual status_t seekTo(int64_t seekTimeUs);
H A DRTSPSource.cpp287 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs) { argument
290 msg->setInt64("timeUs", seekTimeUs);
301 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { argument
308 mHandler->seek(seekTimeUs);
397 int64_t seekTimeUs; local
398 CHECK(msg->findInt64("timeUs", &seekTimeUs));
400 performSeek(seekTimeUs);
H A DGenericSource.cpp1189 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs) { argument
1191 msg->setInt64("seekTimeUs", seekTimeUs);
1203 int64_t seekTimeUs; local
1204 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs));
1207 status_t err = doSeek(seekTimeUs);
1215 status_t NuPlayer::GenericSource::doSeek(int64_t seekTimeUs) { argument
1225 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, &actualTimeUs);
1227 seekTimeUs
1367 readBuffer( media_track_type trackType, int64_t seekTimeUs, int64_t *actualTimeUs, bool formatChange) argument
[all...]
H A DNuPlayer.h73 void seekToAsync(int64_t seekTimeUs, bool needNotify = false);
266 void performSeek(int64_t seekTimeUs);
H A DNuPlayer.cpp72 SeekAction(int64_t seekTimeUs) argument
73 : mSeekTimeUs(seekTimeUs) {
422 void NuPlayer::seekToAsync(int64_t seekTimeUs, bool needNotify) { argument
424 msg->setInt64("seekTimeUs", seekTimeUs);
1200 int64_t seekTimeUs; local
1202 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs));
1205 ALOGV("kWhatSeek seekTimeUs=%lld us, needNotify=%d",
1206 (long long)seekTimeUs, needNotif
1952 performSeek(int64_t seekTimeUs) argument
[all...]
H A DHTTPLiveSource.cpp204 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs) { argument
205 return mLiveSession->seekTo(seekTimeUs);
H A DNuPlayerDriver.cpp389 int64_t seekTimeUs = msec * 1000ll; local
401 mPlayer->seekToAsync(seekTimeUs, true /* needNotify */);
409 mPositionUs = seekTimeUs;
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp231 int64_t seekTimeUs = -1; local
252 if (seekTimeUs >= 0) {
253 int64_t diff = timestampUs - seekTimeUs;
262 seekTimeUs / 1E6, timestampUs / 1E6);
286 seekTimeUs = -1;
289 seekTimeUs = (rand() * (float)durationUs) / RAND_MAX;
290 options.setSeekTo(seekTimeUs);
293 seekTimeUs, seekTimeUs / 1E6);
551 for (int64_t seekTimeUs
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp111 int64_t seekTimeUs; local
113 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &seekMode));
/frameworks/av/include/media/stagefright/
H A DNuMediaExtractor.h118 int64_t seekTimeUs = -1ll,
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp262 int64_t seekTimeUs; local
264 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp102 int64_t seekTimeUs, bool isAudio,
374 int64_t seekTimeUs, bool isAudio,
380 const int64_t seekTimeNs = seekTimeUs * 1000ll - mExtractor->mSeekPreRollNs;
387 ALOGV("Seek to beginning: %" PRId64, seekTimeUs);
396 ALOGV("Seeking to: %" PRId64, seekTimeUs);
491 if (thisTrack->GetType() == 1 || frameTimeUs >= seekTimeUs) {
494 seekTimeUs, *actualFrameTimeUs);
643 int64_t seekTimeUs; local
645 if (options && options->getSeekTo(&seekTimeUs, &mode)
653 mBlockIter.seek(seekTimeUs, mIsAudi
373 seek( int64_t seekTimeUs, bool isAudio, int64_t *actualFrameTimeUs) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp219 int64_t seekTimeUs; local
221 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode));

Completed in 2117 milliseconds

12