aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/flic_player.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/video/flic_player.h')
-rw-r--r--graphics/video/flic_player.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/video/flic_player.h b/graphics/video/flic_player.h
index c453bf91c5..73d086cbec 100644
--- a/graphics/video/flic_player.h
+++ b/graphics/video/flic_player.h
@@ -113,7 +113,18 @@ public:
void redraw();
void reset();
+ /**
+ * Copy current frame into the specified position of the destination
+ * buffer.
+ * @param dst the buffer
+ * @param x the x position of the buffer
+ * @param y the y position of the buffer
+ * @param pitch the pitch of buffer
+ */
+ void copyFrameToBuffer(byte *dst, uint x, uint y, uint pitch);
+
protected:
+
ChunkHeader readChunkHeader();
FrameTypeChunkHeader readFrameTypeChunkHeader(ChunkHeader chunkHead);
void decodeByteRun(uint8 *data);