#include <OggDataBuffer.h>
Collaboration diagram for OggDataBuffer:
|
Definition at line 62 of file OggDataBuffer.h. Referenced by dispatch(), and processDataSegment(). |
|
Definition at line 56 of file OggDataBuffer.h. Referenced by feed(). |
|
Definition at line 68 of file OggDataBuffer.h. Referenced by processBaseHeader(), processBuffer(), processDataSegment(), and processSegTable(). |
|
Definition at line 48 of file OggDataBuffer.h. Referenced by state(). |
|
Definition at line 38 of file OggDataBuffer.cpp. References MAX_OGG_PAGE_SIZE, and mBuffer. |
|
Definition at line 63 of file OggDataBuffer.cpp. |
|
|
|
Definition at line 394 of file OggDataBuffer.cpp. References mBuffer, mNumBytesNeeded, mPrevGranPos, mState, and IFIFOBuffer::reset(). Referenced by OggDemuxSourceFilter::resetStream(), and OggDemuxSourceFilter::SetUpPins(). |
Here is the call graph for this function:
|
Definition at line 486 of file OggDataBuffer.cpp. |
|
Definition at line 128 of file OggDataBuffer.cpp. References IOggCallback::acceptOggPage(), eDispatchResult, mStaticCallback, mStaticCallbackUserData, mVirtualCallback, and pendingPage. Referenced by processDataSegment(). |
Here is the call graph for this function:
|
Puts in data into this buffer, which triggers the callback registered with registerStaticCallback() or registerVirtualCallback().
Definition at line 155 of file OggDataBuffer.cpp. References eFeedResult, mBuffer, processBuffer(), and IFIFOBuffer::write(). Referenced by AutoOggSeekTable::buildTable(), OggDemuxSourceFilter::DataProcessLoop(), FileComments::loadFile(), main(), AnnodexRecomposer::recomposeStreamFrom(), and OggDemuxSourceFilter::SetUpPins(). |
Here is the call graph for this function:
|
Returns the number of bytes available for processing in the buffer.
Definition at line 115 of file OggDataBuffer.cpp. References mBuffer, and IFIFOBuffer::numBytesAvail(). Referenced by processBuffer(). |
Here is the call graph for this function:
|
|
|
Definition at line 190 of file OggDataBuffer.cpp. References eProcessResult, OggPage::header(), mBuffer, mNumBytesNeeded, mState, OggPageHeader::NumPageSegments(), pendingPage, IFIFOBuffer::read(), and OggPageHeader::setBaseHeader(). Referenced by processBuffer(). |
Here is the call graph for this function:
|
Definition at line 406 of file OggDataBuffer.cpp. References AWAITING_BASE_HEADER, AWAITING_DATA, AWAITING_SEG_TABLE, OggPageHeader::dataSize(), eProcessResult, OggPage::header(), LOST_PAGE_SYNC, mState, numBytesAvail(), OggPageHeader::NumPageSegments(), pendingPage, processBaseHeader(), processDataSegment(), and processSegTable(). Referenced by feed(). |
Here is the call graph for this function:
|
Definition at line 284 of file OggDataBuffer.cpp. References OggPage::addPacket(), dispatch(), eDispatchResult, eProcessResult, OggPageHeader::GranulePos(), OggPage::header(), OggPageHeader::HeaderFlags(), LOOG_INT64, mBuffer, mNumBytesNeeded, mPrevGranPos, mState, OggPageHeader::NumPageSegments(), pendingPage, IFIFOBuffer::read(), and OggPageHeader::SegmentTable(). Referenced by processBuffer(). |
Here is the call graph for this function:
|
Definition at line 233 of file OggDataBuffer.cpp. References OggPageHeader::calculateDataSize(), eProcessResult, OggPage::header(), mBuffer, mNumBytesNeeded, mState, OggPageHeader::NumPageSegments(), pendingPage, IFIFOBuffer::read(), and OggPageHeader::setSegmentTable(). Referenced by processBuffer(). |
Here is the call graph for this function:
|
Register as a callback, which gets called when data is received via our feed() method. The inUserData parameter is a pointer of any type. This pointer is passed to the callback when it is called, enabling the user to save any custom information in its callback. Note that your callback function is responsible for deleting the OggPage passed to it (and NULL the OggPage pointer after deletion): see IOggCallback::acceptOggPage() for more information. Definition at line 80 of file OggDataBuffer.cpp. References fPageCallback, mStaticCallback, mStaticCallbackUserData, and mVirtualCallback. Referenced by main(). |
|
Register an IOggCallback object, which gets called when data is received via our feed() method. Note that your callback function is responsible for deleting the OggPage passed to it (and NULL the OggPage pointer after deletion): see the IOggCallback class for more information. Definition at line 105 of file OggDataBuffer.cpp. References mStaticCallback, and mVirtualCallback. Referenced by AutoOggSeekTable::AutoOggSeekTable(), FileComments::loadFile(), main(), AnnodexRecomposer::recomposeStreamFrom(), and OggDemuxSourceFilter::SetUpPins(). |
|
Returns the current demux state.
Definition at line 123 of file OggDataBuffer.cpp. References eState. |
|
Initial value: OggPageHeader::OGG_BASE_HEADER_SIZE + (OggPageHeader::MAX_NUM_SEGMENTS * OggPageHeader::MAX_SEGMENT_SIZE) + (OggPageHeader::SEGMENT_WIDTH * OggPageHeader::MAX_NUM_SEGMENTS) Definition at line 79 of file OggDataBuffer.h. Referenced by OggDataBuffer(). |
|
Definition at line 110 of file OggDataBuffer.h. Referenced by clearData(), feed(), numBytesAvail(), OggDataBuffer(), processBaseHeader(), processDataSegment(), and processSegTable(). |
|
Definition at line 113 of file OggDataBuffer.h. Referenced by clearData(), processBaseHeader(), processDataSegment(), and processSegTable(). |
|
Definition at line 116 of file OggDataBuffer.h. Referenced by clearData(), and processDataSegment(). |
|
Definition at line 114 of file OggDataBuffer.h. Referenced by clearData(), processBaseHeader(), processBuffer(), processDataSegment(), and processSegTable(). |
|
Definition at line 120 of file OggDataBuffer.h. Referenced by dispatch(), registerStaticCallback(), and registerVirtualCallback(). |
|
Definition at line 121 of file OggDataBuffer.h. Referenced by dispatch(), and registerStaticCallback(). |
|
Definition at line 119 of file OggDataBuffer.h. Referenced by dispatch(), registerStaticCallback(), and registerVirtualCallback(). |
|
Definition at line 115 of file OggDataBuffer.h. Referenced by dispatch(), processBaseHeader(), processBuffer(), processDataSegment(), and processSegTable(). |