22 #ifndef IMAGE_CODECS_MSMPEG4_H 23 #define IMAGE_CODECS_MSMPEG4_H 25 #include "image/codecs/codec.h" 42 bool decodePictureHeader();
43 bool decodeMacroblock(int16 block[6][64]);
44 bool decodeBlock(int16 *block,
int blockIndex,
bool coded);
45 int decodeDc(
int blockIndex,
int *direction);
46 bool decodeMotion(
int *motionX,
int *motionY);
47 void decodeMacroblockPixels(int16 block[6][64]);
50 void resetPredictorsForSlice();
51 void drawEdges(byte *plane,
int pitch,
int width,
int height,
int edge);
52 void convertToSurface();
60 bool _tablesInitialized;
const Graphics::Surface * decodeFrame(Common::SeekableReadStream &stream) override
Graphics::PixelFormat getPixelFormat() const override
Definition: msmpeg4.h:37
Definition: movie_decoder.h:32
bool setOutputPixelFormat(const Graphics::PixelFormat &format) override