diff options
Diffstat (limited to 'image/codecs/cinepak.h')
-rw-r--r-- | image/codecs/cinepak.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/image/codecs/cinepak.h b/image/codecs/cinepak.h index 02c09b6ddb..dc8172ea0f 100644 --- a/image/codecs/cinepak.h +++ b/image/codecs/cinepak.h @@ -46,6 +46,7 @@ struct CinepakStrip { uint16 length; Common::Rect rect; CinepakCodebook v1_codebook[256], v4_codebook[256]; + byte v1_dither[256 * 4 * 4 * 4], v4_dither[256 * 4 * 4 * 4]; }; struct CinepakFrame { @@ -89,12 +90,14 @@ private: bool _dirtyPalette; byte *_rgbLookup; byte *_colorMap; + DitherType _ditherType; void loadCodebook(Common::SeekableReadStream &stream, uint16 strip, byte codebookType, byte chunkID, uint32 chunkSize); void decodeVectors(Common::SeekableReadStream &stream, uint16 strip, byte chunkID, uint32 chunkSize); byte findNearestRGB(int index) const; void ditherVectors(Common::SeekableReadStream &stream, uint16 strip, byte chunkID, uint32 chunkSize); + void ditherCodebookQT(uint16 strip, byte codebookType, uint16 codebookIndex); }; } // End of namespace Image |