Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp1622 int32_t PlaylistFetcher::getSeqNumberForDiscontinuity(size_t discontinuitySeq) const { in getSeqNumberForDiscontinuity()
1632 if (curDiscontinuitySeq == discontinuitySeq) { in getSeqNumberForDiscontinuity()
1634 } else if (curDiscontinuitySeq > discontinuitySeq) { in getSeqNumberForDiscontinuity()
1893 int32_t discontinuitySeq; in extractAndQueueAccessUnitsFromTs() local
1895 if (!mStopParams->findInt32("discontinuitySeq", &discontinuitySeq) in extractAndQueueAccessUnitsFromTs()
1896 || discontinuitySeq > mDiscontinuitySeq in extractAndQueueAccessUnitsFromTs()
1898 || (discontinuitySeq == mDiscontinuitySeq in extractAndQueueAccessUnitsFromTs()
2191 int32_t discontinuitySeq; in extractAndQueueAccessUnits() local
2193 if (!mStopParams->findInt32("discontinuitySeq", &discontinuitySeq) in extractAndQueueAccessUnits()
2194 || discontinuitySeq > mDiscontinuitySeq in extractAndQueueAccessUnits()
[all …]
DLiveSession.cpp326 int64_t firstTimeUs, int64_t timeUs, int32_t discontinuitySeq) { in calculateMediaTimeUs() argument
333 if (mDiscontinuityOffsetTimesUs.indexOfKey(discontinuitySeq) >= 0) { in calculateMediaTimeUs()
334 timeUs += mDiscontinuityOffsetTimesUs.valueFor(discontinuitySeq); in calculateMediaTimeUs()
389 int32_t discontinuitySeq = 0; in dequeueAccessUnit() local
393 (*accessUnit)->meta()->findInt32("discontinuitySeq", &discontinuitySeq); in dequeueAccessUnit()
394 if (discontinuitySeq > (int32_t) strm.mCurDiscontinuitySeq) { in dequeueAccessUnit()
412 mDiscontinuityOffsetTimesUs.add(discontinuitySeq, offsetTimeUs); in dequeueAccessUnit()
413 strm.mCurDiscontinuitySeq = discontinuitySeq; in dequeueAccessUnit()
435 timeUs = calculateMediaTimeUs(firstTimeUs, timeUs, discontinuitySeq); in dequeueAccessUnit()
DPlaylistFetcher.h255 int32_t getSeqNumberForDiscontinuity(size_t discontinuitySeq) const;
DLiveSession.h78 int64_t calculateMediaTimeUs(int64_t firstTimeUs, int64_t timeUs, int32_t discontinuitySeq);