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

/frameworks/av/media/extractors/amr/
H A DAMRExtractor.cpp284 int64_t seekTimeUs; local
286 if (mOffsetTableLength > 0 && options && options->getSeekTo(&seekTimeUs, &mode)) {
288 int64_t seekFrame = seekTimeUs / 20000ll; // 20ms per frame.
/frameworks/av/media/extractors/midi/
H A DMidiExtractor.cpp123 int64_t seekTimeUs; local
125 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
126 if (seekTimeUs <= 0LL) {
127 seekTimeUs = 0LL;
129 mEngine.seekTo(seekTimeUs);
/frameworks/av/media/libmediaplayer2/nuplayer2/
H A DHTTPLiveSource2.cpp242 status_t NuPlayer2::HTTPLiveSource2::seekTo(int64_t seekTimeUs, MediaPlayer2SeekMode mode) { argument
244 return mLiveSession->seekTo(seekTimeUs, mode);
H A DRTSPSource2.cpp295 status_t NuPlayer2::RTSPSource2::seekTo(int64_t seekTimeUs, MediaPlayer2SeekMode mode) { argument
298 msg->setInt64("timeUs", seekTimeUs);
310 void NuPlayer2::RTSPSource2::performSeek(int64_t seekTimeUs) { argument
317 mHandler->seek(seekTimeUs);
494 int64_t seekTimeUs; local
496 CHECK(msg->findInt64("timeUs", &seekTimeUs));
500 performSeek(seekTimeUs/*, (MediaPlayer2SeekMode)mode */);
H A DGenericSource2.cpp1063 status_t NuPlayer2::GenericSource2::seekTo(int64_t seekTimeUs, MediaPlayer2SeekMode mode) { argument
1064 ALOGV("seekTo: %lld, %d", (long long)seekTimeUs, mode);
1066 msg->setInt64("seekTimeUs", seekTimeUs);
1082 int64_t seekTimeUs; local
1084 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs));
1088 status_t err = doSeek(seekTimeUs, (MediaPlayer2SeekMode)mode);
1096 status_t NuPlayer2::GenericSource2::doSeek(int64_t seekTimeUs, MediaPlayer2SeekMode mode) { argument
1101 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, mod
1269 readBuffer( media_track_type trackType, int64_t seekTimeUs, MediaPlayer2SeekMode mode, int64_t *actualTimeUs, bool formatChange) argument
[all...]
H A DNuPlayer2Driver.cpp418 int64_t seekTimeUs = msec * 1000ll; local
428 mPlayer->seekToAsync(seekTimeUs, mode, true /* needNotify */);
436 mPositionUs = seekTimeUs;
H A DNuPlayer2.cpp112 explicit SeekAction(int64_t seekTimeUs, MediaPlayer2SeekMode mode) argument
113 : mSeekTimeUs(seekTimeUs),
579 void NuPlayer2::seekToAsync(int64_t seekTimeUs, MediaPlayer2SeekMode mode, bool needNotify) { argument
581 msg->setInt64("seekTimeUs", seekTimeUs);
1485 int64_t seekTimeUs; local
1488 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs));
1492 ALOGV("kWhatSeek seekTimeUs=%lld us, mode=%d, needNotify=%d",
1493 (long long)seekTimeUs, mod
2355 performSeek(int64_t seekTimeUs, MediaPlayer2SeekMode mode) argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp241 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { argument
243 return mLiveSession->seekTo(seekTimeUs, mode);
H A DRTSPSource.cpp297 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { argument
300 msg->setInt64("timeUs", seekTimeUs);
312 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { argument
319 mHandler->seek(seekTimeUs);
496 int64_t seekTimeUs; local
498 CHECK(msg->findInt64("timeUs", &seekTimeUs));
502 performSeek(seekTimeUs/*, (MediaPlayerSeekMode)mode */);
H A DNuPlayerDriver.cpp475 int64_t seekTimeUs = msec * 1000ll; local
487 mPlayer->seekToAsync(seekTimeUs, mode, true /* needNotify */);
495 mPositionUs = seekTimeUs;
H A DGenericSource.cpp1101 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { argument
1102 ALOGV("seekTo: %lld, %d", (long long)seekTimeUs, mode);
1104 msg->setInt64("seekTimeUs", seekTimeUs);
1120 int64_t seekTimeUs; local
1122 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs));
1126 status_t err = doSeek(seekTimeUs, (MediaPlayerSeekMode)mode);
1134 status_t NuPlayer::GenericSource::doSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode) { argument
1139 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, mod
1304 readBuffer( media_track_type trackType, int64_t seekTimeUs, MediaPlayerSeekMode mode, int64_t *actualTimeUs, bool formatChange) argument
[all...]
H A DNuPlayer.cpp77 explicit SeekAction(int64_t seekTimeUs, MediaPlayerSeekMode mode) argument
78 : mSeekTimeUs(seekTimeUs),
488 void NuPlayer::seekToAsync(int64_t seekTimeUs, MediaPlayerSeekMode mode, bool needNotify) { argument
490 msg->setInt64("seekTimeUs", seekTimeUs);
1345 int64_t seekTimeUs; local
1348 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs));
1352 ALOGV("kWhatSeek seekTimeUs=%lld us, mode=%d, needNotify=%d",
1353 (long long)seekTimeUs, mod
2307 performSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode) argument
[all...]
/frameworks/av/media/libstagefright/
H A DJPEGSource.cpp115 int64_t seekTimeUs; local
117 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
H A DNuMediaExtractor.cpp476 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) {
482 fetchTrackSamples(info, seekTimeUs, mode);
510 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) {
516 if (seekTimeUs >= 0ll) {
517 options.setSeekTo(seekTimeUs, mode);
475 fetchAllTrackSamples( int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) argument
509 fetchTrackSamples(TrackInfo *info, int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) argument
H A DCameraSource.cpp1067 int64_t seekTimeUs; local
1069 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp237 int64_t seekTimeUs; local
239 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
/frameworks/av/media/extractors/aac/
H A DAACExtractor.cpp278 int64_t seekTimeUs; local
280 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
282 int64_t seekFrame = seekTimeUs / mFrameDurationUs;
/frameworks/av/media/extractors/wav/
H A DWAVExtractor.cpp425 int64_t seekTimeUs; local
427 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
432 int64_t samplenumber = (seekTimeUs * mSampleRate) / 1000000;
436 pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3);
/frameworks/av/media/extractors/mp3/
H A DMP3Extractor.cpp503 int64_t seekTimeUs; local
507 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
508 int64_t actualSeekTimeUs = seekTimeUs;
519 mCurrentTimeUs = seekTimeUs;
520 mCurrentPos = mFirstFramePos + seekTimeUs * bitrate / 8000000;
/frameworks/av/media/extractors/mpeg2/
H A DMPEG2TSExtractor.cpp107 int64_t seekTimeUs; local
109 if (mDoesSeek && options && options->getSeekTo(&seekTimeUs, &seekMode)) {
111 status_t err = mExtractor->seek(seekTimeUs, seekMode);
479 status_t MPEG2TSExtractor::seek(int64_t seekTimeUs, argument
489 (seekTimeUs > mSeekSyncPoints->keyAt(mSeekSyncPoints->size() - 1));
495 if (timeUs > seekTimeUs) {
533 status_t err = seekBeyond(seekTimeUs);
601 status_t MPEG2TSExtractor::seekBeyond(int64_t seekTimeUs) { argument
605 while (seekTimeUs > mSeekSyncPoints->keyAt(
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp239 int64_t seekTimeUs = -1; local
260 if (seekTimeUs >= 0) {
261 int64_t diff = timestampUs - seekTimeUs;
270 seekTimeUs / 1E6, timestampUs / 1E6);
294 seekTimeUs = -1;
297 seekTimeUs = (rand() * (float)durationUs) / RAND_MAX;
298 options.setSeekTo(seekTimeUs);
301 seekTimeUs, seekTimeUs / 1E6);
559 for (int64_t seekTimeUs
[all...]
/frameworks/av/media/extractors/flac/
H A DFLACExtractor.cpp765 int64_t seekTimeUs; local
767 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
769 if (seekTimeUs <= 0LL) {
773 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
/frameworks/av/media/extractors/ogg/
H A DOggExtractor.cpp264 int64_t seekTimeUs; local
266 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
267 status_t err = mExtractor->mImpl->seekToTime(seekTimeUs);
/frameworks/av/media/extractors/mkv/
H A DMatroskaExtractor.cpp106 int64_t seekTimeUs, bool isAudio,
400 int64_t seekTimeUs, bool isAudio,
406 if (seekTimeUs > INT64_MAX / 1000ll ||
407 seekTimeUs < INT64_MIN / 1000ll ||
409 (seekTimeUs * 1000ll) < INT64_MIN + mExtractor->mSeekPreRollNs) ||
411 (seekTimeUs * 1000ll) > INT64_MAX + mExtractor->mSeekPreRollNs)) {
412 ALOGE("cannot seek to %lld", (long long) seekTimeUs);
416 const int64_t seekTimeNs = seekTimeUs * 1000ll - mExtractor->mSeekPreRollNs;
423 ALOGV("Seek to beginning: %" PRId64, seekTimeUs);
432 ALOGV("Seeking to: %" PRId64, seekTimeUs);
399 seek( int64_t seekTimeUs, bool isAudio, int64_t *actualFrameTimeUs) argument
772 int64_t seekTimeUs; local
[all...]
/frameworks/av/media/extractors/mp4/
H A DMPEG4Extractor.cpp4686 int64_t seekTimeUs; local
4688 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
4698 if (seekTimeUs >= 0) {
4729 seekTimeUs, 1000000, mTimescale,
4777 seekTimeUs,
4807 options && options->getSeekTo(&seekTimeUs, &mode) ?
5023 int64_t seekTimeUs; local
5025 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
5033 if (totalTime + se->mDurationUs > seekTimeUs) {
5035 if ((mode == ReadOptions::SEEK_NEXT_SYNC && seekTimeUs > totalTim
[all...]

Completed in 1126 milliseconds