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

12

/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 DNuPlayerSource.h83 virtual status_t seekTo(int64_t seekTimeUs) { argument
H A DGenericSource.cpp190 status_t NuPlayer::GenericSource::seekTo(int64_t seekTimeUs) { argument
193 readBuffer(false /* audio */, seekTimeUs, &actualTimeUs);
195 seekTimeUs = actualTimeUs;
199 readBuffer(true /* audio */, seekTimeUs);
206 bool audio, int64_t seekTimeUs, int64_t *actualTimeUs) {
211 *actualTimeUs = seekTimeUs;
218 if (seekTimeUs >= 0) {
219 options.setSeekTo(seekTimeUs);
205 readBuffer( bool audio, int64_t seekTimeUs, int64_t *actualTimeUs) argument
H A DHTTPLiveSource.cpp146 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs) { argument
147 return mLiveSession->seekTo(seekTimeUs);
H A DNuPlayerDriver.cpp278 int64_t seekTimeUs = msec * 1000ll; local
283 mStartupSeekTimeUs = seekTimeUs;
293 mPlayer->seekToAsync(seekTimeUs);
H A DRTSPSource.cpp304 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs) { argument
307 msg->setInt64("timeUs", seekTimeUs);
313 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { argument
319 mHandler->seek(seekTimeUs);
339 int64_t seekTimeUs; local
340 CHECK(msg->findInt64("timeUs", &seekTimeUs));
342 performSeek(seekTimeUs);
H A DNuPlayer.cpp63 SeekAction(int64_t seekTimeUs) argument
64 : mSeekTimeUs(seekTimeUs) {
288 void NuPlayer::seekToAsync(int64_t seekTimeUs) { argument
290 msg->setInt64("seekTimeUs", seekTimeUs);
803 int64_t seekTimeUs; local
804 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs));
806 ALOGV("kWhatSeek seekTimeUs=%lld us", seekTimeUs);
1240 performSeek(int64_t seekTimeUs) argument
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextPlayer.cpp71 msg->setInt64("seekTimeUs", timeUs);
107 int64_t seekTimeUs = positionMs * 1000ll; local
111 doSeekAndRead(seekTimeUs);
121 int64_t seekTimeUs; local
123 if (msg->findInt64("seekTimeUs", &seekTimeUs) &&
127 seekTimeUs,
136 int64_t seekTimeUs = kInvalidTimeUs; local
139 msg->findInt64("seekTimeUs", &seekTimeUs);
219 doSeekAndRead(int64_t seekTimeUs) argument
235 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.cpp110 int64_t seekTimeUs; local
112 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &seekMode));
/frameworks/av/media/libstagefright/
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 DAACExtractor.cpp290 int64_t seekTimeUs; local
292 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
294 int64_t seekFrame = seekTimeUs / mFrameDurationUs;
H A DNuMediaExtractor.cpp358 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) {
365 if (seekTimeUs >= 0ll) {
379 if (seekTimeUs >= 0ll) {
380 options.setSeekTo(seekTimeUs, mode);
357 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.cpp772 int64_t seekTimeUs; local
774 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
H A DMP3Extractor.cpp478 int64_t seekTimeUs; local
482 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
483 int64_t actualSeekTimeUs = seekTimeUs;
494 mCurrentTimeUs = seekTimeUs;
495 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.cpp735 int64_t seekTimeUs; local
737 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
739 if (seekTimeUs <= 0LL) {
743 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
/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...]

Completed in 1284 milliseconds

12