aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/codec.h
diff options
context:
space:
mode:
authorMatthew Hoops2014-02-27 21:27:25 -0500
committerMatthew Hoops2014-02-28 00:32:06 -0500
commit05e9ff136ae059622a0262380be7bc6460d204f0 (patch)
treedc91928bfbb8f00038ea63234fe64402d1efbd5a /image/codecs/codec.h
parent231a02c759169a5c927018699e1533d267ea8372 (diff)
downloadscummvm-rg350-05e9ff136ae059622a0262380be7bc6460d204f0.tar.gz
scummvm-rg350-05e9ff136ae059622a0262380be7bc6460d204f0.tar.bz2
scummvm-rg350-05e9ff136ae059622a0262380be7bc6460d204f0.zip
IMAGE: Share the same pool of codecs between bitmap and AVI
Diffstat (limited to 'image/codecs/codec.h')
-rw-r--r--image/codecs/codec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/image/codecs/codec.h b/image/codecs/codec.h
index 092f9754f3..87d6d6b998 100644
--- a/image/codecs/codec.h
+++ b/image/codecs/codec.h
@@ -84,6 +84,11 @@ public:
virtual bool hasDirtyPalette() const { return false; }
};
+/**
+ * Create a codec given a bitmap/AVI compression tag.
+ */
+Codec *createBitmapCodec(uint32 tag, int width, int height, int bitsPerPixel);
+
} // End of namespace Image
#endif