/frameworks/av/media/module/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/cmds/stagefright/ |
D | stagefright.cpp | 250 int64_t seekTimeUs = -1; in playSource() local 271 if (seekTimeUs >= 0) { in playSource() 272 int64_t diff = timestampUs - seekTimeUs; in playSource() 281 seekTimeUs / 1E6, timestampUs / 1E6); in playSource() 305 seekTimeUs = -1; in playSource() 308 seekTimeUs = (rand() * (float)durationUs) / (float)RAND_MAX; in playSource() 309 options.setSeekTo(seekTimeUs); in playSource() 312 seekTimeUs, seekTimeUs / 1E6); in playSource() 573 for (int64_t seekTimeUs = 0; seekTimeUs <= durationUs; in performSeekTest() local 574 seekTimeUs += 60000ll) { in performSeekTest() [all …]
|
/frameworks/av/media/module/extractors/amr/ |
D | AMRExtractor.cpp | 284 int64_t seekTimeUs; in read() local 286 if (mOffsetTableLength > 0 && options && options->getSeekTo(&seekTimeUs, &mode)) { in read() 292 seekFrame = (seekTimeUs + frameDurationUs - 1) / frameDurationUs; in read() 296 seekFrame = (seekTimeUs + frameDurationUs/2) / frameDurationUs; in read() 300 seekFrame = seekTimeUs / frameDurationUs; in read()
|
/frameworks/av/media/module/extractors/aac/ |
D | AACExtractor.cpp | 278 int64_t seekTimeUs; in read() local 280 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read() 286 seekFrame = (seekTimeUs + mFrameDurationUs - 1) / mFrameDurationUs; in read() 290 seekFrame = (seekTimeUs + mFrameDurationUs/2) / mFrameDurationUs; in read() 295 seekFrame = seekTimeUs / mFrameDurationUs; in read()
|
/frameworks/av/media/module/extractors/mpeg2/include/ |
D | MPEG2TSExtractor.h | 91 status_t seek(int64_t seekTimeUs, 94 status_t seekBeyond(int64_t seekTimeUs);
|
/frameworks/av/media/module/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/libmediaplayerservice/nuplayer/ |
D | GenericSource.cpp | 1126 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in seekTo() argument 1127 ALOGV("seekTo: %lld, %d", (long long)seekTimeUs, mode); in seekTo() 1129 msg->setInt64("seekTimeUs", seekTimeUs); in seekTo() 1145 int64_t seekTimeUs; in onSeek() local 1147 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onSeek() 1151 status_t err = doSeek(seekTimeUs, (MediaPlayerSeekMode)mode); in onSeek() 1159 status_t NuPlayer::GenericSource::doSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in doSeek() argument 1164 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, mode, &actualTimeUs); in doSeek() 1167 seekTimeUs = std::max<int64_t>(0, actualTimeUs); in doSeek() 1174 readBuffer(MEDIA_TRACK_TYPE_AUDIO, seekTimeUs, MediaPlayerSeekMode::SEEK_CLOSEST); in doSeek() [all …]
|
D | RTSPSource.cpp | 304 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in seekTo() argument 307 msg->setInt64("timeUs", seekTimeUs); in seekTo() 319 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { in performSeek() argument 326 mHandler->seek(seekTimeUs); in performSeek() 503 int64_t seekTimeUs; in onMessageReceived() local 505 CHECK(msg->findInt64("timeUs", &seekTimeUs)); in onMessageReceived() 509 performSeek(seekTimeUs/*, (MediaPlayerSeekMode)mode */); in onMessageReceived()
|
D | NuPlayer.cpp | 78 explicit SeekAction(int64_t seekTimeUs, MediaPlayerSeekMode mode) in SeekAction() 79 : mSeekTimeUs(seekTimeUs), in SeekAction() 501 void NuPlayer::seekToAsync(int64_t seekTimeUs, MediaPlayerSeekMode mode, bool needNotify) { in seekToAsync() argument 503 msg->setInt64("seekTimeUs", seekTimeUs); in seekToAsync() 1388 int64_t seekTimeUs; in onMessageReceived() local 1391 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onMessageReceived() 1396 (long long)seekTimeUs, mode, needNotify); in onMessageReceived() 1404 onStart(seekTimeUs, (MediaPlayerSeekMode)mode); in onMessageReceived() 1420 new SeekAction(seekTimeUs, (MediaPlayerSeekMode)mode)); in onMessageReceived() 2355 void NuPlayer::performSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in performSeek() argument [all …]
|
D | HTTPLiveSource.cpp | 240 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in seekTo() argument 242 return mLiveSession->seekTo(seekTimeUs, mode); in seekTo()
|
D | NuPlayerDriver.cpp | 501 int64_t seekTimeUs = msec * 1000LL; in seekTo() local 513 mPlayer->seekToAsync(seekTimeUs, mode, true /* needNotify */); in seekTo() 521 mPositionUs = seekTimeUs; in seekTo()
|
/frameworks/av/media/module/extractors/mpeg2/ |
D | MPEG2TSExtractor.cpp | 169 int64_t seekTimeUs; in read() local 171 if (mDoesSeek && options && options->getSeekTo(&seekTimeUs, &seekMode)) { in read() 173 status_t err = mExtractor->seek(seekTimeUs, (ReadOptions::SeekMode)seekMode); in read() 635 status_t MPEG2TSExtractor::seek(int64_t seekTimeUs, in seek() argument 645 (seekTimeUs > mSeekSyncPoints->keyAt(mSeekSyncPoints->size() - 1)); in seek() 651 if (timeUs > seekTimeUs) { in seek() 689 status_t err = seekBeyond(seekTimeUs); in seek() 757 status_t MPEG2TSExtractor::seekBeyond(int64_t seekTimeUs) { in seekBeyond() argument 761 while (seekTimeUs > mSeekSyncPoints->keyAt( in seekBeyond()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/ |
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 | HTTPLiveSource.h | 55 int64_t seekTimeUs,
|
D | NuPlayer.h | 83 int64_t seekTimeUs, 329 void performSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode);
|
D | RTPSource.h | 66 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 | 504 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) { in fetchAllTrackSamples() argument 510 fetchTrackSamples(info, seekTimeUs, mode); in fetchAllTrackSamples() 538 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) { in fetchTrackSamples() argument 544 if (seekTimeUs >= 0LL) { in fetchTrackSamples() 545 options.setSeekTo(seekTimeUs, mode); in fetchTrackSamples()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | NuMediaExtractor.h | 154 int64_t seekTimeUs = -1ll, 159 int64_t seekTimeUs = -1ll,
|
/frameworks/av/media/module/extractors/mp3/ |
D | MP3Extractor.cpp | 490 int64_t seekTimeUs; in read() local 494 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read() 495 int64_t actualSeekTimeUs = seekTimeUs; in read() 506 mCurrentTimeUs = seekTimeUs; in read() 508 if (__builtin_mul_overflow(seekTimeUs, bitrate, &seekTimeUsTimesBitrate)) { 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/module/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/module/extractors/wav/ |
D | WAVExtractor.cpp | 440 int64_t seekTimeUs; in read() local 442 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read() 445 bool overflowed = __builtin_mul_overflow(seekTimeUs, mSampleRate, &sampleNumber); in read()
|
/frameworks/av/media/module/extractors/mp4/ |
D | MPEG4Extractor.cpp | 6158 int64_t seekTimeUs; in read() local 6161 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read() 6162 ALOGV("seekTimeUs:%" PRId64, seekTimeUs); in read() 6172 if (seekTimeUs >= 0) { in read() 6208 seekTimeUs = std::max(seekTimeUs - elstInitialEmptyEditUs, (int64_t)0); in read() 6212 seekTimeUs += elstShiftStartUs; in read() 6215 ", elstShiftStartUs:%" PRIu64, seekTimeUs, elstInitialEmptyEditUs, in read() 6221 seekTimeUs, 1000000, mTimescale, in read() 6283 seekTimeUs, in read() 6323 options && options->getSeekTo(&seekTimeUs, &mode) ? in read() [all …]
|