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

12

/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp228 int64_t seekTimeUs = -1; local
249 if (seekTimeUs >= 0) {
250 int64_t diff = timestampUs - seekTimeUs;
259 seekTimeUs / 1E6, timestampUs / 1E6);
283 seekTimeUs = -1;
286 seekTimeUs = (rand() * (float)durationUs) / RAND_MAX;
287 options.setSeekTo(seekTimeUs);
290 seekTimeUs, seekTimeUs / 1E6);
541 for (int64_t seekTimeUs
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DDummyAudioSource.cpp123 int64_t seekTimeUs; local
126 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
127 CHECK(seekTimeUs >= 0);
128 mTimeStampUs = seekTimeUs;
H A DDummyVideoSource.cpp126 int64_t seekTimeUs; local
128 if (options && options->getSeekTo(&seekTimeUs, &seekMode)) {
130 mImageSeekTime = seekTimeUs;
H A DVideoEditorSRC.cpp123 int64_t seekTimeUs; local
125 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
126 ALOGV("read Seek %lld", seekTimeUs);
127 mSeekTimeUs = seekTimeUs;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp166 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs) { argument
169 readBuffer(false /* audio */, seekTimeUs, &actualTimeUs);
171 seekTimeUs = actualTimeUs;
175 readBuffer(true /* audio */, seekTimeUs);
182 bool audio, int64_t seekTimeUs, int64_t *actualTimeUs) {
187 *actualTimeUs = seekTimeUs;
194 if (seekTimeUs >= 0) {
195 options.setSeekTo(seekTimeUs);
181 readBuffer( bool audio, int64_t seekTimeUs, int64_t *actualTimeUs) argument
H A DHTTPLiveSource.cpp172 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs) { argument
179 mLiveSession->seekTo(seekTimeUs);
H A DNuPlayer.cpp172 void NuPlayer::seekToAsync(int64_t seekTimeUs) { argument
174 msg->setInt64("seekTimeUs", seekTimeUs);
581 int64_t seekTimeUs; local
582 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs));
584 ALOGV("kWhatSeek seekTimeUs=%lld us (%.2f secs)",
585 seekTimeUs, seekTimeUs / 1E6);
587 mSource->seekTo(seekTimeUs);
[all...]
H A DNuPlayerDriver.cpp185 int64_t seekTimeUs = msec * 1000ll; local
192 mStartupSeekTimeUs = seekTimeUs;
199 mPlayer->seekToAsync(seekTimeUs);
H A DNuPlayerSource.h46 virtual status_t seekTo(int64_t seekTimeUs) { argument
H A DRTSPSource.cpp195 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs) { argument
198 msg->setInt64("timeUs", seekTimeUs);
204 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { argument
210 mHandler->seek(seekTimeUs);
234 int64_t seekTimeUs; local
235 CHECK(msg->findInt64("timeUs", &seekTimeUs));
237 performSeek(seekTimeUs);
/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 DAVIExtractor.cpp145 int64_t seekTimeUs; local
147 if (options && options->getSeekTo(&seekTimeUs, &seekMode)) {
150 mTrackIndex, seekTimeUs, seekMode, &mSampleIndex);
H A DCameraSource.cpp761 int64_t seekTimeUs; local
763 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
H A DFLACExtractor.cpp708 int64_t seekTimeUs; local
710 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
712 if (seekTimeUs <= 0LL) {
716 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
H A DFragmentedMP4Extractor.cpp263 int64_t seekTimeUs; local
265 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
266 mParser->seekTo(mIsAudioTrack, seekTimeUs);
H A DJPEGSource.cpp114 int64_t seekTimeUs; local
116 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
H A DMP3Extractor.cpp476 int64_t seekTimeUs; local
480 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
481 int64_t actualSeekTimeUs = seekTimeUs;
492 mCurrentTimeUs = seekTimeUs;
493 mCurrentPos = mFirstFramePos + seekTimeUs * bitrate / 8000000;
H A DMPEG4Extractor.cpp2029 int64_t seekTimeUs; local
2031 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
2051 seekTimeUs * mTimescale / 1000000,
2096 seekTimeUs,
H A DNuMediaExtractor.cpp330 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) {
337 if (seekTimeUs >= 0ll) {
351 if (seekTimeUs >= 0ll) {
352 options.setSeekTo(seekTimeUs, mode);
329 fetchTrackSamples( int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) argument
H A DOMXCodec.cpp3797 int64_t seekTimeUs; local
3799 if (options && options->getSeekTo(&seekTimeUs, &seekMode)) {
3807 CHECK(seekTimeUs >= 0);
3808 mSeekTimeUs = seekTimeUs;
3837 CODEC_LOGV("seeking to %lld us (%.2f secs)", seekTimeUs, seekTimeUs / 1E6);
3841 CHECK(seekTimeUs >= 0);
3842 mSeekTimeUs = seekTimeUs;
H A DOggExtractor.cpp174 int64_t seekTimeUs; local
176 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
177 if (mExtractor->mImpl->seekToTime(seekTimeUs) != OK) {
H A DWAVExtractor.cpp388 int64_t seekTimeUs; local
390 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
391 int64_t pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3);
/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/matroska/
H A DMatroskaExtractor.cpp98 int64_t seekTimeUs, bool isAudio,
310 int64_t seekTimeUs, bool isAudio,
316 const int64_t seekTimeNs = seekTimeUs * 1000ll;
323 ALOGV("Seek to beginning: %lld", seekTimeUs);
332 ALOGV("Seeking to: %lld", seekTimeUs);
413 seekTimeUs, actualFrameTimeUs);
496 int64_t seekTimeUs; local
498 if (options && options->getSeekTo(&seekTimeUs, &mode)
506 mBlockIter.seek(seekTimeUs, mIsAudio, &actualFrameTimeUs);
309 seek( int64_t seekTimeUs, bool isAudio, int64_t *actualFrameTimeUs) argument

Completed in 144 milliseconds

12