Classes | |
struct | EditListEntry |
struct | Navigation |
struct | PanoHotSpot |
struct | PanoHotSpotTable |
struct | PanoLink |
struct | PanoLinkTable |
struct | PanoNavigation |
struct | PanoNavigationTable |
struct | PanoramaInformation |
struct | PanoramaNode |
struct | PanoSampleHeader |
struct | PanoStringTable |
struct | PanoTrackSample |
class | SampleDesc |
struct | SampleToChunkEntry |
struct | TimeToSampleEntry |
struct | Track |
Public Member Functions | |
bool | parseFile (const Path &filename) |
bool | parseStream (SeekableReadStream *stream, DisposeAfterUse::Flag disposeFileHandle=DisposeAfterUse::YES) |
void | close () |
void | flattenEditLists () |
void | setChunkBeginOffset (uint32 offset) |
uint32 | getTimeScale () const |
bool | isOpen () const |
Protected Member Functions | |
virtual SampleDesc * | readSampleDesc (Track *track, uint32 format, uint32 descSize)=0 |
void | init () |
Protected Attributes | |
SeekableReadStream * | _fd |
uint32 | _timeScale |
uint32 | _duration |
Rational | _scaleFactorX |
Rational | _scaleFactorY |
Array< Track * > | _tracks |
Navigation | _nav |
QTVRType | _qtvrType |
uint16 | _winX |
uint16 | _winY |
Track * | _panoTrack |
bool Common::QuickTimeParser::parseFile | ( | const Path & | filename | ) |
Load a QuickTime file
filename | the filename to load |
bool Common::QuickTimeParser::parseStream | ( | SeekableReadStream * | stream, |
DisposeAfterUse::Flag | disposeFileHandle = DisposeAfterUse::YES |
||
) |
Load a QuickTime file from a SeekableReadStream
stream | the stream to load |
disposeFileHandle | whether to delete the stream after use |
void Common::QuickTimeParser::close | ( | ) |
Close a QuickTime file
void Common::QuickTimeParser::flattenEditLists | ( | ) |
Flattens edit lists to a single edit containing the first edit contiguously through the last edit. Used to work around bad edit offsets.
|
inline |
Set the beginning offset of the video so we can modify the offsets in the stco atom of videos inside the Mohawk/mTropolis archives
offset | the beginning offset of the video |
|
inline |
Returns the movie time scale
|
inline |
Find out if this parser has an open file handle