/frameworks/av/media/libstagefright/ |
ThrottledSource.cpp | 53 int64_t durationUs = 56 int64_t whenUs = mStartTimeUs + durationUs;
|
VBRISeeker.cpp | 69 int64_t durationUs = 72 ALOGV("duration = %.2f secs", durationUs / 1E6); 100 if (durationUs) { 101 seeker->mDurationUs = durationUs; 138 bool VBRISeeker::getDuration(int64_t *durationUs) { 143 *durationUs = mDurationUs;
|
AudioPlayer.cpp | 158 int64_t durationUs; 159 if (format->findInt64(kKeyDuration, &durationUs)) { 160 offloadInfo.duration_us = durationUs;
|
NuMediaExtractor.cpp | 199 int64_t durationUs; 200 if (meta->findInt64(kKeyDuration, &durationUs) 201 && durationUs > mDurationUs) { 202 mDurationUs = durationUs; 553 int64_t *durationUs, bool *eos) const { 562 *durationUs = wvmExtractor->getCachedDurationUs(&finalStatus); 574 *durationUs = cachedDataRemaining * 8000000ll / bitrate;
|
StagefrightMetadataRetriever.cpp | 508 int64_t durationUs; 509 if (trackMeta->findInt64(kKeyDuration, &durationUs)) { 510 if (durationUs > maxDurationUs) { 511 maxDurationUs = durationUs;
|
Utils.cpp | 81 int64_t durationUs; 82 if (meta->findInt64(kKeyDuration, &durationUs)) { 83 msg->setInt64("durationUs", durationUs); 378 int64_t durationUs; 379 if (msg->findInt64("durationUs", &durationUs)) { 380 meta->setInt64(kKeyDuration, durationUs);
|
WAVExtractor.cpp | 307 int64_t durationUs = 0; 310 durationUs = 314 durationUs = 319 mTrackMeta->setInt64(kKeyDuration, durationUs);
|
MP3Extractor.cpp | 336 int64_t durationUs; 338 if (mSeeker == NULL || !mSeeker->getDuration(&durationUs)) { 341 durationUs = 8000LL * (fileSize - mFirstFramePos) / bitrate; 343 durationUs = -1; 347 if (durationUs >= 0) { 348 mMeta->setInt64(kKeyDuration, durationUs);
|
AVIExtractor.cpp | 908 int64_t durationUs; 910 getSampleTime(i, track->mSamples.size() - 1, &durationUs)); 912 ALOGV("track %d duration = %.2f secs", i, durationUs / 1E6); 914 track->mMeta->setInt64(kKeyDuration, durationUs); [all...] |
OggExtractor.cpp | 636 int64_t durationUs = lastGranulePosition * 1000000ll / mVi.rate; 638 mMeta->setInt64(kKeyDuration, durationUs);
|
/frameworks/av/media/libmediaplayerservice/ |
StagefrightPlayer.cpp | 136 int64_t durationUs; 137 status_t err = mPlayer->getDuration(&durationUs); 144 *msec = (durationUs + 500) / 1000;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
GenericSource.cpp | 96 int64_t durationUs; 97 if (meta->findInt64(kKeyDuration, &durationUs)) { 98 if (durationUs > mDurationUs) { 99 mDurationUs = durationUs; 185 status_t NuPlayer::GenericSource::getDuration(int64_t *durationUs) { 186 *durationUs = mDurationUs;
|
HTTPLiveSource.cpp | 120 status_t NuPlayer::HTTPLiveSource::getDuration(int64_t *durationUs) { 121 return mLiveSession->getDuration(durationUs); 176 int64_t timeUs, baseUs, durationUs, delayUs; 179 CHECK(buffer->meta()->findInt64("durationUs", &durationUs));
|
RTSPSource.cpp | 171 int64_t durationUs; 173 && (durationUs = mAudioTrack->getBufferedDurationUs(&err)) 177 durationUs / 1E6); 182 && (durationUs = mVideoTrack->getBufferedDurationUs(&err)) 186 durationUs / 1E6); 282 status_t NuPlayer::RTSPSource::getDuration(int64_t *durationUs) { 283 *durationUs = 0ll; 289 && audioDurationUs > *durationUs) { 290 *durationUs = audioDurationUs; 297 && videoDurationUs > *durationUs) { [all...] |
NuPlayer.cpp | 393 int64_t durationUs; 394 if (mDriver != NULL && mSource->getDuration(&durationUs) == OK) { 397 driver->notifyDuration(durationUs); 609 int64_t durationUs; 616 mSource->getDuration(&durationUs) == OK && 617 durationUs [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/ |
AACEncoder.cpp | 205 int64_t durationUs; 206 if (srcFormat->findInt64(kKeyDuration, &durationUs)) { 207 mMeta->setInt64(kKeyDuration, durationUs);
|
/frameworks/av/media/libstagefright/rtsp/ |
APacketSource.cpp | 419 int64_t durationUs; 420 if (sessionDesc->getDurationUs(&durationUs)) { 421 mFormat->setInt64(kKeyDuration, durationUs);
|
/frameworks/av/libvideoeditor/lvpp/ |
VideoEditorPlayer.cpp | 142 int64_t durationUs; 143 status_t err = mPlayer->getDuration(&durationUs); 150 *msec = (durationUs + 500) / 1000;
|
PreviewPlayer.cpp | 721 int64_t durationUs; 722 if (mAudioTrack->getFormat()->findInt64(kKeyDuration, &durationUs)) { 723 setDuration_l(durationUs); 756 int64_t durationUs; 757 if (mVideoTrack->getFormat()->findInt64(kKeyDuration, &durationUs)) { 758 setDuration_l(durationUs); [all...] |
/frameworks/wilhelm/src/android/ |
android_AudioSfDecoder.cpp | 272 int64_t durationUs; 275 && meta->findInt64(kKeyDuration, &durationUs)) { 276 if (durationUs != 0) { 277 mBitrate = size * 8000000ll / durationUs; // in bits/sec 281 mDurationUsec = durationUs; 282 durationMsec = durationUs / 1000;
|
/frameworks/av/media/libstagefright/httplive/ |
M3UParser.cpp | 518 err = parseMetaDataDuration(line, &itemMeta, "durationUs"); 562 int64_t durationUs; 564 || !itemMeta->findInt64("durationUs", &durationUs)) { [all...] |
LiveSession.cpp | 317 int64_t durationUs; 318 CHECK(msg->findInt64("durationUs", &durationUs)); 321 info->mDurationUs = durationUs; 914 status_t LiveSession::getDuration(int64_t *durationUs) const { 924 *durationUs = maxDurationUs; 930 int64_t durationUs; 931 return getDuration(&durationUs) == OK && durationUs >= 0; [all...] |
PlaylistFetcher.cpp | 107 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs)); 143 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs)); 1012 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs)); [all...] |
/frameworks/av/media/libstagefright/omx/tests/ |
OMXHarness.cpp | 603 int64_t durationUs; 604 CHECK(source->getFormat()->findInt64(kKeyDuration, &durationUs)); 607 durationUs, durationUs / 1E6); 631 requestedSeekTimeUs = durationUs; 636 (int64_t)(uniform_rand() * durationUs);
|
/frameworks/av/cmds/stagefright/ |
stagefright.cpp | 221 int64_t durationUs; 222 CHECK(meta->findInt64(kKeyDuration, &durationUs)); 285 seekTimeUs = (rand() * (float)durationUs) / RAND_MAX; 537 int64_t durationUs; 538 CHECK(source->getFormat()->findInt64(kKeyDuration, &durationUs)); 540 for (int64_t seekTimeUs = 0; seekTimeUs <= durationUs;
|