22 #ifndef VIDEO_DXA_DECODER_H 23 #define VIDEO_DXA_DECODER_H 25 #include "common/rational.h" 26 #include "graphics/palette.h" 27 #include "graphics/pixelformat.h" 28 #include "video/video_decoder.h" 31 class SeekableReadStream;
63 bool isRewindable()
const {
return true; }
66 uint16 getWidth()
const {
return _width; }
67 uint16 getHeight()
const {
return _height; }
69 int getCurFrame()
const {
return _curFrame; }
70 int getFrameCount()
const {
return _frameCount; }
72 const byte *getPalette()
const { _dirtyPalette =
false;
return _palette.data(); }
73 bool hasDirtyPalette()
const {
return _dirtyPalette; }
75 void setFrameStartPos();
81 void decodeZlib(byte *data,
int size,
int totalSize);
82 void decode12(
int size);
83 void decode13(
int size);
100 uint32 _decompBufferSize;
103 ScaleMode _scaleMode;
104 uint16 _width, _height;
108 mutable bool _dirtyPalette;
110 uint32 _frameStartOffset;
Definition: dxa_decoder.h:44
Definition: video_decoder.h:698
Definition: rational.h:40
Definition: video_decoder.h:53
Definition: algorithm.h:29
Simple class for handling a palette data.
Definition: palette.h:51
Definition: avi_frames.h:36