/frameworks/av/media/libstagefright/timedtext/ |
D | TimedTextPlayer.cpp | 108 int64_t seekTimeUs = positionMs * 1000ll; in onMessageReceived() local 112 doSeekAndRead(seekTimeUs); in onMessageReceived() 122 int64_t seekTimeUs; in onMessageReceived() local 124 if (msg->findInt64("seekTimeUs", &seekTimeUs) && in onMessageReceived() 128 seekTimeUs, in onMessageReceived() 137 int64_t seekTimeUs = kInvalidTimeUs; in onMessageReceived() local 140 msg->findInt64("seekTimeUs", &seekTimeUs); in onMessageReceived() 141 if (seekTimeUs == kInvalidTimeUs) { in onMessageReceived() 146 seekTimeUs = positionMs * 1000ll; in onMessageReceived() 150 mPendingSeekTimeUs = seekTimeUs; in onMessageReceived() [all …]
|
D | TimedTextSRTSource.cpp | 220 int64_t seekTimeUs; in getText() local 222 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in getText() 225 if (seekTimeUs < 0) { in getText() 227 } else if (seekTimeUs >= lastEndTimeUs) { in getText() 237 int diff = compareExtendedRangeAndTime(mid, seekTimeUs); in getText()
|
D | TimedTextPlayer.h | 72 void doSeekAndRead(int64_t seekTimeUs);
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 227 int64_t seekTimeUs = -1; in playSource() local 248 if (seekTimeUs >= 0) { in playSource() 249 int64_t diff = timestampUs - seekTimeUs; in playSource() 258 seekTimeUs / 1E6, timestampUs / 1E6); in playSource() 282 seekTimeUs = -1; in playSource() 285 seekTimeUs = (rand() * (float)durationUs) / RAND_MAX; in playSource() 286 options.setSeekTo(seekTimeUs); in playSource() 289 seekTimeUs, seekTimeUs / 1E6); in playSource() 540 for (int64_t seekTimeUs = 0; seekTimeUs <= durationUs; in performSeekTest() local 541 seekTimeUs += 60000ll) { in performSeekTest() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | GenericSource.h | 71 virtual status_t seekTo(int64_t seekTimeUs); 175 status_t doSeek(int64_t seekTimeUs); 190 int64_t seekTimeUs, 197 int64_t seekTimeUs = -1ll, int64_t *actualTimeUs = NULL, bool formatChange = false);
|
D | GenericSource.cpp | 1297 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs) { in seekTo() argument 1299 msg->setInt64("seekTimeUs", seekTimeUs); in seekTo() 1311 int64_t seekTimeUs; in onSeek() local 1312 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onSeek() 1315 status_t err = doSeek(seekTimeUs); in onSeek() 1323 status_t NuPlayer::GenericSource::doSeek(int64_t seekTimeUs) { in doSeek() argument 1331 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, &actualTimeUs); in doSeek() 1333 seekTimeUs = actualTimeUs; in doSeek() 1334 mVideoLastDequeueTimeUs = seekTimeUs; in doSeek() 1338 readBuffer(MEDIA_TRACK_TYPE_AUDIO, seekTimeUs); in doSeek() [all …]
|
D | RTSPSource.cpp | 294 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs) { in seekTo() argument 297 msg->setInt64("timeUs", seekTimeUs); in seekTo() 303 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { in performSeek() argument 309 mHandler->seek(seekTimeUs); in performSeek() 329 int64_t seekTimeUs; in onMessageReceived() local 330 CHECK(msg->findInt64("timeUs", &seekTimeUs)); in onMessageReceived() 332 performSeek(seekTimeUs); in onMessageReceived()
|
D | RTSPSource.h | 53 virtual status_t seekTo(int64_t seekTimeUs); 125 void performSeek(int64_t seekTimeUs);
|
D | NuPlayer.cpp | 67 SeekAction(int64_t seekTimeUs, bool needNotify) in SeekAction() 68 : mSeekTimeUs(seekTimeUs), in SeekAction() 335 void NuPlayer::seekToAsync(int64_t seekTimeUs, bool needNotify) { in seekToAsync() argument 337 msg->setInt64("seekTimeUs", seekTimeUs); in seekToAsync() 935 int64_t seekTimeUs; in onMessageReceived() local 937 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs)); in onMessageReceived() 941 seekTimeUs, needNotify); in onMessageReceived() 948 new SeekAction(seekTimeUs, needNotify)); in onMessageReceived() 1516 void NuPlayer::performSeek(int64_t seekTimeUs, bool needNotify) { in performSeek() argument 1518 seekTimeUs, in performSeek() [all …]
|
D | NuPlayerDriver.cpp | 348 int64_t seekTimeUs = msec * 1000ll; in seekTo() local 354 mStartupSeekTimeUs = seekTimeUs; in seekTo() 369 mPlayer->seekToAsync(seekTimeUs, true /* needNotify */); in seekTo() 377 mPositionUs = seekTimeUs; in seekTo()
|
D | NuPlayer.h | 63 void seekToAsync(int64_t seekTimeUs, bool needNotify = false); 230 void performSeek(int64_t seekTimeUs, bool needNotify);
|
D | HTTPLiveSource.h | 47 virtual status_t seekTo(int64_t seekTimeUs);
|
D | HTTPLiveSource.cpp | 168 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs) { in seekTo() argument 169 return mLiveSession->seekTo(seekTimeUs); in seekTo()
|
/frameworks/av/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 98 int64_t seekTimeUs, bool isAudio, 360 int64_t seekTimeUs, bool isAudio, in seek() argument 366 const int64_t seekTimeNs = seekTimeUs * 1000ll - mExtractor->mSeekPreRollNs; in seek() 373 ALOGV("Seek to beginning: %" PRId64, seekTimeUs); in seek() 382 ALOGV("Seeking to: %" PRId64, seekTimeUs); in seek() 477 if (thisTrack->GetType() == 1 || frameTimeUs >= seekTimeUs) { in seek() 480 seekTimeUs, *actualFrameTimeUs); in seek() 564 int64_t seekTimeUs; in read() local 566 if (options && options->getSeekTo(&seekTimeUs, &mode) in read() 574 mBlockIter.seek(seekTimeUs, mIsAudio, &actualFrameTimeUs); in read()
|
/frameworks/av/media/libstagefright/ |
D | JPEGSource.cpp | 114 int64_t seekTimeUs; in read() local 116 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read()
|
D | AMRExtractor.cpp | 254 int64_t seekTimeUs; in read() local 256 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read() 258 int64_t seekFrame = seekTimeUs / 20000ll; // 20ms per frame. in read()
|
D | MP3Extractor.cpp | 479 int64_t seekTimeUs; in read() local 483 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read() 484 int64_t actualSeekTimeUs = seekTimeUs; in read() 495 mCurrentTimeUs = seekTimeUs; in read() 496 mCurrentPos = mFirstFramePos + seekTimeUs * bitrate / 8000000; in read()
|
D | WAVExtractor.cpp | 404 int64_t seekTimeUs; in read() local 406 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) { in read() 411 int64_t samplenumber = (seekTimeUs * mSampleRate) / 1000000; in read() 415 pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3); in read()
|
D | AACExtractor.cpp | 290 int64_t seekTimeUs; in read() local 292 if (options && options->getSeekTo(&seekTimeUs, &mode)) { in read() 294 int64_t seekFrame = seekTimeUs / mFrameDurationUs; in read()
|
D | NuMediaExtractor.cpp | 360 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) { in fetchTrackSamples() argument 367 if (seekTimeUs >= 0ll) { in fetchTrackSamples() 381 if (seekTimeUs >= 0ll) { in fetchTrackSamples() 382 options.setSeekTo(seekTimeUs, mode); in fetchTrackSamples()
|
D | FLACExtractor.cpp | 756 int64_t seekTimeUs; in read() local 758 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) { in read() 760 if (seekTimeUs <= 0LL) { in read() 764 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL; in read()
|
/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/av/media/libstagefright/mpeg2ts/ |
D | MPEG2TSExtractor.cpp | 88 int64_t seekTimeUs; in read() local 90 if (mSeekable && options && 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/include/media/stagefright/ |
D | NuMediaExtractor.h | 108 int64_t seekTimeUs = -1ll,
|