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

12

/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerSource.h46 virtual status_t seekTo(int64_t seekTimeUs) { argument
H A DHTTPLiveSource.cpp172 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs) { argument
179 mLiveSession->seekTo(seekTimeUs);
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 DNuPlayerDriver.cpp185 int64_t seekTimeUs = msec * 1000ll; local
192 mStartupSeekTimeUs = seekTimeUs;
199 mPlayer->seekToAsync(seekTimeUs);
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);
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...]
/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/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp91 int64_t seekTimeUs; local
93 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &seekMode));
/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.cpp221 int64_t seekTimeUs; local
223 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
226 if (seekTimeUs < 0) {
228 } else if (seekTimeUs >= lastEndTimeUs) {
238 int diff = compareExtendedRangeAndTime(mid, seekTimeUs);
/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 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 DAACExtractor.cpp290 int64_t seekTimeUs; local
292 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
294 int64_t seekFrame = seekTimeUs / mFrameDurationUs;
H A DFragmentedMP4Extractor.cpp263 int64_t seekTimeUs; local
265 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
266 mParser->seekTo(mIsAudioTrack, seekTimeUs);
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);
H A DCameraSource.cpp761 int64_t seekTimeUs; local
763 if (options && 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 DAVIExtractor.cpp145 int64_t seekTimeUs; local
147 if (options && options->getSeekTo(&seekTimeUs, &seekMode)) {
150 mTrackIndex, seekTimeUs, seekMode, &mSampleIndex);
/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.cpp97 int64_t seekTimeUs; local
99 if (mSeekable && options && options->getSeekTo(&seekTimeUs, &seekMode)) {
100 mExtractor->seekTo(seekTimeUs);
225 void MPEG2TSExtractor::seekTo(int64_t seekTimeUs) { argument
232 mLiveSession->seekTo(seekTimeUs);
/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.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...]

Completed in 225 milliseconds

12