An implementation of Ogg pages.
Definition: oggpage.h:54
int pageSequenceNumber() const
ByteVector render() const
ByteVectorList packets() const
static List< Page * > paginate(const ByteVectorList &packets, PaginationStrategy strategy, unsigned int streamSerialNumber, int firstPage, bool firstPacketContinued=false, bool lastPacketCompleted=true, bool containsLastPacket=false)
Page(const Page &)=delete
PaginationStrategy
Definition: oggpage.h:159
@ SinglePagePerGroup
Definition: oggpage.h:166
Page & operator=(const Page &)=delete
void setPageSequenceNumber(int sequenceNumber)
ContainsPacketFlags
Definition: oggpage.h:113
void setFirstPacketIndex(int index)
Page(File *file, offset_t pageOffset)
ContainsPacketFlags containsPacket(int index) const
const PageHeader * header() const
offset_t fileOffset() const
int firstPacketIndex() const
Page(const ByteVectorList &packets, unsigned int streamSerialNumber, int pageNumber, bool firstPacketContinued=false, bool lastPacketCompleted=true, bool containsLastPacket=false)
unsigned int packetCount() const