aboutsummaryrefslogtreecommitdiff
path: root/graphics/jpeg.h
diff options
context:
space:
mode:
authorBastien Bouclet2012-02-08 09:45:50 +0100
committerBastien Bouclet2012-02-09 16:10:51 +0100
commitde0425c7e2778230c9b6df3681ae6bd9c292ba64 (patch)
tree89d5382a4ed24eb317040d43ebbc62d2f969f6b6 /graphics/jpeg.h
parent577635acf2d831240e6d83906f4f17f5b7600ac6 (diff)
downloadscummvm-rg350-de0425c7e2778230c9b6df3681ae6bd9c292ba64.tar.gz
scummvm-rg350-de0425c7e2778230c9b6df3681ae6bd9c292ba64.tar.bz2
scummvm-rg350-de0425c7e2778230c9b6df3681ae6bd9c292ba64.zip
GRAPHICS: Add support for JPEG files using a restart interval
Patch by Scott and clone2727
Diffstat (limited to 'graphics/jpeg.h')
-rw-r--r--graphics/jpeg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/jpeg.h b/graphics/jpeg.h
index 27b91e8777..9268cb7cdb 100644
--- a/graphics/jpeg.h
+++ b/graphics/jpeg.h
@@ -54,6 +54,7 @@ private:
Common::SeekableReadStream *_stream;
uint16 _w, _h;
+ uint16 _restartInterval;
// Image components
uint8 _numComp;
@@ -101,6 +102,7 @@ private:
bool readDHT();
bool readSOS();
bool readDQT();
+ bool readDRI();
// Helper functions
bool readMCU(uint16 xMCU, uint16 yMCU);