Searched defs:durationUs (Results 26 - 37 of 37) sorted by relevance

12

/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp605 err = parseMetaDataDuration(line, &itemMeta, "durationUs");
662 int64_t durationUs; local
664 || !itemMeta->findInt64("durationUs", &durationUs)) {
H A DLiveSession.cpp707 int64_t durationUs; local
708 CHECK(msg->findInt64("durationUs", &durationUs));
713 info->mDurationUs = durationUs;
1448 status_t LiveSession::getDuration(int64_t *durationUs) const {
1458 *durationUs = maxDurationUs;
1464 int64_t durationUs; local
1465 return getDuration(&durationUs) == OK && durationUs >= 0;
2151 int64_t durationUs; local
[all...]
H A DPlaylistFetcher.cpp202 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs));
226 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs));
256 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs));
1484 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs));
1497 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs));
1546 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs));
1880 int64_t durationUs; local
1881 CHECK(itemMeta->findInt64("durationUs", &durationUs));
1883 buffer->meta()->setInt64("durationUs", durationU
2085 int64_t durationUs = 0ll; local
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp458 status_t StagefrightRecorder::setParamInterleaveDuration(int32_t durationUs) { argument
459 ALOGV("setParamInterleaveDuration: %d", durationUs);
460 if (durationUs <= 500000) { // 500 ms
464 ALOGE("Audio/video interleave duration is too small: %d us", durationUs);
466 } else if (durationUs >= 10000000) { // 10 seconds
470 ALOGE("Audio/video interleave duration is too large: %d us", durationUs);
473 mInterleaveDurationUs = durationUs;
631 int32_t durationUs; local
632 if (safe_strtoi32(value.string(), &durationUs)) {
633 return setParamInterleaveDuration(durationUs);
1242 int64_t durationUs = mEncoderProfiles->getCamcorderProfileParamByName( local
[all...]
H A DMediaPlayerService.cpp1541 int64_t durationUs = (int64_t)((int32_t)numFramesPlayed * 1000000LL / mSampleRateHz) local
1543 if (durationUs < 0) {
1551 ALOGV("getPlayedOutDurationUs: negative duration %lld set to zero", (long long)durationUs);
1552 durationUs = 0;
1555 (long long)durationUs, (long long)nowUs, numFramesPlayed, (long long)numFramesPlayedAt);
1556 return durationUs;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp269 int64_t durationUs; local
270 if (meta->findInt64(kKeyDuration, &durationUs)) {
271 if (durationUs > mDurationUs) {
272 mDurationUs = durationUs;
953 status_t NuPlayer::GenericSource::getDuration(int64_t *durationUs) { argument
954 *durationUs = mDurationUs;
1308 int64_t durationUs; local
1309 if (mb->meta_data()->findInt64(kKeyDuration, &durationUs)) {
1310 meta->setInt64("durationUs", durationUs);
1528 prepare( const sp<NuCachedSource2> &cachedSource, const sp<WVMExtractor> &wvmExtractor, int64_t durationUs, int64_t bitrate, bool isStreaming) argument
1593 prepare_l( const sp<NuCachedSource2> &cachedSource, const sp<WVMExtractor> &wvmExtractor, int64_t durationUs, int64_t bitrate, bool isStreaming) argument
[all...]
H A DNuPlayer.cpp634 int64_t durationUs; local
635 if (mDriver != NULL && mSource->getDuration(&durationUs) == OK) {
638 driver->notifyDuration(durationUs);
2146 int64_t durationUs; local
2147 if (mSource->getDuration(&durationUs) == OK) {
2148 driver->notifyDuration(durationUs);
2352 int64_t timeUs, durationUs; local
2355 CHECK(buffer->meta()->findInt64("durationUs", &durationUs));
2360 in.writeInt64(durationUs);
[all...]
/frameworks/av/media/libstagefright/
H A DOggExtractor.cpp846 int64_t durationUs = getTimeUsOfGranule(lastGranulePosition); local
848 mMeta->setInt64(kKeyDuration, durationUs);
H A DUtils.cpp612 int64_t durationUs; local
613 if (meta->findInt64(kKeyDuration, &durationUs)) {
614 msg->setInt64("durationUs", durationUs);
1256 int64_t durationUs; local
1257 if (msg->findInt64("durationUs", &durationUs)) {
1258 meta->setInt64(kKeyDuration, durationUs);
1677 int64_t durationUs; local
1678 CHECK(mMeta->findInt64("segmentDurationUs", &durationUs));
[all...]
H A DMPEG4Extractor.cpp1605 int64_t durationUs; local
1606 if (mLastTrack->meta->findInt64(kKeyDuration, &durationUs)) {
1607 if (durationUs > 0) {
1609 (durationUs >> 1)) / durationUs;
H A DMPEG4Writer.cpp941 int64_t durationUs = (*it)->getDurationUs(); local
942 if (durationUs > maxDurationUs) {
943 maxDurationUs = durationUs;
945 if (durationUs < minDurationUs) {
946 minDurationUs = durationUs;
1036 void MPEG4Writer::writeMvhdBox(int64_t durationUs) { argument
1043 int32_t duration = (durationUs * mTimeScale + 5E5) / 1E6;
1061 void MPEG4Writer::writeMoovBox(int64_t durationUs) { argument
1063 writeMvhdBox(durationUs);
1126 status_t MPEG4Writer::setInterleaveDuration(uint32_t durationUs) { argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h440 int64_t durationUs; local
441 if (!desc->getDurationUs(&durationUs)) {

Completed in 221 milliseconds

12