diff options
author | Matthew Hoops | 2010-12-16 13:25:29 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-12-16 13:25:29 +0000 |
commit | ebf2dd8d3805988c8a527c7c4518ffa23fc155f8 (patch) | |
tree | e98ba1c2d3520a452a1ddf1836aa17a759370130 /graphics/video/codecs | |
parent | 1b267f52819f9e5d173e78dd4a732cdf12e26301 (diff) | |
download | scummvm-rg350-ebf2dd8d3805988c8a527c7c4518ffa23fc155f8.tar.gz scummvm-rg350-ebf2dd8d3805988c8a527c7c4518ffa23fc155f8.tar.bz2 scummvm-rg350-ebf2dd8d3805988c8a527c7c4518ffa23fc155f8.zip |
VIDEO: Extend Codec to support internal palettes
svn-id: r54932
Diffstat (limited to 'graphics/video/codecs')
-rw-r--r-- | graphics/video/codecs/codec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/video/codecs/codec.h b/graphics/video/codecs/codec.h index 565faf8442..4fa1a041a2 100644 --- a/graphics/video/codecs/codec.h +++ b/graphics/video/codecs/codec.h @@ -42,6 +42,10 @@ public: virtual const Surface *decodeImage(Common::SeekableReadStream *stream) = 0; virtual PixelFormat getPixelFormat() const = 0; + + virtual bool containsPalette() const { return false; } + virtual const byte *getPalette() { return 0; } + virtual bool hasDirtyPalette() const { return false; } }; } // End of namespace Graphics |