Searched defs:seekTimeUs (Results 1 - 25 of 28) 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.cpp187 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs) { argument
190 msg->setInt64("timeUs", seekTimeUs);
196 void NuPlayer::RTSPSource::performSeek(int64_t seekTimeUs) { argument
202 mHandler->seek(seekTimeUs);
226 int64_t seekTimeUs; local
227 CHECK(msg->findInt64("timeUs", &seekTimeUs));
229 performSeek(seekTimeUs);
H A DNuPlayer.cpp159 void NuPlayer::seekToAsync(int64_t seekTimeUs) { argument
161 msg->setInt64("seekTimeUs", seekTimeUs);
560 int64_t seekTimeUs; local
561 CHECK(msg->findInt64("seekTimeUs", &seekTimeUs));
563 ALOGV("kWhatSeek seekTimeUs=%lld us (%.2f secs)",
564 seekTimeUs, seekTimeUs / 1E6);
566 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/timedtext/
H A DTimedTextPlayer.cpp52 msg->setInt64("seekTimeUs", -1);
62 msg->setInt64("seekTimeUs", timeUs);
79 int64_t seekTimeUs; local
81 if (msg->findInt64("seekTimeUs", &seekTimeUs) &&
85 seekTimeUs,
94 int64_t seekTimeUs = 0; local
95 msg->findInt64("seekTimeUs", &seekTimeUs);
96 if (seekTimeUs <
150 doSeekAndRead(int64_t seekTimeUs) argument
165 int64_t seekTimeUs; local
[all...]
H A DTimedTextSRTSource.cpp219 int64_t seekTimeUs; local
221 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
225 if (seekTimeUs < 0 || seekTimeUs > lastEndTimeUs) {
227 } else if (seekTimeUs < firstStartTimeUs) {
239 const int64_t diffTime = currTimeUs - seekTimeUs;
247 && (seekTimeUs < mTextVector.keyAt(high))) {
/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.cpp298 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) {
305 if (seekTimeUs >= 0ll) {
319 if (seekTimeUs >= 0ll) {
320 options.setSeekTo(seekTimeUs, mode);
297 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 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.cpp735 int64_t seekTimeUs; local
737 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
H A DMP3Extractor.cpp469 int64_t seekTimeUs; local
473 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
474 int64_t actualSeekTimeUs = seekTimeUs;
485 mCurrentTimeUs = seekTimeUs;
486 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.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 DOggExtractor.cpp174 int64_t seekTimeUs; local
176 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
177 if (mExtractor->mImpl->seekToTime(seekTimeUs) != OK) {
/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 256 milliseconds

12