#include <OggBinarySeeker.h>
Inheritance diagram for OggBinarySeeker:
Public Types | |
typedef pair< LOOG_INT64, unsigned long > | tSeekPair |
typedef map< LOOG_INT64, unsigned long > | tSeekMap |
Public Member Functions | |
OggBinarySeeker (void) | |
virtual | ~OggBinarySeeker (void) |
tSeekPair | getStartPos (LOOG_INT64 inTime) |
Given a requested seek time in DirectShow units, returns the closest time and byte to the seek time. | |
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. | |
bool | enabled () |
Returns whether this table is enabled or disabled. | |
Protected Attributes | |
tSeekMap | mSeekMap |
tSeekMap::value_type | mSeekValue |
LOOG_INT64 | mRealStartPos |
bool | mEnabled |
|
Definition at line 49 of file OggSeekTable.h. Referenced by OggSeekTable::getSeekMap(), and main(). |
|
Definition at line 48 of file OggSeekTable.h. Referenced by OggSeekTable::getStartPos(), getStartPos(), main(), and OggDemuxSourceFilter::SetPositions(). |
|
Definition at line 4 of file OggBinarySeeker.cpp. |
|
Definition at line 8 of file OggBinarySeeker.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 OggSeekTable::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 OggSeekTable::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 from OggSeekTable. Definition at line 12 of file OggBinarySeeker.cpp. References OggSeekTable::tSeekPair. |
|
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 OggSeekTable::addSeekPoint(), OggSeekTable::getStartPos(), and OggSeekTable::OggSeekTable(). |
|
Definition at line 65 of file OggSeekTable.h. |