From fecbdf60a98d2cbadfc26b406b7076ae74424066 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sun, 8 Aug 2010 00:42:59 +0000 Subject: VIDEO/GOB: Implement IMD frame rendering svn-id: r51867 --- graphics/video/coktel_decoder.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'graphics/video/coktel_decoder.h') diff --git a/graphics/video/coktel_decoder.h b/graphics/video/coktel_decoder.h index 1736132cf4..0464b8e31b 100644 --- a/graphics/video/coktel_decoder.h +++ b/graphics/video/coktel_decoder.h @@ -84,6 +84,8 @@ public: /** Return a list of rectangles that changed in the last frame. */ const Common::List &getDirtyRects() const; + bool hasPalette() const; + bool hasSound() const; bool isSoundEnabled() const; bool isSoundPlaying() const; @@ -159,8 +161,17 @@ protected: void createSurface(); void freeSurface(); + void deLZ77(byte *dest, byte *src); + + void renderBlockWhole (const byte *src); + void renderBlockWhole4X (const byte *src); + void renderBlockWhole2Y (const byte *src); + void renderBlockSparse (const byte *src); + void renderBlockSparse2Y(const byte *src); + inline void unsignedToSigned(byte *buffer, int length); +public: // FixedRateVideoDecoder interface Common::Rational getFrameRate() const; }; @@ -202,6 +213,8 @@ public: bool seek(int32 frame, int whence = SEEK_SET, bool restart = false); + void setXY(uint16 x, uint16 y); + // VideoDecoder interface bool load(Common::SeekableReadStream &stream); -- cgit v1.2.3