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

/frameworks/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp111 int64_t seekTimeUs; local
113 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &seekMode));
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp260 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { argument
262 return mLiveSession->seekTo(seekTimeUs, mode);
H A DRTSPSource.cpp311 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 DNuPlayerDriver.cpp453 int64_t seekTimeUs = msec * 1000ll; local
465 mPlayer->seekToAsync(seekTimeUs, mode, true /* needNotify */);
473 mPositionUs = seekTimeUs;
H A DGenericSource.cpp1190 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 DNuPlayer.cpp76 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 DAACExtractor.cpp292 int64_t seekTimeUs; local
294 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
296 int64_t seekFrame = seekTimeUs / mFrameDurationUs;
H A DAMRExtractor.cpp260 int64_t seekTimeUs; local
262 if (mOffsetTableLength > 0 && options && options->getSeekTo(&seekTimeUs, &mode)) {
264 int64_t seekFrame = seekTimeUs / 20000ll; // 20ms per frame.
H A DJPEGSource.cpp114 int64_t seekTimeUs; local
116 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
H A DMidiExtractor.cpp122 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 DNuMediaExtractor.cpp384 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 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);
H A DMP3Extractor.cpp498 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 DAVIExtractor.cpp145 int64_t seekTimeUs; local
147 if (options && options->getSeekTo(&seekTimeUs, &seekMode)) {
150 mTrackIndex, seekTimeUs, seekMode, &mSampleIndex);
H A DCameraSource.cpp1057 int64_t seekTimeUs; local
1059 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
H A DFLACExtractor.cpp763 int64_t seekTimeUs; local
765 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
767 if (seekTimeUs <= 0LL) {
771 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
H A DOggExtractor.cpp262 int64_t seekTimeUs; local
264 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
265 status_t err = mExtractor->mImpl->seekToTime(seekTimeUs);
H A DMPEG4Extractor.cpp4515 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 DAACEncoder.cpp219 int64_t seekTimeUs; local
221 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode));
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp262 int64_t seekTimeUs; local
264 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp96 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 Dstagefright.cpp234 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 DMatroskaExtractor.cpp102 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...]

Completed in 464 milliseconds