Searched defs:durationUs (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerSource.h42 virtual status_t getDuration(int64_t *durationUs) { argument
H A DHTTPLiveSource.cpp168 status_t NuPlayer::HTTPLiveSource::getDuration(int64_t *durationUs) { argument
169 return mLiveSession->getDuration(durationUs);
H A DGenericSource.cpp92 int64_t durationUs; local
93 if (meta->findInt64(kKeyDuration, &durationUs)) {
94 if (durationUs > mDurationUs) {
95 mDurationUs = durationUs;
161 status_t NuPlayer::GenericSource::getDuration(int64_t *durationUs) { argument
162 *durationUs = mDurationUs;
H A DNuPlayerDriver.cpp311 void NuPlayerDriver::notifyDuration(int64_t durationUs) { argument
313 mDurationUs = durationUs;
H A DRTSPSource.cpp116 int64_t durationUs; local
118 && (durationUs = mAudioTrack->getBufferedDurationUs(&err))
122 durationUs / 1E6);
127 && (durationUs = mVideoTrack->getBufferedDurationUs(&err))
131 durationUs / 1E6);
173 status_t NuPlayer::RTSPSource::getDuration(int64_t *durationUs) { argument
174 *durationUs = 0ll;
180 && audioDurationUs > *durationUs) {
181 *durationUs = audioDurationUs;
188 && videoDurationUs > *durationUs) {
[all...]
H A DNuPlayer.cpp384 int64_t durationUs; local
390 mSource->getDuration(&durationUs) == OK &&
391 durationUs > AUDIO_SINK_MIN_DEEP_BUFFER_DURATION_US) {
720 int64_t durationUs; local
721 if (mDriver != NULL && mSource->getDuration(&durationUs) == OK) {
724 driver->notifyDuration(durationUs);
/frameworks/av/media/libstagefright/
H A DThrottledSource.cpp57 int64_t durationUs = local
60 int64_t whenUs = mStartTimeUs + durationUs;
H A DVBRISeeker.cpp69 int64_t durationUs = local
72 ALOGV("duration = %.2f secs", durationUs / 1E6);
100 if (durationUs) {
101 seeker->mDurationUs = durationUs;
138 bool VBRISeeker::getDuration(int64_t *durationUs) { argument
143 *durationUs = mDurationUs;
H A DXINGSeeker.cpp36 bool XINGSeeker::getDuration(int64_t *durationUs) { argument
41 *durationUs = mDurationUs;
H A DNuMediaExtractor.cpp199 int64_t durationUs; local
200 if (meta->findInt64(kKeyDuration, &durationUs)
201 && durationUs > mDurationUs) {
202 mDurationUs = durationUs;
525 int64_t *durationUs, bool *eos) const {
534 *durationUs = wvmExtractor->getCachedDurationUs(&finalStatus);
546 *durationUs = cachedDataRemaining * 8000000ll / bitrate;
524 getCachedDuration( int64_t *durationUs, bool *eos) const argument
H A DUtils.cpp76 int64_t durationUs; local
77 if (meta->findInt64(kKeyDuration, &durationUs)) {
78 msg->setInt64("durationUs", durationUs);
361 int64_t durationUs; local
362 if (msg->findInt64("durationUs", &durationUs)) {
363 meta->setInt64(kKeyDuration, durationUs);
H A DStagefrightMetadataRetriever.cpp508 int64_t durationUs; local
509 if (trackMeta->findInt64(kKeyDuration, &durationUs)) {
510 if (durationUs > maxDurationUs) {
511 maxDurationUs = durationUs;
H A DWAVExtractor.cpp299 int64_t durationUs = local
303 mTrackMeta->setInt64(kKeyDuration, durationUs);
H A DMP3Extractor.cpp336 int64_t durationUs; local
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);
/frameworks/av/include/media/stagefright/
H A DMediaWriter.h42 virtual void setMaxFileDuration(int64_t durationUs) { mMaxFileDurationLimitUs = durationUs; } argument
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightPlayer.cpp136 int64_t durationUs; local
137 status_t err = mPlayer->getDuration(&durationUs);
144 *msec = (durationUs + 500) / 1000;
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp205 int64_t durationUs; local
206 if (srcFormat->findInt64(kKeyDuration, &durationUs)) {
207 mMeta->setInt64(kKeyDuration, durationUs);
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp207 err = parseMetaDataDuration(line, &itemMeta, "durationUs");
249 int64_t durationUs; local
251 || !itemMeta->findInt64("durationUs", &durationUs)) {
H A DLiveSession.cpp464 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs));
551 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs));
581 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs));
926 status_t LiveSession::getDuration(int64_t *durationUs) { argument
928 *durationUs = mDurationUs;
934 int64_t durationUs; local
935 return getDuration(&durationUs) == OK && durationUs >= 0;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp84 int64_t durationUs; local
86 && mExtractor->mLiveSession->getDuration(&durationUs) == OK) {
87 meta->setInt64(kKeyDuration, durationUs);
/frameworks/av/media/libstagefright/rtsp/
H A DAPacketSource.cpp419 int64_t durationUs; local
420 if (sessionDesc->getDurationUs(&durationUs)) {
421 mFormat->setInt64(kKeyDuration, durationUs);
/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp272 int64_t durationUs; local
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/omx/tests/
H A DOMXHarness.cpp602 int64_t durationUs; local
603 CHECK(source->getFormat()->findInt64(kKeyDuration, &durationUs));
606 durationUs, durationUs / 1E6);
630 requestedSeekTimeUs = durationUs;
635 (int64_t)(uniform_rand() * durationUs);
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp222 int64_t durationUs; local
223 CHECK(meta->findInt64(kKeyDuration, &durationUs));
286 seekTimeUs = (rand() * (float)durationUs) / RAND_MAX;
538 int64_t durationUs; local
539 CHECK(source->getFormat()->findInt64(kKeyDuration, &durationUs));
541 for (int64_t seekTimeUs = 0; seekTimeUs <= durationUs;
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp142 int64_t durationUs; local
143 status_t err = mPlayer->getDuration(&durationUs);
150 *msec = (durationUs + 500) / 1000;

Completed in 132 milliseconds

12