aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/coktel_decoder.h
diff options
context:
space:
mode:
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);