/frameworks/av/media/extractors/mpeg2/ |
H A D | MPEG2TSExtractor.h | 89 status_t seek(int64_t seekTimeUs, 92 status_t seekBeyond(int64_t seekTimeUs);
|
H A D | MPEG2TSExtractor.cpp | 107 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/media/extractors/midi/ |
H A D | MidiExtractor.cpp | 123 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 D | RTSPSource2.h | 56 int64_t seekTimeUs, 137 void performSeek(int64_t seekTimeUs);
|
H A D | GenericSource2.cpp | 1063 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 D | HTTPLiveSource2.h | 55 int64_t seekTimeUs,
|
H A D | GenericSource2.h | 86 int64_t seekTimeUs, 195 status_t doSeek(int64_t seekTimeUs, MediaPlayer2SeekMode mode); 219 // earlier than |seekTimeUs|. 224 int64_t seekTimeUs = -1ll,
|
H A D | NuPlayer2.h | 75 int64_t seekTimeUs, 318 void performSeek(int64_t seekTimeUs, MediaPlayer2SeekMode mode);
|
H A D | RTSPSource2.cpp | 295 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 */);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | RTSPSource.h | 57 int64_t seekTimeUs, 139 void performSeek(int64_t seekTimeUs);
|
H A D | HTTPLiveSource.h | 55 int64_t seekTimeUs,
|
H A D | GenericSource.h | 83 int64_t seekTimeUs, 187 status_t doSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode); 211 // earlier than |seekTimeUs|. 216 int64_t seekTimeUs = -1ll,
|
H A D | GenericSource.cpp | 1101 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 D | NuPlayer.h | 82 int64_t seekTimeUs, 322 void performSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode);
|
H A D | RTSPSource.cpp | 297 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 */);
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 239 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/include/media/stagefright/ |
H A D | NuMediaExtractor.h | 142 int64_t seekTimeUs = -1ll, 147 int64_t seekTimeUs = -1ll,
|
/frameworks/av/media/libstagefright/ |
H A D | JPEGSource.cpp | 115 int64_t seekTimeUs; local 117 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | NuMediaExtractor.h | 142 int64_t seekTimeUs = -1ll, 147 int64_t seekTimeUs = -1ll,
|
/frameworks/av/media/extractors/aac/ |
H A D | AACExtractor.cpp | 278 int64_t seekTimeUs; local 280 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 282 int64_t seekFrame = seekTimeUs / mFrameDurationUs;
|
/frameworks/av/media/extractors/amr/ |
H A D | AMRExtractor.cpp | 284 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/wav/ |
H A D | WAVExtractor.cpp | 425 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/mkv/ |
H A D | MatroskaExtractor.cpp | 106 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/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 237 int64_t seekTimeUs; local 239 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
|
/frameworks/av/media/extractors/mp3/ |
H A D | MP3Extractor.cpp | 503 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;
|