Home
last modified time | relevance | path

Searched refs:mDurationUs (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/media/java/android/media/
DSubtitleData.java72 private long mDurationUs; field in SubtitleData
97 mDurationUs = durationUs; in SubtitleData()
122 return mDurationUs; in getDurationUs()
146 mDurationUs = parcel.readLong(); in parseParcel()
/frameworks/av/media/extractors/mp3/
DXINGSeeker.cpp31 : mDurationUs(-1), in XINGSeeker()
39 if (mDurationUs < 0) { in getDuration()
43 *durationUs = mDurationUs; in getDuration()
49 if (mSizeBytes == 0 || mDurationUs < 0) { in getOffsetForTime()
53 float percent = (float)(*timeUs) * 100 / mDurationUs; in getOffsetForTime()
148 seeker->mDurationUs = (int64_t)frames * samples_per_frame * 1000000LL / sampling_rate; in CreateFromSource()
DVBRISeeker.cpp120 seeker->mDurationUs = durationUs; in CreateFromSource()
154 : mDurationUs(-1) { in VBRISeeker()
158 if (mDurationUs < 0) { in getDuration()
162 *durationUs = mDurationUs; in getDuration()
168 if (mDurationUs < 0 || mSegments.size() == 0) { in getOffsetForTime()
172 int64_t segmentDurationUs = mDurationUs / mSegments.size(); in getOffsetForTime()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DExtractor.java35 private long mDurationUs; field in Extractor
81 public long getClipDuration() { return this.mDurationUs; } in getClipDuration()
113 mDurationUs = trackFormat.getLong(MediaFormat.KEY_DURATION); in selectExtractorTrack()
114 if (mDurationUs < 0) { in selectExtractorTrack()
176 mStats.dumpStatistics(inputReference, operation, mimeType, "", mDurationUs, statsFile); in dumpStatistics()
/frameworks/av/media/tests/benchmark/src/native/extractor/
DExtractor.h32 mDurationUs{0} {}
56 int64_t getClipDuration() { return mDurationUs; } in getClipDuration()
63 int64_t mDurationUs; variable
DExtractor.cpp78 bool durationFound = AMediaFormat_getInt64(mFormat, AMEDIAFORMAT_KEY_DURATION, &mDurationUs); in setupTrackFormat()
116 mStats->dumpStatistics(operation, inputReference, mDurationUs, componentName, "", statsFile); in dumpStatistics()
/frameworks/av/media/libmediatranscoding/transcoder/
DMediaSampleWriter.cpp247 if (it->second.mDurationUs > longestDurationUs) { in runWriterLoop()
249 longestDurationUs = it->second.mDurationUs; in runWriterLoop()
308 if (track.mDurationUs > 0 && track.mFirstSampleTimeSet) { in runWriterLoop()
309 sample->info.presentationTimeUs = track.mDurationUs + track.mFirstSampleTimeUs; in runWriterLoop()
336 int32_t progress = (elapsed * 100) / track.mDurationUs; in runWriterLoop()
/frameworks/av/include/private/media/
DVideoFrame.h44 mTileWidth(tileWidth), mTileHeight(tileHeight), mDurationUs(0), in VideoFrame()
87 int64_t mDurationUs; // Frame duration in microseconds variable
/frameworks/av/media/libmediatranscoding/transcoder/include/media/
DMediaSampleWriter.h160 : mDurationUs(durationUs), in TrackRecord()
168 int64_t mDurationUs; member
/frameworks/av/media/extractors/mp3/include/
DVBRISeeker.h38 int64_t mDurationUs; member
DXINGSeeker.h39 int64_t mDurationUs; member
/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp56 mDurationUs(-1LL) { in NuMediaExtractor()
213 mDurationUs = -1LL; in updateDurationAndBitrate()
235 && durationUs > mDurationUs) { in updateDurationAndBitrate()
236 mDurationUs = durationUs; in updateDurationAndBitrate()
819 if (mDurationUs > 0 && mDataSource->getSize(&size) == OK) { in getTotalBitrate()
820 *bitrate = size * 8000000LL / mDurationUs; // in bits/sec in getTotalBitrate()
DFrameDecoder.cpp249 meta->mDurationUs = 1000000LL / frameRate; in getMetadataOnly()
251 meta->mDurationUs = kDefaultSampleDurationUs; in getMetadataOnly()
679 mFrame->mDurationUs = durationUs; in onOutputReceived()
/frameworks/av/media/libheif/include/
DHeifDecoderAPI.h49 int64_t mDurationUs; // Duration of the frame in us member
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp72 mDurationUs(-1LL), in GenericSource()
200 mDurationUs = duration; in initFromDataSource()
259 if (durationUs > mDurationUs) { in initFromDataSource()
260 mDurationUs = durationUs; in initFromDataSource()
937 *durationUs = mDurationUs; in getDuration()
1551 if (mDurationUs > 0 && mCachedSource->getSize(&size) == OK) { in onPollBuffering()
1553 bitrate = size * 8000000LL / mDurationUs; in onPollBuffering()
1584 if (mDurationUs > 0LL) { in onPollBuffering()
1586 int percentage = 100.0 * cachedPosUs / mDurationUs; in onPollBuffering()
DNuPlayerDriver.cpp77 mDurationUs(-1), in NuPlayerDriver()
552 if (mDurationUs < 0) { in getDuration()
556 *msec = (mDurationUs + 500LL) / 1000; in getDuration()
736 mDurationUs = -1; in reset()
894 mDurationUs = durationUs; in notifyDuration()
/frameworks/av/media/libstagefright/include/media/stagefright/
DNuMediaExtractor.h148 int64_t mDurationUs; member
/frameworks/av/media/extractors/mp4/include/
DMPEG4Extractor.h45 uint32_t mDurationUs; member
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerDriver.h131 int64_t mDurationUs; member
DGenericSource.h146 int64_t mDurationUs; member
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp49 info->mDurationUs = videoFrame->mDurationUs; in initFrameInfo()
/frameworks/av/media/libstagefright/httplive/
DLiveSession.h156 int64_t mDurationUs; member
DLiveSession.cpp727 info->mDurationUs = durationUs; in onMessageReceived()
1179 info.mDurationUs = -1LL; in addFetcher()
1472 int64_t fetcherDurationUs = mFetcherInfos.valueAt(i).mDurationUs; in getDuration()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp3729 se.mDurationUs = 1000000LL * d2 / timeScale; in parseSegmentIndex()
6636 if (totalTime + se->mDurationUs > seekTimeUs) { in fragmentedRead()
6640 (seekTimeUs - totalTime) > (totalTime + se->mDurationUs - seekTimeUs))) { in fragmentedRead()
6643 totalTime += se->mDurationUs; in fragmentedRead()
6648 totalTime += se->mDurationUs; in fragmentedRead()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt30555 Landroid/media/SubtitleData;->mDurationUs:J