30 #ifndef COMMON_QUICKTIME_H 31 #define COMMON_QUICKTIME_H 33 #include "common/array.h" 34 #include "common/scummsys.h" 35 #include "common/path.h" 36 #include "common/stream.h" 37 #include "common/rational.h" 38 #include "common/types.h" 93 bool isOpen()
const {
return _fd !=
nullptr; }
111 uint32 trackDuration;
124 uint32 getCodecTag()
const {
return _codecTag; }
135 CODEC_TYPE_MOV_OTHER,
146 uint32 *chunkOffsets;
147 int timeToSampleCount;
149 uint32 sampleToChunkCount;
154 uint32 keyframeCount;
168 uint32 mediaDuration;
173 virtual SampleDesc *readSampleDesc(
Track *track, uint32 format, uint32 descSize) = 0;
195 DisposeAfterUse::Flag _disposeFileHandle;
196 const ParseTable *_parseTable;
201 void initParseTable();
203 int readDefault(Atom atom);
204 int readLeaf(Atom atom);
205 int readELST(Atom atom);
206 int readHDLR(Atom atom);
207 int readMDHD(Atom atom);
208 int readMOOV(Atom atom);
209 int readMVHD(Atom atom);
210 int readTKHD(Atom atom);
211 int readTRAK(Atom atom);
212 int readSTCO(Atom atom);
213 int readSTSC(Atom atom);
214 int readSTSD(Atom atom);
215 int readSTSS(Atom atom);
216 int readSTSZ(Atom atom);
217 int readSTTS(Atom atom);
218 int readCMOV(Atom atom);
219 int readWAVE(Atom atom);
220 int readESDS(Atom atom);
221 int readSMI(Atom atom);
Definition: macresman.h:59
Definition: quicktime.h:99
Definition: quicktime.h:119
Definition: quicktime.h:110
Definition: rational.h:40
Definition: quicktime.h:57
Definition: quicktime.h:141
uint32 getTimeScale() const
Definition: quicktime.h:90
bool parseStream(SeekableReadStream *stream, DisposeAfterUse::Flag disposeFileHandle=DisposeAfterUse::YES)
Definition: achievements.h:31
Definition: quicktime.h:104
bool parseFile(const Path &filename)
void setChunkBeginOffset(uint32 offset)
Definition: quicktime.h:85
bool isOpen() const
Definition: quicktime.h:93