diff options
author | Colin Snover | 2017-08-20 11:15:42 -0500 |
---|---|---|
committer | Colin Snover | 2017-08-24 20:34:16 -0500 |
commit | 085ec30b49fedb032bd9b09cb5dc1729ffc54c0f (patch) | |
tree | 7104879f9066b85691b5bcece40216f1685ee06a /image/codecs/indeo4.h | |
parent | 9512cf46b739b2ca37c0e101fa440ece5072b722 (diff) | |
download | scummvm-rg350-085ec30b49fedb032bd9b09cb5dc1729ffc54c0f.tar.gz scummvm-rg350-085ec30b49fedb032bd9b09cb5dc1729ffc54c0f.tar.bz2 scummvm-rg350-085ec30b49fedb032bd9b09cb5dc1729ffc54c0f.zip |
IMAGE: Add support for Indeo4 transparency plane
This is used by TITANIC for most of the furniture in the SGT
stateroom and Titania's parts.
Diffstat (limited to 'image/codecs/indeo4.h')
-rw-r--r-- | image/codecs/indeo4.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/image/codecs/indeo4.h b/image/codecs/indeo4.h index 8b7fdab3f9..2f3fa8d816 100644 --- a/image/codecs/indeo4.h +++ b/image/codecs/indeo4.h @@ -91,9 +91,14 @@ protected: virtual int decodeMbInfo(IVIBandDesc *band, IVITile *tile); /** - * Decodes optional transparency data within Indeo frames + * Decodes huffman + RLE-coded transparency data within Indeo4 frames */ - virtual void decodeTransparency(); + int decodeRLETransparency(VLC_TYPE (*table)[2]); + + /** + * Decodes optional transparency data within Indeo4 frames + */ + virtual int decodeTransparency(); private: int scaleTileSize(int defSize, int sizeFactor); |