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

/frameworks/base/media/java/android/media/
H A DSubtitleData.java48 private long mDurationUs; field in class:SubtitleData
66 return mDurationUs;
81 mDurationUs = parcel.readLong();
/frameworks/av/media/libstagefright/include/
H A DVBRISeeker.h38 int64_t mDurationUs; member in struct:android::VBRISeeker
H A DXINGSeeker.h39 int64_t mDurationUs; member in struct:android::XINGSeeker
H A DMPEG4Extractor.h39 uint32_t mDurationUs; member in struct:android::SidxEntry
/frameworks/av/media/libstagefright/
H A DVBRISeeker.cpp99 // only update mDurationUs if the calculated duration is valid (non zero)
104 seeker->mDurationUs = durationUs;
138 : mDurationUs(-1) {
142 if (mDurationUs < 0) {
146 *durationUs = mDurationUs;
152 if (mDurationUs < 0 || mSegments.size() == 0) {
156 int64_t segmentDurationUs = mDurationUs / mSegments.size();
H A DXINGSeeker.cpp29 : mDurationUs(-1),
37 if (mDurationUs < 0) {
41 *durationUs = mDurationUs;
47 if (mSizeBytes == 0 || !mTOCValid || mDurationUs < 0) {
51 float percent = (float)(*timeUs) * 100 / mDurationUs;
140 // only update mDurationUs if the calculated duration is valid (non zero)
145 seeker->mDurationUs = (int64_t)frames * samples_per_frame * 1000000LL / sampling_rate;
H A DNuMediaExtractor.cpp45 mDurationUs(-1ll) {
199 mDurationUs = -1ll;
221 && durationUs > mDurationUs) {
222 mDurationUs = durationUs;
618 if (mDurationUs >= 0 && mDataSource->getSize(&size) == OK) {
619 *bitrate = size * 8000000ll / mDurationUs; // in bits/sec
H A DMPEG4Extractor.cpp2363 se.mDurationUs = 1000000LL * d2 / timeScale;
4501 if (totalTime + se->mDurationUs > seekTimeUs) {
4505 (seekTimeUs - totalTime) > (totalTime + se->mDurationUs - seekTimeUs))) {
4508 totalTime += se->mDurationUs;
4513 totalTime += se->mDurationUs;
/frameworks/av/include/media/stagefright/
H A DNuMediaExtractor.h115 int64_t mDurationUs; member in struct:android::NuMediaExtractor
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.h159 int64_t mDurationUs; member in struct:android::NuPlayer::GenericSource::BufferingMonitor
205 int64_t mDurationUs; member in struct:android::NuPlayer::GenericSource
H A DNuPlayerDriver.cpp41 mDurationUs(-1),
442 if (mDurationUs < 0) {
446 *msec = (mDurationUs + 500ll) / 1000;
493 mDurationUs = -1;
624 mDurationUs = durationUs;
H A DGenericSource.cpp60 mDurationUs(-1ll),
195 mDurationUs = duration;
271 if (durationUs > mDurationUs) {
272 mDurationUs = durationUs;
479 mBufferingMonitor->prepare(mCachedSource, mWVMExtractor, mDurationUs, mBitrate,
954 *durationUs = mDurationUs;
1510 mDurationUs(-1ll),
1605 mDurationUs = durationUs;
1746 if (mDurationUs > 0 && mCachedSource->getSize(&size) == OK) {
1748 bitrate = size * 8000000ll / mDurationUs;
[all...]
H A DNuPlayerDriver.h111 int64_t mDurationUs; member in struct:android::NuPlayerDriver
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.h154 int64_t mDurationUs; member in struct:android::LiveSession::FetcherInfo
H A DLiveSession.cpp713 info->mDurationUs = durationUs;
1161 info.mDurationUs = -1ll;
1451 int64_t fetcherDurationUs = mFetcherInfos.valueAt(i).mDurationUs;

Completed in 215 milliseconds