22 #ifndef IMAGE_CODECS_SVQ1_H 23 #define IMAGE_CODECS_SVQ1_H 25 #include "common/scummsys.h" 29 #include "common/bitstream.h" 30 #include "image/codecs/codec.h" 33 template <
class BITSTREAM>
45 class SVQ1Decoder :
public Codec {
47 SVQ1Decoder(uint16 width, uint16 height);
48 ~SVQ1Decoder()
override;
55 _pixelFormat = format;
62 uint16 _width, _height;
63 uint16 _frameWidth, _frameHeight;
69 HuffmanDecoder *_blockType;
70 HuffmanDecoder *_intraMultistage[6];
71 HuffmanDecoder *_interMultistage[6];
72 HuffmanDecoder *_intraMean;
73 HuffmanDecoder *_interMean;
74 HuffmanDecoder *_motionComponent;
79 void svq1SkipBlock(byte *current, byte *previous,
int pitch,
int x,
int y);
87 void putPixels8C(byte *block,
const byte *pixels,
int lineSize,
int h);
88 void putPixels8L2(byte *dst,
const byte *src1,
const byte *src2,
int dstStride,
int srcStride1,
int srcStride2,
int h);
89 void putPixels8X2C(byte *block,
const byte *pixels,
int lineSize,
int h);
90 void putPixels8Y2C(byte *block,
const byte *pixels,
int lineSize,
int h);
91 void putPixels8XY2C(byte *block,
const byte *pixels,
int lineSize,
int h);
92 void putPixels16C(byte *block,
const byte *pixels,
int lineSize,
int h);
93 void putPixels16X2C(byte *block,
const byte *pixels,
int lineSize,
int h);
94 void putPixels16Y2C(byte *block,
const byte *pixels,
int lineSize,
int h);
95 void putPixels16XY2C(byte *block,
const byte *pixels,
int lineSize,
int h);
Definition: display_client.h:58
Definition: bitstream.h:55
Definition: algorithm.h:29
Definition: movie_decoder.h:32