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

/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextPlayer.cpp72 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 DTimedTextSRTSource.cpp220 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 DRepeaterSource.cpp111 int64_t seekTimeUs; local
113 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &seekMode));
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp168 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs) { argument
169 return mLiveSession->seekTo(seekTimeUs);
H A DNuPlayerDriver.cpp348 int64_t seekTimeUs = msec * 1000ll; local
354 mStartupSeekTimeUs = seekTimeUs;
369 mPlayer->seekToAsync(seekTimeUs, true /* needNotify */);
377 mPositionUs = seekTimeUs;
H A DRTSPSource.cpp294 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 DGenericSource.cpp1297 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 DNuPlayer.cpp67 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 DAACExtractor.cpp290 int64_t seekTimeUs; local
292 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
294 int64_t seekFrame = seekTimeUs / mFrameDurationUs;
H A DAMRExtractor.cpp254 int64_t seekTimeUs; local
256 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
258 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 DNuMediaExtractor.cpp360 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 DWAVExtractor.cpp404 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 DCameraSource.cpp812 int64_t seekTimeUs; local
814 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
H A DMP3Extractor.cpp479 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 DAVIExtractor.cpp145 int64_t seekTimeUs; local
147 if (options && options->getSeekTo(&seekTimeUs, &seekMode)) {
150 mTrackIndex, seekTimeUs, seekMode, &mSampleIndex);
H A DFLACExtractor.cpp756 int64_t seekTimeUs; local
758 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
760 if (seekTimeUs <= 0LL) {
764 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
H A DOggExtractor.cpp179 int64_t seekTimeUs; local
181 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
182 if (mExtractor->mImpl->seekToTime(seekTimeUs) != OK) {
H A DOMXCodec.cpp3930 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 DMPEG4Extractor.cpp3675 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 DAACEncoder.cpp221 int64_t seekTimeUs; local
223 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode));
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp88 int64_t seekTimeUs; local
90 if (mSeekable && options && options->getSeekTo(&seekTimeUs, &seekMode)) {
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp262 int64_t seekTimeUs; local
264 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp227 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 DMatroskaExtractor.cpp98 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...]

Completed in 1305 milliseconds