22 #ifndef VIDEO_MVEDECODER_H 23 #define VIDEO_MVEDECODER_H 25 #include "audio/audiostream.h" 26 #include "video/video_decoder.h" 27 #include "graphics/surface.h" 28 #include "common/list.h" 29 #include "common/rect.h" 30 #include "common/memstream.h" 33 class SeekableReadStream;
62 uint16 _widthInBlocks;
63 uint16 _heightInBlocks;
80 uint16 _decodingMapSize;
90 void readPacketHeader();
97 void decodeFormat10();
104 bool endOfTrack()
const;
106 uint16 getWidth()
const;
107 uint16 getHeight()
const;
111 int getCurFrame()
const;
115 const byte *getPalette()
const;
116 bool hasDirtyPalette()
const;
130 class MveSkipStream {
134 MveSkipStream(byte *p,
size_t sz)
135 : s(p, sz), queue(0x8000)
144 if (queue == 0x8000) {
148 bool r = (queue & 0x8000) == 0;
159 void setAudioTrack(
int track);
167 void readNextPacket();
uint16 readUint16LE()
Definition: stream.h:459
Definition: video_decoder.h:686
Definition: mve_decoder.h:51
Definition: video_decoder.h:711
Definition: rational.h:40
Definition: video_decoder.h:53
Definition: algorithm.h:29
Definition: formatinfo.h:28
Definition: audiostream.h:50
Definition: memstream.h:43
Definition: audiostream.h:370
bool seek(int64 offs, int whence=SEEK_SET)
Definition: avi_frames.h:36
Definition: paletteman.h:47