summaryrefslogtreecommitdiff
path: root/psxdev/jfdctint.c
diff options
context:
space:
mode:
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