Searched refs:seekTimeUs (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/av/include/media/stagefright/
H A DMPEG2TSExtractor.h87 status_t seek(int64_t seekTimeUs,
90 status_t seekBeyond(int64_t seekTimeUs);
H A DNuMediaExtractor.h125 int64_t seekTimeUs = -1ll,
/frameworks/av/media/libstagefright/foundation/include/
H A DMPEG2TSExtractor.h87 status_t seek(int64_t seekTimeUs,
90 status_t seekBeyond(int64_t seekTimeUs);
H A DNuMediaExtractor.h125 int64_t seekTimeUs = -1ll,
/frameworks/av/media/libstagefright/include/
H A DMPEG2TSExtractor.h87 status_t seek(int64_t seekTimeUs,
90 status_t seekBeyond(int64_t seekTimeUs);
H A DNuMediaExtractor.h125 int64_t seekTimeUs = -1ll,
/frameworks/av/media/libstagefright/
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 DJPEGSource.cpp114 int64_t seekTimeUs; local
116 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
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 DAACExtractor.cpp292 int64_t seekTimeUs; local
294 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
296 int64_t seekFrame = seekTimeUs / mFrameDurationUs;
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 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 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
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.h57 int64_t seekTimeUs,
138 void performSeek(int64_t seekTimeUs);
H A DHTTPLiveSource.h55 int64_t seekTimeUs,
H A DGenericSource.h79 int64_t seekTimeUs,
277 status_t doSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode);
301 // earlier than |seekTimeUs|.
306 int64_t seekTimeUs = -1ll,
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.h78 int64_t seekTimeUs,
305 void performSeek(int64_t seekTimeUs, MediaPlayerSeekMode 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 */);
/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/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/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp111 int64_t seekTimeUs; local
113 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &seekMode));
/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...]
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp262 int64_t seekTimeUs; local
264 if (options && options->getSeekTo(&seekTimeUs, &mode)) {

Completed in 276 milliseconds

12