aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/coktel_decoder.h
diff options
context:
space:
mode:
authorSven Hesse2010-08-08 00:42:59 +0000
committerSven Hesse2010-08-08 00:42:59 +0000
commitfecbdf60a98d2cbadfc26b406b7076ae74424066 (patch)
treee081286c38ab1b7b8b512fad139dccf8d14c50c7 /graphics/video/coktel_decoder.h
parent6172fe8ea7cf8046e5048e56a512ad0f847ac324 (diff)
downloadscummvm-rg350-fecbdf60a98d2cbadfc26b406b7076ae74424066.tar.gz
scummvm-rg350-fecbdf60a98d2cbadfc26b406b7076ae74424066.tar.bz2
scummvm-rg350-fecbdf60a98d2cbadfc26b406b7076ae74424066.zip
VIDEO/GOB: Implement IMD frame rendering
svn-id: r51867
Diffstat (limited to 'graphics/video/coktel_decoder.h')
-rw-r--r--graphics/video/coktel_decoder.h13
1 files changed, 13 insertions, 0 deletions
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<Common::Rect> &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);