#include <OggSeekTable.h>
Inheritance diagram for OggSeekTable:
Public Types | |
typedef pair< LOOG_INT64, unsigned long > | tSeekPair |
typedef map< LOOG_INT64, unsigned long > | tSeekMap |
Public Member Functions | |
OggSeekTable (void) | |
virtual | ~OggSeekTable (void) |
tSeekMap | getSeekMap () |
Returns a copy of the seek table. | |
bool | addSeekPoint (LOOG_INT64 inTime, unsigned long inStartPos) |
Add a seek point (which consists of a time in DirectShow units, and a byte offset corresponding to that time) to the seek table. | |
tSeekPair | getStartPos (LOOG_INT64 inTime) |
Given a requested seek time in DirectShow units, returns the closest time and byte to the seek time. | |
bool | enabled () |
Returns whether this table is enabled or disabled. | |
Protected Attributes | |
tSeekMap | mSeekMap |
tSeekMap::value_type | mSeekValue |
LOOG_INT64 | mRealStartPos |
bool | mEnabled |
Private Member Functions | |
OggSeekTable (const OggSeekTable &) | |
OggSeekTable & | operator= (const OggSeekTable &) |
|
Definition at line 49 of file OggSeekTable.h. Referenced by getSeekMap(), and main(). |
|
Definition at line 48 of file OggSeekTable.h. Referenced by getStartPos(), OggBinarySeeker::getStartPos(), main(), and OggDemuxSourceFilter::SetPositions(). |
|
Definition at line 35 of file OggSeekTable.cpp. |
|
Definition at line 44 of file OggSeekTable.cpp. |
|
|
|
Add a seek point (which consists of a time in DirectShow units, and a byte offset corresponding to that time) to the seek table.
Definition at line 52 of file OggSeekTable.cpp. References mSeekMap. Referenced by AutoOggSeekTable::acceptOggPage(), AutoOggSeekTable::buildTable(), AutoOggSeekTable::buildTableFromBuffer(), AutoOggSeekTable::buildTableFromFile(), and main(). |
|
Returns whether this table is enabled or disabled.
Definition at line 49 of file OggSeekTable.cpp. Referenced by OggDemuxSourceFilter::GetAvailable(), OggDemuxSourceFilter::GetCapabilities(), OggDemuxSourceFilter::GetDuration(), OggDemuxSourceFilter::GetStopPosition(), and OggDemuxSourceFilter::SetPositions(). |
|
Returns a copy of the seek table. Note that this method returns a copy of the seek table, not the actual seek table used by the class. So, feel free to corrupt your copy to your heart's leisure. Definition at line 80 of file OggSeekTable.cpp. References tSeekMap. Referenced by main(). |
|
Given a requested seek time in DirectShow units, returns the closest time and byte to the seek time. Returns a tSeekPair whose first element is the actual closest possible time that can be seeked to (which will always be either before or at the requested seek position). The second element is the number of bytes into the stream where the first page of the actual seek time occurs. Reimplemented in OggBinarySeeker. Definition at line 67 of file OggSeekTable.cpp. References mSeekMap, and tSeekPair. Referenced by main(), AnnodexRecomposer::recomposeStreamFrom(), and OggDemuxSourceFilter::SetPositions(). |
|
|
|
Definition at line 69 of file OggSeekTable.h. |
|
Definition at line 66 of file OggSeekTable.h. |
|
Definition at line 64 of file OggSeekTable.h. Referenced by addSeekPoint(), getStartPos(), and OggSeekTable(). |
|
Definition at line 65 of file OggSeekTable.h. |