Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DXINGSeeker.cpp29 : mDurationUs(-1), in XINGSeeker()
37 if (mDurationUs < 0) { in getDuration()
41 *durationUs = mDurationUs; in getDuration()
47 if (mSizeBytes == 0 || !mTOCValid || mDurationUs < 0) { in getOffsetForTime()
51 float percent = (float)(*timeUs) * 100 / mDurationUs; in getOffsetForTime()
145 seeker->mDurationUs = (int64_t)frames * samples_per_frame * 1000000LL / sampling_rate; in CreateFromSource()
DVBRISeeker.cpp118 seeker->mDurationUs = durationUs; in CreateFromSource()
152 : mDurationUs(-1) { in VBRISeeker()
156 if (mDurationUs < 0) { in getDuration()
160 *durationUs = mDurationUs; in getDuration()
166 if (mDurationUs < 0 || mSegments.size() == 0) { in getOffsetForTime()
170 int64_t segmentDurationUs = mDurationUs / mSegments.size(); in getOffsetForTime()
DNuMediaExtractor.cpp44 mDurationUs(-1ll) { in NuMediaExtractor()
191 mDurationUs = -1ll; in updateDurationAndBitrate()
213 && durationUs > mDurationUs) { in updateDurationAndBitrate()
214 mDurationUs = durationUs; in updateDurationAndBitrate()
622 if (mDurationUs > 0 && mDataSource->getSize(&size) == OK) { in getTotalBitrate()
623 *bitrate = size * 8000000ll / mDurationUs; // in bits/sec in getTotalBitrate()
DMPEG4Extractor.cpp2606 se.mDurationUs = 1000000LL * d2 / timeScale; in parseSegmentIndex()
4825 if (totalTime + se->mDurationUs > seekTimeUs) { in fragmentedRead()
4829 (seekTimeUs - totalTime) > (totalTime + se->mDurationUs - seekTimeUs))) { in fragmentedRead()
4832 totalTime += se->mDurationUs; in fragmentedRead()
4837 totalTime += se->mDurationUs; in fragmentedRead()
/frameworks/base/media/java/android/media/
DSubtitleData.java48 private long mDurationUs; field in SubtitleData
66 return mDurationUs; in getDurationUs()
81 mDurationUs = parcel.readLong(); in parseParcel()
/frameworks/av/media/libstagefright/include/
DVBRISeeker.h38 int64_t mDurationUs; member
DXINGSeeker.h39 int64_t mDurationUs; member
DNuMediaExtractor.h122 int64_t mDurationUs; member
DMPEG4Extractor.h39 uint32_t mDurationUs; member
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp62 mDurationUs(-1ll), in GenericSource()
168 mDurationUs = duration; in initFromDataSource()
233 if (durationUs > mDurationUs) { in initFromDataSource()
234 mDurationUs = durationUs; in initFromDataSource()
465 mBufferingMonitor->prepare(mCachedSource, mDurationUs, mBitrate, in finishPrepareAsync()
927 *durationUs = mDurationUs; in getDuration()
1528 mDurationUs(-1ll), in BufferingMonitor()
1660 mDurationUs = durationUs; in prepare_l()
1796 if (mDurationUs > 0 && mCachedSource->getSize(&size) == OK) { in onPollBuffering_l()
1798 bitrate = size * 8000000ll / mDurationUs; in onPollBuffering_l()
[all …]
DNuPlayerDriver.cpp64 mDurationUs(-1), in NuPlayerDriver()
506 if (mDurationUs < 0) { in getDuration()
510 *msec = (mDurationUs + 500ll) / 1000; in getDuration()
654 mDurationUs = -1; in reset()
795 mDurationUs = durationUs; in notifyDuration()
DGenericSource.h177 int64_t mDurationUs; member
223 int64_t mDurationUs; member
DNuPlayerDriver.h123 int64_t mDurationUs; member
/frameworks/av/media/libstagefright/httplive/
DLiveSession.h156 int64_t mDurationUs; member
DLiveSession.cpp722 info->mDurationUs = durationUs; in onMessageReceived()
1173 info.mDurationUs = -1ll; in addFetcher()
1466 int64_t fetcherDurationUs = mFetcherInfos.valueAt(i).mDurationUs; in getDuration()