/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 228 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 D | DummyAudioSource.cpp | 123 int64_t seekTimeUs; local 126 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 127 CHECK(seekTimeUs >= 0); 128 mTimeStampUs = seekTimeUs;
|
H A D | DummyVideoSource.cpp | 126 int64_t seekTimeUs; local 128 if (options && options->getSeekTo(&seekTimeUs, &seekMode)) { 130 mImageSeekTime = seekTimeUs;
|
H A D | VideoEditorSRC.cpp | 123 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 D | GenericSource.cpp | 166 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 D | HTTPLiveSource.cpp | 172 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs) { argument 179 mLiveSession->seekTo(seekTimeUs);
|
H A D | NuPlayer.cpp | 172 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 D | NuPlayerDriver.cpp | 185 int64_t seekTimeUs = msec * 1000ll; local 192 mStartupSeekTimeUs = seekTimeUs; 199 mPlayer->seekToAsync(seekTimeUs);
|
H A D | NuPlayerSource.h | 46 virtual status_t seekTo(int64_t seekTimeUs) { argument
|
H A D | RTSPSource.cpp | 195 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 D | AACExtractor.cpp | 290 int64_t seekTimeUs; local 292 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 294 int64_t seekFrame = seekTimeUs / mFrameDurationUs;
|
H A D | AMRExtractor.cpp | 254 int64_t seekTimeUs; local 256 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 258 int64_t seekFrame = seekTimeUs / 20000ll; // 20ms per frame.
|
H A D | AVIExtractor.cpp | 145 int64_t seekTimeUs; local 147 if (options && options->getSeekTo(&seekTimeUs, &seekMode)) { 150 mTrackIndex, seekTimeUs, seekMode, &mSampleIndex);
|
H A D | CameraSource.cpp | 761 int64_t seekTimeUs; local 763 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
|
H A D | FLACExtractor.cpp | 708 int64_t seekTimeUs; local 710 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) { 712 if (seekTimeUs <= 0LL) { 716 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
|
H A D | FragmentedMP4Extractor.cpp | 263 int64_t seekTimeUs; local 265 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 266 mParser->seekTo(mIsAudioTrack, seekTimeUs);
|
H A D | JPEGSource.cpp | 114 int64_t seekTimeUs; local 116 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
|
H A D | MP3Extractor.cpp | 476 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 D | MPEG4Extractor.cpp | 2029 int64_t seekTimeUs; local 2031 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 2051 seekTimeUs * mTimescale / 1000000, 2096 seekTimeUs,
|
H A D | NuMediaExtractor.cpp | 330 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 D | OMXCodec.cpp | 3797 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 D | OggExtractor.cpp | 174 int64_t seekTimeUs; local 176 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 177 if (mExtractor->mImpl->seekToTime(seekTimeUs) != OK) {
|
H A D | WAVExtractor.cpp | 388 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 D | AACEncoder.cpp | 221 int64_t seekTimeUs; local 223 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode));
|
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 98 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
|