/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 249 int64_t seekTimeUs = -1; in playSource() local 270 if (seekTimeUs >= 0) { in playSource() 271 int64_t diff = timestampUs - seekTimeUs; in playSource() 280 seekTimeUs / 1E6, timestampUs / 1E6); in playSource() 304 seekTimeUs = -1; in playSource() 307 seekTimeUs = (rand() * (float)durationUs) / (float)RAND_MAX; in playSource() 308 options.setSeekTo(seekTimeUs); in playSource() 311 seekTimeUs, seekTimeUs / 1E6); in playSource() 572 for (int64_t seekTimeUs = 0; seekTimeUs <= durationUs; in performSeekTest() local 573 seekTimeUs += 60000ll) { in performSeekTest() [all …]
|
/frameworks/av/media/extractors/midi/ |
D | MidiExtractor.cpp | 123 int64_t seekTimeUs; in read() local 125 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) { in read() 126 if (seekTimeUs <= 0LL) { in read() 127 seekTimeUs = 0LL; in read() 129 mEngine.seekTo(seekTimeUs); in read()
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 109 int64_t seekTimeUs, bool isAudio, 125 void seekwithoutcue_l(int64_t seekTimeUs, int64_t *actualFrameTimeUs); 431 int64_t seekTimeUs, bool isAudio, in seek() argument 437 if (seekTimeUs > INT64_MAX / 1000ll || in seek() 438 seekTimeUs < INT64_MIN / 1000ll || in seek() 440 (seekTimeUs * 1000ll) < INT64_MIN + mExtractor->mSeekPreRollNs) || in seek() 442 (seekTimeUs * 1000ll) > INT64_MAX + mExtractor->mSeekPreRollNs)) { in seek() 443 ALOGE("cannot seek to %lld", (long long) seekTimeUs); in seek() 447 const int64_t seekTimeNs = seekTimeUs * 1000ll - mExtractor->mSeekPreRollNs; in seek() 454 ALOGV("Seek to beginning: %" PRId64, seekTimeUs); in seek() [all …]
|
/frameworks/av/media/extractors/mpeg2/ |
D | MPEG2TSExtractor.h | 92 status_t seek(int64_t seekTimeUs, 95 status_t seekBeyond(int64_t seekTimeUs);
|
D | MPEG2TSExtractor.cpp | 170 int64_t seekTimeUs; in read() local 172 if (mDoesSeek && options && options->getSeekTo(&seekTimeUs, &seekMode)) { in read() 174 status_t err = mExtractor->seek(seekTimeUs, (ReadOptions::SeekMode)seekMode); in read() 618 status_t MPEG2TSExtractor::seek(int64_t seekTimeUs, in seek() argument 628 (seekTimeUs > mSeekSyncPoints->keyAt(mSeekSyncPoints->size() - 1)); in seek() 634 if (timeUs > seekTimeUs) { in seek() 672 status_t err = seekBeyond(seekTimeUs); in seek() 740 status_t MPEG2TSExtractor::seekBeyond(int64_t seekTimeUs) { in seekBeyond() argument 744 while (seekTimeUs > mSeekSyncPoints->keyAt( in seekBeyond()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | GenericSource.cpp | 1121 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in seekTo() argument 1122 ALOGV("seekTo: %lld, %d", (long long)seekTimeUs, mode); in seekTo() 1124 msg->setInt64("seekTimeUs", seekTimeUs); in seekTo() 1140 int64_t seekTimeUs; in onSeek() local 1142 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onSeek() 1146 status_t err = doSeek(seekTimeUs, (MediaPlayerSeekMode)mode); in onSeek() 1154 status_t NuPlayer::GenericSource::doSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in doSeek() argument 1159 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, mode, &actualTimeUs); in doSeek() 1162 seekTimeUs = std::max<int64_t>(0, actualTimeUs); in doSeek() 1169 readBuffer(MEDIA_TRACK_TYPE_AUDIO, seekTimeUs, MediaPlayerSeekMode::SEEK_CLOSEST); in doSeek() [all …]
|
D | GenericSource.h | 84 int64_t seekTimeUs, 189 status_t doSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode); 218 int64_t seekTimeUs = -1ll,
|
D | RTSPSource.h | 57 int64_t seekTimeUs, 139 void performSeek(int64_t seekTimeUs);
|
D | RTSPSource.cpp | 301 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in seekTo() argument 304 msg->setInt64("timeUs", seekTimeUs); in seekTo() 316 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { in performSeek() argument 323 mHandler->seek(seekTimeUs); in performSeek() 500 int64_t seekTimeUs; in onMessageReceived() local 502 CHECK(msg->findInt64("timeUs", &seekTimeUs)); in onMessageReceived() 506 performSeek(seekTimeUs/*, (MediaPlayerSeekMode)mode */); in onMessageReceived()
|
D | NuPlayer.cpp | 77 explicit SeekAction(int64_t seekTimeUs, MediaPlayerSeekMode mode) in SeekAction() 78 : mSeekTimeUs(seekTimeUs), in SeekAction() 488 void NuPlayer::seekToAsync(int64_t seekTimeUs, MediaPlayerSeekMode mode, bool needNotify) { in seekToAsync() argument 490 msg->setInt64("seekTimeUs", seekTimeUs); in seekToAsync() 1358 int64_t seekTimeUs; in onMessageReceived() local 1361 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onMessageReceived() 1366 (long long)seekTimeUs, mode, needNotify); in onMessageReceived() 1374 onStart(seekTimeUs, (MediaPlayerSeekMode)mode); in onMessageReceived() 1390 new SeekAction(seekTimeUs, (MediaPlayerSeekMode)mode)); in onMessageReceived() 2314 void NuPlayer::performSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in performSeek() argument [all …]
|
D | NuPlayer.h | 81 int64_t seekTimeUs, 321 void performSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode);
|
D | HTTPLiveSource.h | 55 int64_t seekTimeUs,
|
D | HTTPLiveSource.cpp | 241 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in seekTo() argument 243 return mLiveSession->seekTo(seekTimeUs, mode); in seekTo()
|
D | NuPlayerDriver.cpp | 479 int64_t seekTimeUs = msec * 1000LL; in seekTo() local 491 mPlayer->seekToAsync(seekTimeUs, mode, true /* needNotify */); in seekTo() 499 mPositionUs = seekTimeUs; in seekTo()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | NuMediaExtractor.h | 143 int64_t seekTimeUs = -1ll, 148 int64_t seekTimeUs = -1ll,
|
/frameworks/av/media/libstagefright/ |
D | JPEGSource.cpp | 115 int64_t seekTimeUs; in read() local 117 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read()
|
D | NuMediaExtractor.cpp | 472 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) { in fetchAllTrackSamples() argument 478 fetchTrackSamples(info, seekTimeUs, mode); in fetchAllTrackSamples() 506 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) { in fetchTrackSamples() argument 512 if (seekTimeUs >= 0LL) { in fetchTrackSamples() 513 options.setSeekTo(seekTimeUs, mode); in fetchTrackSamples()
|
/frameworks/av/media/extractors/aac/ |
D | AACExtractor.cpp | 276 int64_t seekTimeUs; in read() local 278 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read() 280 int64_t seekFrame = seekTimeUs / mFrameDurationUs; in read()
|
/frameworks/av/media/extractors/amr/ |
D | AMRExtractor.cpp | 282 int64_t seekTimeUs; in read() local 284 if (mOffsetTableLength > 0 && options && options->getSeekTo(&seekTimeUs, &mode)) { in read() 286 int64_t seekFrame = seekTimeUs / 20000LL; // 20ms per frame. in read()
|
/frameworks/av/media/extractors/mp3/ |
D | MP3Extractor.cpp | 491 int64_t seekTimeUs; in read() local 495 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read() 496 int64_t actualSeekTimeUs = seekTimeUs; in read() 507 mCurrentTimeUs = seekTimeUs; in read() 508 mCurrentPos = mFirstFramePos + seekTimeUs * bitrate / 8000000; in read()
|
/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 440 int64_t seekTimeUs; in read() local 442 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read() 447 int64_t samplenumber = (seekTimeUs * mSampleRate) / 1000000; in read() 451 pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3); in read()
|
/frameworks/wilhelm/src/android/util/ |
D | AacAdtsExtractor.cpp | 237 int64_t seekTimeUs; in read() local 239 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read()
|
/frameworks/av/media/extractors/flac/ |
D | FLACExtractor.cpp | 712 int64_t seekTimeUs; in read() local 714 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) { in read() 716 if (seekTimeUs <= 0LL) { in read() 720 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL; in read()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 5910 int64_t seekTimeUs; in read() local 5913 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read() 5914 ALOGV("seekTimeUs:%" PRId64, seekTimeUs); in read() 5924 if (seekTimeUs >= 0) { in read() 5960 seekTimeUs = std::max(seekTimeUs - elstInitialEmptyEditUs, (int64_t)0); in read() 5964 seekTimeUs += elstShiftStartUs; in read() 5967 ", elstShiftStartUs:%" PRIu64, seekTimeUs, elstInitialEmptyEditUs, in read() 5973 seekTimeUs, 1000000, mTimescale, in read() 6034 seekTimeUs, in read() 6074 options && options->getSeekTo(&seekTimeUs, &mode) ? in read() [all …]
|
/frameworks/av/media/extractors/ogg/ |
D | OggExtractor.cpp | 271 int64_t seekTimeUs; in read() local 273 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read() 274 status_t err = mExtractor->mImpl->seekToTime(seekTimeUs); in read()
|