/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()
|
/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/media/libmediatranscoding/transcoder/ |
D | MediaSampleWriter.cpp | 247 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/ |
D | VideoFrame.h | 44 mTileWidth(tileWidth), mTileHeight(tileHeight), mDurationUs(0), in VideoFrame() 87 int64_t mDurationUs; // Frame duration in microseconds variable
|
/frameworks/av/media/libmediatranscoding/transcoder/include/media/ |
D | MediaSampleWriter.h | 160 : mDurationUs(durationUs), in TrackRecord() 168 int64_t mDurationUs; member
|
/frameworks/av/media/extractors/mp3/include/ |
D | VBRISeeker.h | 38 int64_t mDurationUs; member
|
D | XINGSeeker.h | 39 int64_t mDurationUs; member
|
/frameworks/av/media/libstagefright/ |
D | NuMediaExtractor.cpp | 56 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()
|
D | FrameDecoder.cpp | 249 meta->mDurationUs = 1000000LL / frameRate; in getMetadataOnly() 251 meta->mDurationUs = kDefaultSampleDurationUs; in getMetadataOnly() 679 mFrame->mDurationUs = durationUs; in onOutputReceived()
|
/frameworks/av/media/libheif/include/ |
D | HeifDecoderAPI.h | 49 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() 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/ |
D | NuMediaExtractor.h | 148 int64_t mDurationUs; member
|
/frameworks/av/media/extractors/mp4/include/ |
D | MPEG4Extractor.h | 45 uint32_t mDurationUs; member
|
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/ |
D | NuPlayerDriver.h | 131 int64_t mDurationUs; member
|
D | GenericSource.h | 146 int64_t mDurationUs; member
|
/frameworks/av/media/libheif/ |
D | HeifDecoderImpl.cpp | 49 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()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 3729 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/ |
D | hiddenapi-max-target-o.txt | 30555 Landroid/media/SubtitleData;->mDurationUs:J
|