Home
last modified time | relevance | path

Searched refs:discontinuitySeq (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp1594 int32_t PlaylistFetcher::getSeqNumberForDiscontinuity(size_t discontinuitySeq) const { in getSeqNumberForDiscontinuity()
1604 if (curDiscontinuitySeq == discontinuitySeq) { in getSeqNumberForDiscontinuity()
1606 } else if (curDiscontinuitySeq > discontinuitySeq) { in getSeqNumberForDiscontinuity()
1865 int32_t discontinuitySeq; in extractAndQueueAccessUnitsFromTs() local
1867 if (!mStopParams->findInt32("discontinuitySeq", &discontinuitySeq) in extractAndQueueAccessUnitsFromTs()
1868 || discontinuitySeq > mDiscontinuitySeq in extractAndQueueAccessUnitsFromTs()
1870 || (discontinuitySeq == mDiscontinuitySeq in extractAndQueueAccessUnitsFromTs()
2159 int32_t discontinuitySeq; in extractAndQueueAccessUnits() local
2161 if (!mStopParams->findInt32("discontinuitySeq", &discontinuitySeq) in extractAndQueueAccessUnits()
2162 || discontinuitySeq > mDiscontinuitySeq in extractAndQueueAccessUnits()
[all …]
DLiveSession.cpp321 int64_t firstTimeUs, int64_t timeUs, int32_t discontinuitySeq) { in calculateMediaTimeUs() argument
328 if (mDiscontinuityOffsetTimesUs.indexOfKey(discontinuitySeq) >= 0) { in calculateMediaTimeUs()
329 timeUs += mDiscontinuityOffsetTimesUs.valueFor(discontinuitySeq); in calculateMediaTimeUs()
384 int32_t discontinuitySeq = 0; in dequeueAccessUnit() local
388 (*accessUnit)->meta()->findInt32("discontinuitySeq", &discontinuitySeq); in dequeueAccessUnit()
389 if (discontinuitySeq > (int32_t) strm.mCurDiscontinuitySeq) { in dequeueAccessUnit()
407 mDiscontinuityOffsetTimesUs.add(discontinuitySeq, offsetTimeUs); in dequeueAccessUnit()
408 strm.mCurDiscontinuitySeq = discontinuitySeq; in dequeueAccessUnit()
430 timeUs = calculateMediaTimeUs(firstTimeUs, timeUs, discontinuitySeq); in dequeueAccessUnit()
DPlaylistFetcher.h254 int32_t getSeqNumberForDiscontinuity(size_t discontinuitySeq) const;
DLiveSession.h78 int64_t calculateMediaTimeUs(int64_t firstTimeUs, int64_t timeUs, int32_t discontinuitySeq);