HomeSort by relevance Sort by last modified time
    Searched refs:seekTimeUs (Results 1 - 25 of 30) sorted by null

1 2

  /frameworks/av/media/libstagefright/include/
MPEG2TSExtractor.h 87 status_t seek(int64_t seekTimeUs,
90 status_t seekBeyond(int64_t seekTimeUs);
  /frameworks/av/media/libstagefright/
MidiExtractor.cpp 122 int64_t seekTimeUs;
124 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
125 if (seekTimeUs <= 0LL) {
126 seekTimeUs = 0LL;
128 mEngine->seekTo(seekTimeUs);
JPEGSource.cpp 114 int64_t seekTimeUs;
116 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
AMRExtractor.cpp 260 int64_t seekTimeUs;
262 if (mOffsetTableLength > 0 && options && options->getSeekTo(&seekTimeUs, &mode)) {
264 int64_t seekFrame = seekTimeUs / 20000ll; // 20ms per frame.
AACExtractor.cpp 292 int64_t seekTimeUs;
294 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
296 int64_t seekFrame = seekTimeUs / mFrameDurationUs;
WAVExtractor.cpp 425 int64_t seekTimeUs;
427 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
432 int64_t samplenumber = (seekTimeUs * mSampleRate) / 1000000;
436 pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3);
MP3Extractor.cpp 498 int64_t seekTimeUs;
502 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
503 int64_t actualSeekTimeUs = seekTimeUs;
514 mCurrentTimeUs = seekTimeUs;
515 mCurrentPos = mFirstFramePos + seekTimeUs * bitrate / 8000000;
FLACExtractor.cpp 763 int64_t seekTimeUs;
765 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
767 if (seekTimeUs <= 0LL) {
771 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
NuMediaExtractor.cpp 395 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) {
402 if (seekTimeUs >= 0ll) {
416 if (seekTimeUs >= 0ll) {
417 options.setSeekTo(seekTimeUs, mode);
  /frameworks/av/media/libmediaplayerservice/nuplayer/
RTSPSource.h 57 int64_t seekTimeUs,
138 void performSeek(int64_t seekTimeUs);
HTTPLiveSource.h 55 int64_t seekTimeUs,
GenericSource.h 79 int64_t seekTimeUs,
277 status_t doSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode);
301 // earlier than |seekTimeUs|.
306 int64_t seekTimeUs = -1ll,
GenericSource.cpp     [all...]
NuPlayer.h 78 int64_t seekTimeUs,
305 void performSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode);
RTSPSource.cpp 311 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) {
314 msg->setInt64("timeUs", seekTimeUs);
326 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) {
333 mHandler->seek(seekTimeUs);
501 int64_t seekTimeUs;
503 CHECK(msg->findInt64("timeUs", &seekTimeUs));
507 performSeek(seekTimeUs/*, (MediaPlayerSeekMode)mode */);
NuPlayer.cpp 76 explicit SeekAction(int64_t seekTimeUs, MediaPlayerSeekMode mode)
77 : mSeekTimeUs(seekTimeUs),
473 void NuPlayer::seekToAsync(int64_t seekTimeUs, MediaPlayerSeekMode mode, bool needNotify) {
475 msg->setInt64("seekTimeUs", seekTimeUs);
    [all...]
HTTPLiveSource.cpp 260 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) {
262 return mLiveSession->seekTo(seekTimeUs, mode);
NuPlayerDriver.cpp 458 int64_t seekTimeUs = msec * 1000ll;
470 mPlayer->seekToAsync(seekTimeUs, mode, true /* needNotify */);
478 mPositionUs = seekTimeUs;
  /frameworks/av/cmds/stagefright/
stagefright.cpp 234 int64_t seekTimeUs = -1;
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 = 0; seekTimeUs <= durationUs
    [all...]
  /frameworks/av/media/libstagefright/mpeg2ts/
MPEG2TSExtractor.cpp 101 int64_t seekTimeUs;
103 if (mDoesSeek && options && options->getSeekTo(&seekTimeUs, &seekMode)) {
105 status_t err = mExtractor->seek(seekTimeUs, seekMode);
475 status_t MPEG2TSExtractor::seek(int64_t seekTimeUs,
485 (seekTimeUs > mSeekSyncPoints->keyAt(mSeekSyncPoints->size() - 1));
491 if (timeUs > seekTimeUs) {
527 status_t err = seekBeyond(seekTimeUs);
595 status_t MPEG2TSExtractor::seekBeyond(int64_t seekTimeUs) {
599 while (seekTimeUs > mSeekSyncPoints->keyAt(
  /frameworks/av/media/libstagefright/wifi-display/source/
RepeaterSource.cpp 111 int64_t seekTimeUs;
113 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &seekMode));
  /frameworks/av/media/libstagefright/matroska/
MatroskaExtractor.cpp 103 int64_t seekTimeUs, bool isAudio,
375 int64_t seekTimeUs, bool isAudio,
381 if (seekTimeUs > INT64_MAX / 1000ll ||
382 seekTimeUs < INT64_MIN / 1000ll ||
384 (seekTimeUs * 1000ll) < INT64_MIN + mExtractor->mSeekPreRollNs) ||
386 (seekTimeUs * 1000ll) > INT64_MAX + mExtractor->mSeekPreRollNs)) {
387 ALOGE("cannot seek to %lld", (long long) seekTimeUs);
391 const int64_t seekTimeNs = seekTimeUs * 1000ll - mExtractor->mSeekPreRollNs;
398 ALOGV("Seek to beginning: %" PRId64, seekTimeUs);
407 ALOGV("Seeking to: %" PRId64, seekTimeUs);
    [all...]
  /frameworks/av/media/libstagefright/include/media/stagefright/
NuMediaExtractor.h 121 int64_t seekTimeUs = -1ll,
  /frameworks/wilhelm/src/android/util/
AacAdtsExtractor.cpp 263 int64_t seekTimeUs;
265 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
  /frameworks/av/media/libstagefright/codecs/aacenc/
AACEncoder.cpp 219 int64_t seekTimeUs;
221 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode));

Completed in 412 milliseconds

1 2