Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/
DDefaultOggSeeker.java43 private final OggPageHeader pageHeader; field in DefaultOggSeeker
87 pageHeader = new OggPageHeader(); in DefaultOggSeeker()
165 pageHeader.populate(input, /* quiet= */ false); in getNextSeekPosition()
168 long granuleDistance = targetGranule - pageHeader.granulePosition; in getNextSeekPosition()
169 int pageSize = pageHeader.headerSize + pageHeader.bodySize; in getNextSeekPosition()
176 endGranule = pageHeader.granulePosition; in getNextSeekPosition()
179 startGranule = pageHeader.granulePosition; in getNextSeekPosition()
203 pageHeader.populate(input, /* quiet= */ false); in skipToPageOfTargetGranule()
204 while (pageHeader.granulePosition <= targetGranule) { in skipToPageOfTargetGranule()
205 input.skipFully(pageHeader.headerSize + pageHeader.bodySize); in skipToPageOfTargetGranule()
[all …]
DOggPacket.java30 private final OggPageHeader pageHeader = new OggPageHeader(); field in OggPacket
42 pageHeader.reset(); in reset()
70 if (!pageHeader.populate(input, true)) { in populate()
74 int bytesToSkip = pageHeader.headerSize; in populate()
75 if ((pageHeader.type & 0x01) == 0x01 && packetArray.limit() == 0) { in populate()
93 populated = pageHeader.laces[segmentIndex - 1] != 255; in populate()
96 currentSegmentIndex = segmentIndex == pageHeader.pageSegmentCount ? C.INDEX_UNSET in populate()
113 return pageHeader; in getPageHeader()
143 while (startSegmentIndex + segmentCount < pageHeader.pageSegmentCount) { in calculatePacketSize()
144 int segmentLength = pageHeader.laces[startSegmentIndex + segmentCount++]; in calculatePacketSize()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ogg/
DDefaultOggSeekerTest.java77 OggPageHeader pageHeader = new OggPageHeader(); in seeking() local
112 pageHeader.populate(input, false); in seeking()
113 assertThat(granule).isEqualTo(pageHeader.granulePosition); in seeking()
117 pageHeader.populate(input, false); in seeking()
120 assertThat(targetGranule).isLessThan(pageHeader.granulePosition); in seeking()
/external/llvm-project/libunwind/src/
DUnwindCursor.hpp1628 UnwindSectionRegularPageHeader<A> pageHeader(_addressSpace, in getInfoFromCompactEncodingSection() local
1631 _addressSpace, secondLevelAddr + pageHeader.entryPageOffset()); in getInfoFromCompactEncodingSection()
1639 high = pageHeader.entryCount(); in getInfoFromCompactEncodingSection()
1643 if (mid == (uint32_t)(pageHeader.entryCount() - 1)) { in getInfoFromCompactEncodingSection()
1680 UnwindSectionCompressedPageHeader<A> pageHeader(_addressSpace, in getInfoFromCompactEncodingSection() local
1683 _addressSpace, secondLevelAddr + pageHeader.entryPageOffset()); in getInfoFromCompactEncodingSection()
1693 last = pageHeader.entryCount() - 1; in getInfoFromCompactEncodingSection()
1694 high = pageHeader.entryCount(); in getInfoFromCompactEncodingSection()
1741 pageHeader.encodingsPageOffset() + in getInfoFromCompactEncodingSection()