/frameworks/base/media/java/android/media/ |
D | SubtitleData.java | 72 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/ |
D | XINGSeeker.cpp | 31 : 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()
|
D | VBRISeeker.cpp | 120 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()
|
D | VBRISeeker.h | 38 int64_t mDurationUs; member
|
D | XINGSeeker.h | 39 int64_t mDurationUs; member
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Extractor.java | 35 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/ |
D | Extractor.h | 32 mDurationUs{0} {} 56 int64_t getClipDuration() { return mDurationUs; } in getClipDuration() 63 int64_t mDurationUs; variable
|
D | Extractor.cpp | 78 bool durationFound = AMediaFormat_getInt64(mFormat, AMEDIAFORMAT_KEY_DURATION, &mDurationUs); in setupTrackFormat() 116 mStats->dumpStatistics(operation, inputReference, mDurationUs, componentName, "", statsFile); in dumpStatistics()
|
/frameworks/av/include/private/media/ |
D | VideoFrame.h | 44 mTileWidth(tileWidth), mTileHeight(tileHeight), mDurationUs(0), in VideoFrame() 81 int64_t mDurationUs; // Frame duration in microseconds variable
|
/frameworks/av/media/libstagefright/ |
D | NuMediaExtractor.cpp | 55 mDurationUs(-1LL) { in NuMediaExtractor() 231 mDurationUs = -1LL; in updateDurationAndBitrate() 253 && durationUs > mDurationUs) { in updateDurationAndBitrate() 254 mDurationUs = durationUs; in updateDurationAndBitrate() 789 if (mDurationUs > 0 && mDataSource->getSize(&size) == OK) { in getTotalBitrate() 790 *bitrate = size * 8000000LL / mDurationUs; // in bits/sec in getTotalBitrate()
|
D | FrameDecoder.cpp | 212 meta->mDurationUs = 1000000LL / frameRate; in getMetadataOnly() 214 meta->mDurationUs = kDefaultSampleDurationUs; in getMetadataOnly() 624 mFrame->mDurationUs = durationUs; in onOutputReceived()
|
/frameworks/av/media/libheif/include/ |
D | HeifDecoderAPI.h | 48 int64_t mDurationUs; // Duration of the frame in us member
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | GenericSource.cpp | 72 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()
|
D | NuPlayerDriver.cpp | 77 mDurationUs(-1), in NuPlayerDriver() 532 if (mDurationUs < 0) { in getDuration() 536 *msec = (mDurationUs + 500LL) / 1000; in getDuration() 716 mDurationUs = -1; in reset() 870 mDurationUs = durationUs; in notifyDuration()
|
D | NuPlayerDriver.h | 129 int64_t mDurationUs; member
|
D | GenericSource.h | 147 int64_t mDurationUs; member
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | NuMediaExtractor.h | 140 int64_t mDurationUs; member
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.h | 45 uint32_t mDurationUs; member
|
D | MPEG4Extractor.cpp | 3567 se.mDurationUs = 1000000LL * d2 / timeScale; in parseSegmentIndex() 6375 if (totalTime + se->mDurationUs > seekTimeUs) { in fragmentedRead() 6379 (seekTimeUs - totalTime) > (totalTime + se->mDurationUs - seekTimeUs))) { in fragmentedRead() 6382 totalTime += se->mDurationUs; in fragmentedRead() 6387 totalTime += se->mDurationUs; in fragmentedRead()
|
/frameworks/av/media/libheif/ |
D | HeifDecoderImpl.cpp | 47 info->mDurationUs = videoFrame->mDurationUs; in initFrameInfo()
|
/frameworks/av/media/libstagefright/httplive/ |
D | LiveSession.h | 156 int64_t mDurationUs; member
|
D | LiveSession.cpp | 727 info->mDurationUs = durationUs; in onMessageReceived() 1179 info.mDurationUs = -1LL; in addFetcher() 1472 int64_t fetcherDurationUs = mFetcherInfos.valueAt(i).mDurationUs; in getDuration()
|