aboutsummaryrefslogtreecommitdiff
path: root/graphics/jpeg.h
diff options
context:
space:
mode:
authorBastien Bouclet2012-02-09 15:59:19 +0100
committerBastien Bouclet2012-02-09 16:10:51 +0100
commit3becde4d1a7557e25292485380a0df4591544a52 (patch)
tree371be5f266205b4faf962d2f81108a0a0e8572f5 /graphics/jpeg.h
parentde0425c7e2778230c9b6df3681ae6bd9c292ba64 (diff)
downloadscummvm-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.h3
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