22 #ifndef IMAGE_CODECS_SVQ1_H 23 #define IMAGE_CODECS_SVQ1_H 25 #include "common/scummsys.h" 27 #include "common/bitstream.h" 28 #include "image/codecs/codec.h" 31 template <
class BITSTREAM>
53 _pixelFormat = format;
60 uint16 _width, _height;
61 uint16 _frameWidth, _frameHeight;
67 HuffmanDecoder *_blockType;
68 HuffmanDecoder *_intraMultistage[6];
69 HuffmanDecoder *_interMultistage[6];
70 HuffmanDecoder *_intraMean;
71 HuffmanDecoder *_interMean;
72 HuffmanDecoder *_motionComponent;
77 void svq1SkipBlock(byte *current, byte *previous,
int pitch,
int x,
int y);
85 void putPixels8C(byte *block,
const byte *pixels,
int lineSize,
int h);
86 void putPixels8L2(byte *dst,
const byte *src1,
const byte *src2,
int dstStride,
int srcStride1,
int srcStride2,
int h);
87 void putPixels8X2C(byte *block,
const byte *pixels,
int lineSize,
int h);
88 void putPixels8Y2C(byte *block,
const byte *pixels,
int lineSize,
int h);
89 void putPixels8XY2C(byte *block,
const byte *pixels,
int lineSize,
int h);
90 void putPixels16C(byte *block,
const byte *pixels,
int lineSize,
int h);
91 void putPixels16X2C(byte *block,
const byte *pixels,
int lineSize,
int h);
92 void putPixels16Y2C(byte *block,
const byte *pixels,
int lineSize,
int h);
93 void putPixels16XY2C(byte *block,
const byte *pixels,
int lineSize,
int h);
Definition: display_client.h:58
bool setOutputPixelFormat(const Graphics::PixelFormat &format) override
Definition: svq1.h:50
Graphics::PixelFormat getPixelFormat() const override
Definition: svq1.h:49
Definition: bitstream.h:55
Definition: algorithm.h:29
Definition: movie_decoder.h:32