Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp1609 int32_t PlaylistFetcher::getSeqNumberForDiscontinuity(size_t discontinuitySeq) const { in getSeqNumberForDiscontinuity()
1619 if (curDiscontinuitySeq == discontinuitySeq) { in getSeqNumberForDiscontinuity()
1621 } else if (curDiscontinuitySeq > discontinuitySeq) { in getSeqNumberForDiscontinuity()
1880 int32_t discontinuitySeq; in extractAndQueueAccessUnitsFromTs() local
1882 if (!mStopParams->findInt32("discontinuitySeq", &discontinuitySeq) in extractAndQueueAccessUnitsFromTs()
1883 || discontinuitySeq > mDiscontinuitySeq in extractAndQueueAccessUnitsFromTs()
1885 || (discontinuitySeq == mDiscontinuitySeq in extractAndQueueAccessUnitsFromTs()
2175 int32_t discontinuitySeq; in extractAndQueueAccessUnits() local
2177 if (!mStopParams->findInt32("discontinuitySeq", &discontinuitySeq) in extractAndQueueAccessUnits()
2178 || discontinuitySeq > mDiscontinuitySeq in extractAndQueueAccessUnits()
[all …]
DLiveSession.cpp325 int64_t firstTimeUs, int64_t timeUs, int32_t discontinuitySeq) { in calculateMediaTimeUs() argument
332 if (mDiscontinuityOffsetTimesUs.indexOfKey(discontinuitySeq) >= 0) { in calculateMediaTimeUs()
333 timeUs += mDiscontinuityOffsetTimesUs.valueFor(discontinuitySeq); in calculateMediaTimeUs()
388 int32_t discontinuitySeq = 0; in dequeueAccessUnit() local
392 (*accessUnit)->meta()->findInt32("discontinuitySeq", &discontinuitySeq); in dequeueAccessUnit()
393 if (discontinuitySeq > (int32_t) strm.mCurDiscontinuitySeq) { in dequeueAccessUnit()
411 mDiscontinuityOffsetTimesUs.add(discontinuitySeq, offsetTimeUs); in dequeueAccessUnit()
412 strm.mCurDiscontinuitySeq = discontinuitySeq; in dequeueAccessUnit()
434 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);