summaryrefslogtreecommitdiff
path: root/psxdev/jfdctint.c
diff options
context:
space:
mode:
authorPixel <Pixel>2002-06-23 11:19:06 +0000
committerPixel <Pixel>2002-06-23 11:19:06 +0000
commit54c77d2cb0f734615febdb3cb33548bf4cd6e953 (patch)
treec6105e4984b0c29f2db05352234e5fbed6a1d092 /psxdev/jfdctint.c
parentcdbb43ea328883261c6f71e6e44b16ae39173fa6 (diff)
Pfiou, huge work...
Diffstat (limited to 'psxdev/jfdctint.c')
-rw-r--r--psxdev/jfdctint.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/psxdev/jfdctint.c b/psxdev/jfdctint.c
index 58bc2e4..f9299e1 100644
--- a/psxdev/jfdctint.c
+++ b/psxdev/jfdctint.c
@@ -23,19 +23,19 @@
* scaled fixed-point arithmetic, with a minimal number of shifts.
*/
-#define DCT_ISLOW_SUPPORTED
-#define DCTSIZE 8
-#define DCTELEM int
-#define INT32 int
+#define DCT_ISLOW_SUPPORTED
+#define DCTSIZE 8
+#define DCTELEM int
+#define INT32 int
#define DESCALE(x,n) RIGHT_SHIFT((x) + (1 << ((n)-1)), n)
-#define RIGHT_SHIFT(x,n) ((x)>>(n))
-#define GLOBAL
+#define RIGHT_SHIFT(x,n) ((x)>>(n))
+#define GLOBAL
#define jpeg_fdct_islow DCT
-#define SHIFT_TEMPS
-//#define BITS_IN_JSAMPLE 8
-//#define MULTIPLY16C16(var,const) ((var) * (const))
-
-
+#define SHIFT_TEMPS
+/* #define BITS_IN_JSAMPLE 8
+ #define MULTIPLY16C16(var,const) ((var) * (const)) */
+
+
#ifdef DCT_ISLOW_SUPPORTED
@@ -44,7 +44,7 @@
*/
#if DCTSIZE != 8
- Sorry, this code only copes with 8x8 DCTs. /* deliberate syntax err */
+#error Sorry, this code only copes with 8x8 DCTs.
#endif