/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/libstagefright/ |
D | NuMediaExtractor.cpp | 54 mDurationUs(-1LL) { in NuMediaExtractor() 213 mDurationUs = -1LL; in updateDurationAndBitrate() 235 && durationUs > mDurationUs) { in updateDurationAndBitrate() 236 mDurationUs = durationUs; in updateDurationAndBitrate() 771 if (mDurationUs > 0 && mDataSource->getSize(&size) == OK) { in getTotalBitrate() 772 *bitrate = size * 8000000LL / mDurationUs; // in bits/sec in getTotalBitrate()
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2Driver.cpp | 119 mDurationUs(-1), in NuPlayer2Driver() 430 if (mDurationUs < 0) { in getDuration() 434 *msec = (mDurationUs + 500LL) / 1000; in getDuration() 573 mDurationUs = -1; in reset() 691 mDurationUs = durationUs; in notifyDuration()
|
D | GenericSource2.cpp | 61 mDurationUs(-1ll), in GenericSource2() 181 mDurationUs = duration; in initFromDataSource() 244 if (durationUs > mDurationUs) { in initFromDataSource() 245 mDurationUs = durationUs; in initFromDataSource() 827 *durationUs = mDurationUs; in getDuration() 1414 int percentage = 100.0 * cachedPosUs / mDurationUs; in onPollBuffering()
|
D | NuPlayer2Driver.h | 120 int64_t mDurationUs; member
|
D | GenericSource2.h | 144 int64_t mDurationUs; member
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | GenericSource.cpp | 71 mDurationUs(-1LL), in GenericSource() 203 mDurationUs = duration; in initFromDataSource() 262 if (durationUs > mDurationUs) { in initFromDataSource() 263 mDurationUs = durationUs; in initFromDataSource() 947 *durationUs = mDurationUs; in getDuration() 1561 if (mDurationUs > 0 && mCachedSource->getSize(&size) == OK) { in onPollBuffering() 1563 bitrate = size * 8000000LL / mDurationUs; in onPollBuffering() 1594 if (mDurationUs > 0LL) { in onPollBuffering() 1596 int percentage = 100.0 * cachedPosUs / mDurationUs; in onPollBuffering()
|
D | NuPlayerDriver.cpp | 78 mDurationUs(-1), in NuPlayerDriver() 530 if (mDurationUs < 0) { in getDuration() 534 *msec = (mDurationUs + 500LL) / 1000; in getDuration() 691 mDurationUs = -1; in reset() 840 mDurationUs = durationUs; in notifyDuration()
|
D | NuPlayerDriver.h | 129 int64_t mDurationUs; member
|
D | GenericSource.h | 146 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 | 3394 se.mDurationUs = 1000000LL * d2 / timeScale; in parseSegmentIndex() 6006 if (totalTime + se->mDurationUs > seekTimeUs) { in fragmentedRead() 6010 (seekTimeUs - totalTime) > (totalTime + se->mDurationUs - seekTimeUs))) { in fragmentedRead() 6013 totalTime += se->mDurationUs; in fragmentedRead() 6018 totalTime += se->mDurationUs; in fragmentedRead()
|
/frameworks/av/media/libstagefright/httplive/ |
D | LiveSession.h | 156 int64_t mDurationUs; member
|
D | LiveSession.cpp | 726 info->mDurationUs = durationUs; in onMessageReceived() 1178 info.mDurationUs = -1LL; in addFetcher() 1471 int64_t fetcherDurationUs = mFetcherInfos.valueAt(i).mDurationUs; in getDuration()
|
/frameworks/base/media/apex/java/android/media/ |
D | MediaPlayer2.java | 2819 private long mDurationUs; 2825 mDurationUs = durationUs; 2848 return mDurationUs;
|