diff options
author | Bastien Bouclet | 2012-02-09 15:59:19 +0100 |
---|---|---|
committer | Bastien Bouclet | 2012-02-09 16:10:51 +0100 |
commit | 3becde4d1a7557e25292485380a0df4591544a52 (patch) | |
tree | 371be5f266205b4faf962d2f81108a0a0e8572f5 /graphics/jpeg.h | |
parent | de0425c7e2778230c9b6df3681ae6bd9c292ba64 (diff) | |
download | scummvm-rg350-3becde4d1a7557e25292485380a0df4591544a52.tar.gz scummvm-rg350-3becde4d1a7557e25292485380a0df4591544a52.tar.bz2 scummvm-rg350-3becde4d1a7557e25292485380a0df4591544a52.zip |
GRAPHICS: Switch to integer based JPEG IDCT
Based on public domain code, and explanations from :
http://halicery.com/jpeg/idct.html
Thanks.
Diffstat (limited to 'graphics/jpeg.h')
-rw-r--r-- | graphics/jpeg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/jpeg.h b/graphics/jpeg.h index 9268cb7cdb..b87791470f 100644 --- a/graphics/jpeg.h +++ b/graphics/jpeg.h @@ -118,7 +118,8 @@ private: uint8 _bitsNumber; // Inverse Discrete Cosine Transformation - void idct8x8(float dst[64], const int16 src[64]); + static void idct1D8x8(int32 src[8], int32 dest[64], int32 ps, int32 half); + static void idct2D8x8(int32 block[64]); }; } // End of Graphics namespace |