2000-08-14 10:11:04 +00:00
|
|
|
/* define DCT types */
|
|
|
|
|
2000-09-21 01:34:34 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
2000-08-14 10:11:04 +00:00
|
|
|
/*
|
|
|
|
* DCTSIZE underlying (1d) transform size
|
|
|
|
* DCTSIZE2 DCTSIZE squared
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define DCTSIZE (8)
|
|
|
|
#define DCTSIZE2 (DCTSIZE*DCTSIZE)
|
|
|
|
|
|
|
|
#define EIGHT_BIT_SAMPLES /* needed in jrevdct.c */
|
|
|
|
|
|
|
|
typedef short DCTELEM; /* must be at least 16 bits */
|
|
|
|
|
|
|
|
typedef DCTELEM DCTBLOCK[DCTSIZE2];
|
|
|
|
|
|
|
|
typedef long INT32; /* must be at least 32 bits */
|
|
|
|
|
|
|
|
extern void gst_idct_int_idct();
|
|
|
|
|
|
|
|
extern void gst_idct_init_fast_int_idct (void);
|
|
|
|
extern void gst_idct_fast_int_idct (short *block);
|
|
|
|
|
2000-09-21 01:34:34 +00:00
|
|
|
#ifdef HAVE_LIBMMX
|
2000-08-14 10:11:04 +00:00
|
|
|
extern void gst_idct_mmx_idct (short *block);
|
|
|
|
extern void gst_idct_mmx32_idct (short *block);
|
2000-11-04 18:54:07 +00:00
|
|
|
extern void gst_idct_sse_idct (short *block);
|
2000-09-21 01:34:34 +00:00
|
|
|
#endif /* HAVE_LIBMMX */
|
2000-08-14 10:11:04 +00:00
|
|
|
|
|
|
|
extern void gst_idct_init_float_idct(void);
|
|
|
|
extern void gst_idct_float_idct (short *block);
|
|
|
|
|