#include <OggPage.h>
Inheritance diagram for OggPage:
Public Member Functions | |
OggPage (void) | |
virtual | ~OggPage (void) |
OggPage * | clone () |
Doa deep copy of the page and return one you can keep. | |
unsigned long | pageSize () |
unsigned long | headerSize () |
Returns the size of the header including segment table. | |
unsigned long | dataSize () |
Returns the size of the data part of the page. | |
virtual OggPacket * | getPacket (unsigned long inPacketNo) |
virtual unsigned long | numPackets () |
StampedOggPacket * | getStampedPacket (unsigned long inPacketNo) |
Get the numbers stamped packet from the page. | |
bool | addPacket (StampedOggPacket *inPacket) |
OggPageHeader * | header () |
Returns a pointer to the internal header. | |
unsigned char * | createRawPageData () |
Creates a buffer of size pageSize and returns you a pointer to keep. | |
void | computeAndSetCRCChecksum () |
(Re-)compute the page's checksum and set it | |
Static Public Attributes | |
const unsigned long | HEX_DUMP_LINE_LENGTH = 16 |
Protected Attributes | |
vector< StampedOggPacket * > | mPacketList |
OggPageHeader * | mHeader |
Private Member Functions | |
OggPage & | operator= (const OggPage &other) |
OggPage (const OggPage &other) |
|
Definition at line 108 of file OggPage.cpp. References mHeader. |
|
Definition at line 113 of file OggPage.cpp. References mPacketList. |
|
|
|
Definition at line 172 of file OggPage.cpp. References mPacketList. Referenced by AnxPageInterleaver::addAnnodexEOS(), OggPaginator::addPartOfPacketToPage(), AnxPacketMaker::makeAnnodexBOS_2_0(), FishSkeleton::makeFishBone_3_0_Page(), FishSkeleton::makeFishEOS(), FishSkeleton::makeFishHeadBOS_3_0(), and OggDataBuffer::processDataSegment(). |
|
Doa deep copy of the page and return one you can keep.
Definition at line 144 of file OggPage.cpp. References OggPageHeader::clone(), mHeader, and mPacketList. |
Here is the call graph for this function:
|
(Re-)compute the page's checksum and set it
Definition at line 185 of file OggPage.cpp. References crc_lookup, getPacket(), header(), headerSize(), numPackets(), OggPacket::packetData(), OggPacket::packetSize(), OggPageHeader::rawData(), and OggPageHeader::setCRCChecksum(). Referenced by setPresentationTimeOnAnnodexHeaderPage(). |
Here is the call graph for this function:
|
Creates a buffer of size pageSize and returns you a pointer to keep.
Definition at line 159 of file OggPage.cpp. References OggPageHeader::headerSize(), mHeader, mPacketList, OggPacket::packetData(), OggPacket::packetSize(), OggPageHeader::pageSize(), and OggPageHeader::rawData(). Referenced by AnnodexRecomposer::acceptOggPage(), OggMuxFilter::acceptOggPage(), writePage(), and writePageToOutputFile(). |
Here is the call graph for this function:
|
Returns the size of the data part of the page.
Definition at line 224 of file OggPage.cpp. References OggPageHeader::dataSize(), and mHeader. |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Get the numbers stamped packet from the page.
Definition at line 135 of file OggPage.cpp. References mPacketList, and numPackets(). Referenced by OggPacketiser::acceptOggPage(), CMMLStream::CMMLStream(), FFDShowVideoStream::FFDShowVideoStream(), FLACStream::FLACStream(), OggFLAC_1_0_Stream::OggFLAC_1_0_Stream(), pageCB(), OggPacketiser::processPage(), SpeexStream::SpeexStream(), TheoraStream::TheoraStream(), and VorbisStream::VorbisStream(). |
Here is the call graph for this function:
|
|
Returns the size of the header including segment table.
Definition at line 220 of file OggPage.cpp. References OggPageHeader::headerSize(), and mHeader. Referenced by computeAndSetCRCChecksum(), OggPaginator::deliverCurrentPage(), OggPaginator::setChecksum(), FishSkeleton::setChecksum(), and AnxPacketMaker::setChecksum(). |
Here is the call graph for this function:
|
|
|
|
Here is the call graph for this function:
|
|
|
Definition at line 89 of file OggPage.h. Referenced by clone(), createRawPageData(), dataSize(), headerSize(), OggPage(), and pageSize(). |
|
Definition at line 88 of file OggPage.h. Referenced by addPacket(), clone(), createRawPageData(), getPacket(), getStampedPacket(), numPackets(), and ~OggPage(). |