/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | RepeaterSource.cpp | 111 int64_t seekTimeUs; local 113 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &seekMode));
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | HTTPLiveSource.cpp | 260 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { argument 262 return mLiveSession->seekTo(seekTimeUs, mode);
|
H A D | RTSPSource.cpp | 311 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { argument 314 msg->setInt64("timeUs", seekTimeUs); 326 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { argument 333 mHandler->seek(seekTimeUs); 501 int64_t seekTimeUs; local 503 CHECK(msg->findInt64("timeUs", &seekTimeUs)); 507 performSeek(seekTimeUs/*, (MediaPlayerSeekMode)mode */);
|
H A D | NuPlayerDriver.cpp | 453 int64_t seekTimeUs = msec * 1000ll; local 465 mPlayer->seekToAsync(seekTimeUs, mode, true /* needNotify */); 473 mPositionUs = seekTimeUs;
|
H A D | GenericSource.cpp | 1190 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { argument 1192 msg->setInt64("seekTimeUs", seekTimeUs); 1205 int64_t seekTimeUs; local 1207 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); 1211 status_t err = doSeek(seekTimeUs, (MediaPlayerSeekMode)mode); 1219 status_t NuPlayer::GenericSource::doSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode) { argument 1232 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, mode, &actualTimeUs); 1235 seekTimeUs 1377 readBuffer( media_track_type trackType, int64_t seekTimeUs, MediaPlayerSeekMode mode, int64_t *actualTimeUs, bool formatChange) argument [all...] |
H A D | NuPlayer.cpp | 76 explicit SeekAction(int64_t seekTimeUs, MediaPlayerSeekMode mode) argument 77 : mSeekTimeUs(seekTimeUs), 473 void NuPlayer::seekToAsync(int64_t seekTimeUs, MediaPlayerSeekMode mode, bool needNotify) { argument 475 msg->setInt64("seekTimeUs", seekTimeUs); 1316 int64_t seekTimeUs; local 1319 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); 1323 ALOGV("kWhatSeek seekTimeUs=%lld us, mode=%d, needNotify=%d", 1324 (long long)seekTimeUs, mod 2163 performSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AACExtractor.cpp | 292 int64_t seekTimeUs; local 294 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 296 int64_t seekFrame = seekTimeUs / mFrameDurationUs;
|
H A D | AMRExtractor.cpp | 260 int64_t seekTimeUs; local 262 if (mOffsetTableLength > 0 && options && options->getSeekTo(&seekTimeUs, &mode)) { 264 int64_t seekFrame = seekTimeUs / 20000ll; // 20ms per frame.
|
H A D | JPEGSource.cpp | 114 int64_t seekTimeUs; local 116 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
|
H A D | MidiExtractor.cpp | 122 int64_t seekTimeUs; local 124 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) { 125 if (seekTimeUs <= 0LL) { 126 seekTimeUs = 0LL; 128 mEngine->seekTo(seekTimeUs);
|
H A D | NuMediaExtractor.cpp | 384 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) { 391 if (seekTimeUs >= 0ll) { 405 if (seekTimeUs >= 0ll) { 406 options.setSeekTo(seekTimeUs, mode); 383 fetchTrackSamples( int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) argument
|
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);
|
H A D | MP3Extractor.cpp | 498 int64_t seekTimeUs; local 502 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { 503 int64_t actualSeekTimeUs = seekTimeUs; 514 mCurrentTimeUs = seekTimeUs; 515 mCurrentPos = mFirstFramePos + seekTimeUs * bitrate / 8000000;
|
H A D | AVIExtractor.cpp | 145 int64_t seekTimeUs; local 147 if (options && options->getSeekTo(&seekTimeUs, &seekMode)) { 150 mTrackIndex, seekTimeUs, seekMode, &mSampleIndex);
|
H A D | CameraSource.cpp | 1057 int64_t seekTimeUs; local 1059 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
|
H A D | FLACExtractor.cpp | 763 int64_t seekTimeUs; local 765 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) { 767 if (seekTimeUs <= 0LL) { 771 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
|
H A D | OggExtractor.cpp | 262 int64_t seekTimeUs; local 264 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 265 status_t err = mExtractor->mImpl->seekToTime(seekTimeUs);
|
H A D | MPEG4Extractor.cpp | 4515 int64_t seekTimeUs; local 4517 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 4537 seekTimeUs, 1000000, mTimescale, 4583 seekTimeUs, 4815 int64_t seekTimeUs; local 4817 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 4825 if (totalTime + se->mDurationUs > seekTimeUs) { 4827 if ((mode == ReadOptions::SEEK_NEXT_SYNC && seekTimeUs > totalTime) || 4829 (seekTimeUs - totalTime) > (totalTime + se->mDurationUs - seekTimeUs))) { [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/ |
H A D | AACEncoder.cpp | 219 int64_t seekTimeUs; local 221 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode));
|
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 262 int64_t seekTimeUs; local 264 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2TSExtractor.cpp | 96 int64_t seekTimeUs; local 98 if (mDoesSeek && options && options->getSeekTo(&seekTimeUs, &seekMode)) { 100 status_t err = mExtractor->seek(seekTimeUs, seekMode); 467 status_t MPEG2TSExtractor::seek(int64_t seekTimeUs, argument 477 (seekTimeUs > mSeekSyncPoints->keyAt(mSeekSyncPoints->size() - 1)); 483 if (timeUs > seekTimeUs) { 519 status_t err = seekBeyond(seekTimeUs); 587 status_t MPEG2TSExtractor::seekBeyond(int64_t seekTimeUs) { argument 591 while (seekTimeUs > mSeekSyncPoints->keyAt(
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 234 int64_t seekTimeUs = -1; local 255 if (seekTimeUs >= 0) { 256 int64_t diff = timestampUs - seekTimeUs; 265 seekTimeUs / 1E6, timestampUs / 1E6); 289 seekTimeUs = -1; 292 seekTimeUs = (rand() * (float)durationUs) / RAND_MAX; 293 options.setSeekTo(seekTimeUs); 296 seekTimeUs, seekTimeUs / 1E6); 554 for (int64_t seekTimeUs [all...] |
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 102 int64_t seekTimeUs, bool isAudio, 374 int64_t seekTimeUs, bool isAudio, 380 if (seekTimeUs > INT64_MAX / 1000ll || 381 seekTimeUs < INT64_MIN / 1000ll || 383 (seekTimeUs * 1000ll) < INT64_MIN + mExtractor->mSeekPreRollNs) || 385 (seekTimeUs * 1000ll) > INT64_MAX + mExtractor->mSeekPreRollNs)) { 386 ALOGE("cannot seek to %lld", (long long) seekTimeUs); 390 const int64_t seekTimeNs = seekTimeUs * 1000ll - mExtractor->mSeekPreRollNs; 397 ALOGV("Seek to beginning: %" PRId64, seekTimeUs); 406 ALOGV("Seeking to: %" PRId64, seekTimeUs); 373 seek( int64_t seekTimeUs, bool isAudio, int64_t *actualFrameTimeUs) argument 664 int64_t seekTimeUs; local [all...] |