/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextPlayer.cpp | 72 msg->setInt64("seekTimeUs", timeUs); 108 int64_t seekTimeUs = positionMs * 1000ll; local 112 doSeekAndRead(seekTimeUs); 122 int64_t seekTimeUs; local 124 if (msg->findInt64("seekTimeUs", &seekTimeUs) && 128 seekTimeUs, 137 int64_t seekTimeUs = kInvalidTimeUs; local 140 msg->findInt64("seekTimeUs", &seekTimeUs); 220 doSeekAndRead(int64_t seekTimeUs) argument 236 int64_t seekTimeUs = kInvalidTimeUs; local [all...] |
H A D | TimedTextSRTSource.cpp | 220 int64_t seekTimeUs; local 222 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { 225 if (seekTimeUs < 0) { 227 } else if (seekTimeUs >= lastEndTimeUs) { 237 int diff = compareExtendedRangeAndTime(mid, seekTimeUs);
|
/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 | 168 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs) { argument 169 return mLiveSession->seekTo(seekTimeUs);
|
H A D | NuPlayerDriver.cpp | 348 int64_t seekTimeUs = msec * 1000ll; local 354 mStartupSeekTimeUs = seekTimeUs; 369 mPlayer->seekToAsync(seekTimeUs, true /* needNotify */); 377 mPositionUs = seekTimeUs;
|
H A D | RTSPSource.cpp | 294 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs) { argument 297 msg->setInt64("timeUs", seekTimeUs); 303 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { argument 309 mHandler->seek(seekTimeUs); 329 int64_t seekTimeUs; local 330 CHECK(msg->findInt64("timeUs", &seekTimeUs)); 332 performSeek(seekTimeUs);
|
H A D | GenericSource.cpp | 1297 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs) { argument 1299 msg->setInt64("seekTimeUs", seekTimeUs); 1311 int64_t seekTimeUs; local 1312 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); 1315 status_t err = doSeek(seekTimeUs); 1323 status_t NuPlayer::GenericSource::doSeek(int64_t seekTimeUs) { argument 1331 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, &actualTimeUs); 1333 seekTimeUs 1457 readBuffer( media_track_type trackType, int64_t seekTimeUs, int64_t *actualTimeUs, bool formatChange) argument [all...] |
H A D | NuPlayer.cpp | 67 SeekAction(int64_t seekTimeUs, bool needNotify) argument 68 : mSeekTimeUs(seekTimeUs), 335 void NuPlayer::seekToAsync(int64_t seekTimeUs, bool needNotify) { argument 337 msg->setInt64("seekTimeUs", seekTimeUs); 935 int64_t seekTimeUs; local 937 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); 940 ALOGV("kWhatSeek seekTimeUs=%lld us, needNotify=%d", 941 seekTimeUs, needNotif 1516 performSeek(int64_t seekTimeUs, bool needNotify) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AACExtractor.cpp | 290 int64_t seekTimeUs; local 292 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 294 int64_t seekFrame = seekTimeUs / mFrameDurationUs;
|
H A D | AMRExtractor.cpp | 254 int64_t seekTimeUs; local 256 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 258 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 | NuMediaExtractor.cpp | 360 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) { 367 if (seekTimeUs >= 0ll) { 381 if (seekTimeUs >= 0ll) { 382 options.setSeekTo(seekTimeUs, mode); 359 fetchTrackSamples( int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) argument
|
H A D | WAVExtractor.cpp | 404 int64_t seekTimeUs; local 406 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { 411 int64_t samplenumber = (seekTimeUs * mSampleRate) / 1000000; 415 pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3);
|
H A D | CameraSource.cpp | 812 int64_t seekTimeUs; local 814 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
|
H A D | MP3Extractor.cpp | 479 int64_t seekTimeUs; local 483 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { 484 int64_t actualSeekTimeUs = seekTimeUs; 495 mCurrentTimeUs = seekTimeUs; 496 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 | FLACExtractor.cpp | 756 int64_t seekTimeUs; local 758 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) { 760 if (seekTimeUs <= 0LL) { 764 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
|
H A D | OggExtractor.cpp | 179 int64_t seekTimeUs; local 181 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 182 if (mExtractor->mImpl->seekToTime(seekTimeUs) != OK) {
|
H A D | OMXCodec.cpp | 3930 int64_t seekTimeUs; local 3932 if (options && options->getSeekTo(&seekTimeUs, &seekMode)) { 3940 CHECK(seekTimeUs >= 0); 3941 mSeekTimeUs = seekTimeUs; 3970 CODEC_LOGV("seeking to %" PRId64 " us (%.2f secs)", seekTimeUs, seekTimeUs / 1E6); 3974 CHECK(seekTimeUs >= 0); 3975 mSeekTimeUs = seekTimeUs;
|
H A D | MPEG4Extractor.cpp | 3675 int64_t seekTimeUs; local 3677 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 3697 seekTimeUs, 1000000, mTimescale, 3743 seekTimeUs, 3954 int64_t seekTimeUs; local 3956 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 3964 if (totalTime + se->mDurationUs > seekTimeUs) { 3966 if ((mode == ReadOptions::SEEK_NEXT_SYNC && seekTimeUs > totalTime) || 3968 (seekTimeUs - totalTime) > (totalTime + se->mDurationUs - seekTimeUs))) { [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/ |
H A D | AACEncoder.cpp | 221 int64_t seekTimeUs; local 223 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode));
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2TSExtractor.cpp | 88 int64_t seekTimeUs; local 90 if (mSeekable && options && options->getSeekTo(&seekTimeUs, &seekMode)) {
|
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 262 int64_t seekTimeUs; local 264 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 227 int64_t seekTimeUs = -1; local 248 if (seekTimeUs >= 0) { 249 int64_t diff = timestampUs - seekTimeUs; 258 seekTimeUs / 1E6, timestampUs / 1E6); 282 seekTimeUs = -1; 285 seekTimeUs = (rand() * (float)durationUs) / RAND_MAX; 286 options.setSeekTo(seekTimeUs); 289 seekTimeUs, seekTimeUs / 1E6); 540 for (int64_t seekTimeUs [all...] |
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 98 int64_t seekTimeUs, bool isAudio, 360 int64_t seekTimeUs, bool isAudio, 366 const int64_t seekTimeNs = seekTimeUs * 1000ll - mExtractor->mSeekPreRollNs; 373 ALOGV("Seek to beginning: %" PRId64, seekTimeUs); 382 ALOGV("Seeking to: %" PRId64, seekTimeUs); 477 if (thisTrack->GetType() == 1 || frameTimeUs >= seekTimeUs) { 480 seekTimeUs, *actualFrameTimeUs); 564 int64_t seekTimeUs; local 566 if (options && options->getSeekTo(&seekTimeUs, &mode) 574 mBlockIter.seek(seekTimeUs, mIsAudi 359 seek( int64_t seekTimeUs, bool isAudio, int64_t *actualFrameTimeUs) argument [all...] |