22 #ifndef VIDEO_DXA_DECODER_H 23 #define VIDEO_DXA_DECODER_H 25 #include "common/rational.h" 26 #include "graphics/pixelformat.h" 27 #include "video/video_decoder.h" 30 class SeekableReadStream;
62 bool isRewindable()
const {
return true; }
65 uint16 getWidth()
const {
return _width; }
66 uint16 getHeight()
const {
return _height; }
68 int getCurFrame()
const {
return _curFrame; }
69 int getFrameCount()
const {
return _frameCount; }
71 const byte *getPalette()
const { _dirtyPalette =
false;
return _palette; }
72 bool hasDirtyPalette()
const {
return _dirtyPalette; }
74 void setFrameStartPos();
80 void decodeZlib(byte *data,
int size,
int totalSize);
81 void decode12(
int size);
82 void decode13(
int size);
99 uint32 _decompBufferSize;
102 ScaleMode _scaleMode;
103 uint16 _width, _height;
106 byte _palette[256 * 3];
107 mutable bool _dirtyPalette;
109 uint32 _frameStartOffset;
Definition: dxa_decoder.h:43
Definition: video_decoder.h:686
Definition: rational.h:40
Definition: video_decoder.h:53
Definition: algorithm.h:29
Definition: avi_frames.h:36