/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); 426 int64_t seekTimeUs, bool isAudio, in seek() argument 432 if (seekTimeUs > INT64_MAX / 1000ll || in seek() 433 seekTimeUs < INT64_MIN / 1000ll || in seek() 435 (seekTimeUs * 1000ll) < INT64_MIN + mExtractor->mSeekPreRollNs) || in seek() 437 (seekTimeUs * 1000ll) > INT64_MAX + mExtractor->mSeekPreRollNs)) { in seek() 438 ALOGE("cannot seek to %lld", (long long) seekTimeUs); in seek() 442 const int64_t seekTimeNs = seekTimeUs * 1000ll - mExtractor->mSeekPreRollNs; in seek() 449 ALOGV("Seek to beginning: %" PRId64, seekTimeUs); in seek() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | GenericSource.cpp | 1133 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in seekTo() argument 1134 ALOGV("seekTo: %lld, %d", (long long)seekTimeUs, mode); in seekTo() 1136 msg->setInt64("seekTimeUs", seekTimeUs); in seekTo() 1152 int64_t seekTimeUs; in onSeek() local 1154 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onSeek() 1158 status_t err = doSeek(seekTimeUs, (MediaPlayerSeekMode)mode); in onSeek() 1166 status_t NuPlayer::GenericSource::doSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in doSeek() argument 1171 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, mode, &actualTimeUs); in doSeek() 1174 seekTimeUs = actualTimeUs; in doSeek() 1181 readBuffer(MEDIA_TRACK_TYPE_AUDIO, seekTimeUs, MediaPlayerSeekMode::SEEK_CLOSEST); in doSeek() [all …]
|
D | GenericSource.h | 83 int64_t seekTimeUs, 188 status_t doSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode); 217 int64_t seekTimeUs = -1ll,
|
D | RTSPSource.h | 57 int64_t seekTimeUs, 139 void performSeek(int64_t seekTimeUs);
|
D | RTSPSource.cpp | 297 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in seekTo() argument 300 msg->setInt64("timeUs", seekTimeUs); in seekTo() 312 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { in performSeek() argument 319 mHandler->seek(seekTimeUs); in performSeek() 496 int64_t seekTimeUs; in onMessageReceived() local 498 CHECK(msg->findInt64("timeUs", &seekTimeUs)); in onMessageReceived() 502 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 | 82 int64_t seekTimeUs, 322 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 | 478 int64_t seekTimeUs = msec * 1000LL; in seekTo() local 490 mPlayer->seekToAsync(seekTimeUs, mode, true /* needNotify */); in seekTo() 498 mPositionUs = seekTimeUs; in seekTo()
|
/frameworks/av/media/extractors/mpeg2/ |
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()
|
D | MPEG2TSExtractor.h | 92 status_t seek(int64_t seekTimeUs, 95 status_t seekBeyond(int64_t seekTimeUs);
|
/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 | 455 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) { in fetchAllTrackSamples() argument 461 fetchTrackSamples(info, seekTimeUs, mode); in fetchAllTrackSamples() 489 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) { in fetchTrackSamples() argument 495 if (seekTimeUs >= 0LL) { in fetchTrackSamples() 496 options.setSeekTo(seekTimeUs, mode); in fetchTrackSamples()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | NuMediaExtractor.h | 143 int64_t seekTimeUs = -1ll, 148 int64_t seekTimeUs = -1ll,
|
/frameworks/av/media/extractors/mp3/ |
D | MP3Extractor.cpp | 499 int64_t seekTimeUs; in read() local 503 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read() 504 int64_t actualSeekTimeUs = seekTimeUs; in read() 515 mCurrentTimeUs = seekTimeUs; in read() 516 mCurrentPos = mFirstFramePos + seekTimeUs * bitrate / 8000000; 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/aac/ |
D | AACExtractor.cpp | 274 int64_t seekTimeUs; in read() local 276 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read() 278 int64_t seekFrame = seekTimeUs / mFrameDurationUs; in read()
|
/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 438 int64_t seekTimeUs; in read() local 440 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read() 445 int64_t samplenumber = (seekTimeUs * mSampleRate) / 1000000; in read() 449 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 | 710 int64_t seekTimeUs; in read() local 712 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) { in read() 714 if (seekTimeUs <= 0LL) { in read() 718 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL; in read()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 5659 int64_t seekTimeUs; in read() local 5661 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read() 5672 if (seekTimeUs >= 0) { in read() 5701 seekTimeUs += ((long double)mElstShiftStartTicks * 1000000) / mTimescale; in read() 5706 seekTimeUs, 1000000, mTimescale, in read() 5758 seekTimeUs, in read() 5796 options && options->getSeekTo(&seekTimeUs, &mode) ? in read() 6070 int64_t seekTimeUs; in fragmentedRead() local 6072 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in fragmentedRead() 6074 seekTimeUs += ((long double)mElstShiftStartTicks * 1000000) / mTimescale; in fragmentedRead() [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()
|