/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 234 int64_t seekTimeUs = -1; in playSource() local 255 if (seekTimeUs >= 0) { in playSource() 256 int64_t diff = timestampUs - seekTimeUs; in playSource() 265 seekTimeUs / 1E6, timestampUs / 1E6); in playSource() 289 seekTimeUs = -1; in playSource() 292 seekTimeUs = (rand() * (float)durationUs) / RAND_MAX; in playSource() 293 options.setSeekTo(seekTimeUs); in playSource() 296 seekTimeUs, seekTimeUs / 1E6); in playSource() 554 for (int64_t seekTimeUs = 0; seekTimeUs <= durationUs; in performSeekTest() local 555 seekTimeUs += 60000ll) { in performSeekTest() [all …]
|
/frameworks/av/media/libstagefright/ |
D | MidiExtractor.cpp | 122 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()
|
D | JPEGSource.cpp | 114 int64_t seekTimeUs; in read() local 116 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read()
|
D | MP3Extractor.cpp | 498 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()
|
D | AMRExtractor.cpp | 260 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()
|
D | AACExtractor.cpp | 292 int64_t seekTimeUs; in read() local 294 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read() 296 int64_t seekFrame = seekTimeUs / mFrameDurationUs; in read()
|
D | WAVExtractor.cpp | 425 int64_t seekTimeUs; in read() local 427 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read() 432 int64_t samplenumber = (seekTimeUs * mSampleRate) / 1000000; in read() 436 pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3); in read()
|
D | NuMediaExtractor.cpp | 384 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) { in fetchTrackSamples() argument 391 if (seekTimeUs >= 0ll) { in fetchTrackSamples() 405 if (seekTimeUs >= 0ll) { in fetchTrackSamples() 406 options.setSeekTo(seekTimeUs, mode); in fetchTrackSamples()
|
D | FLACExtractor.cpp | 763 int64_t seekTimeUs; in read() local 765 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) { in read() 767 if (seekTimeUs <= 0LL) { in read() 771 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL; in read()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | MPEG2TSExtractor.cpp | 96 int64_t seekTimeUs; in read() local 98 if (mDoesSeek && options && options->getSeekTo(&seekTimeUs, &seekMode)) { in read() 100 status_t err = mExtractor->seek(seekTimeUs, seekMode); in read() 467 status_t MPEG2TSExtractor::seek(int64_t seekTimeUs, in seek() argument 477 (seekTimeUs > mSeekSyncPoints->keyAt(mSeekSyncPoints->size() - 1)); in seek() 483 if (timeUs > seekTimeUs) { in seek() 519 status_t err = seekBeyond(seekTimeUs); in seek() 587 status_t MPEG2TSExtractor::seekBeyond(int64_t seekTimeUs) { in seekBeyond() argument 591 while (seekTimeUs > mSeekSyncPoints->keyAt( in seekBeyond()
|
/frameworks/av/media/libstagefright/include/ |
D | MPEG2TSExtractor.h | 87 status_t seek(int64_t seekTimeUs, 90 status_t seekBeyond(int64_t seekTimeUs);
|
D | NuMediaExtractor.h | 125 int64_t seekTimeUs = -1ll,
|
/frameworks/av/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 102 int64_t seekTimeUs, bool isAudio, 374 int64_t seekTimeUs, bool isAudio, in seek() argument 380 if (seekTimeUs > INT64_MAX / 1000ll || in seek() 381 seekTimeUs < INT64_MIN / 1000ll || in seek() 383 (seekTimeUs * 1000ll) < INT64_MIN + mExtractor->mSeekPreRollNs) || in seek() 385 (seekTimeUs * 1000ll) > INT64_MAX + mExtractor->mSeekPreRollNs)) { in seek() 386 ALOGE("cannot seek to %lld", (long long) seekTimeUs); in seek() 390 const int64_t seekTimeNs = seekTimeUs * 1000ll - mExtractor->mSeekPreRollNs; in seek() 397 ALOGV("Seek to beginning: %" PRId64, seekTimeUs); in seek() 406 ALOGV("Seeking to: %" PRId64, seekTimeUs); in seek() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | RTSPSource.h | 57 int64_t seekTimeUs, 138 void performSeek(int64_t seekTimeUs);
|
D | GenericSource.cpp | 1190 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in seekTo() argument 1192 msg->setInt64("seekTimeUs", seekTimeUs); in seekTo() 1205 int64_t seekTimeUs; in onSeek() local 1207 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onSeek() 1211 status_t err = doSeek(seekTimeUs, (MediaPlayerSeekMode)mode); in onSeek() 1219 status_t NuPlayer::GenericSource::doSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in doSeek() argument 1232 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, mode, &actualTimeUs); in doSeek() 1235 seekTimeUs = actualTimeUs; in doSeek() 1241 readBuffer(MEDIA_TRACK_TYPE_AUDIO, seekTimeUs); in doSeek() 1242 mAudioLastDequeueTimeUs = seekTimeUs; in doSeek() [all …]
|
D | RTSPSource.cpp | 311 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in seekTo() argument 314 msg->setInt64("timeUs", seekTimeUs); in seekTo() 326 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { in performSeek() argument 333 mHandler->seek(seekTimeUs); in performSeek() 501 int64_t seekTimeUs; in onMessageReceived() local 503 CHECK(msg->findInt64("timeUs", &seekTimeUs)); in onMessageReceived() 507 performSeek(seekTimeUs/*, (MediaPlayerSeekMode)mode */); in onMessageReceived()
|
D | GenericSource.h | 79 int64_t seekTimeUs, 277 status_t doSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode); 306 int64_t seekTimeUs = -1ll,
|
D | NuPlayer.cpp | 76 explicit SeekAction(int64_t seekTimeUs, MediaPlayerSeekMode mode) in SeekAction() 77 : mSeekTimeUs(seekTimeUs), in SeekAction() 473 void NuPlayer::seekToAsync(int64_t seekTimeUs, MediaPlayerSeekMode mode, bool needNotify) { in seekToAsync() argument 475 msg->setInt64("seekTimeUs", seekTimeUs); in seekToAsync() 1316 int64_t seekTimeUs; in onMessageReceived() local 1319 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onMessageReceived() 1324 (long long)seekTimeUs, mode, needNotify); in onMessageReceived() 1332 onStart(seekTimeUs, (MediaPlayerSeekMode)mode); in onMessageReceived() 1348 new SeekAction(seekTimeUs, (MediaPlayerSeekMode)mode)); in onMessageReceived() 2163 void NuPlayer::performSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in performSeek() argument [all …]
|
D | NuPlayer.h | 78 int64_t seekTimeUs, 305 void performSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode);
|
D | HTTPLiveSource.h | 55 int64_t seekTimeUs,
|
D | HTTPLiveSource.cpp | 260 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in seekTo() argument 262 return mLiveSession->seekTo(seekTimeUs, mode); in seekTo()
|
D | NuPlayerDriver.cpp | 453 int64_t seekTimeUs = msec * 1000ll; in seekTo() local 465 mPlayer->seekToAsync(seekTimeUs, mode, true /* needNotify */); in seekTo() 473 mPositionUs = seekTimeUs; in seekTo()
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | RepeaterSource.cpp | 111 int64_t seekTimeUs; in read() local 113 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &seekMode)); in read()
|
/frameworks/wilhelm/src/android/util/ |
D | AacAdtsExtractor.cpp | 262 int64_t seekTimeUs; in read() local 264 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read()
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | AACEncoder.cpp | 219 int64_t seekTimeUs; in read() local 221 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode)); in read()
|