From 3417567558ed1e3cea8bf67f67d56d3c9c4002a9 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 23 Dec 2001 20:21:20 +0000 Subject: more fixes Original commit message from CVS: more fixes --- gst-libs/gst/idct/dct.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 gst-libs/gst/idct/dct.h (limited to 'gst-libs/gst/idct/dct.h') diff --git a/gst-libs/gst/idct/dct.h b/gst-libs/gst/idct/dct.h new file mode 100644 index 00000000..fcb7de37 --- /dev/null +++ b/gst-libs/gst/idct/dct.h @@ -0,0 +1,34 @@ +/* define DCT types */ + +#include "config.h" + +/* + * 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); + +#ifdef HAVE_LIBMMX +extern void gst_idct_mmx_idct (short *block); +extern void gst_idct_mmx32_idct (short *block); +extern void gst_idct_sse_idct (short *block); +#endif /* HAVE_LIBMMX */ + +extern void gst_idct_init_float_idct(void); +extern void gst_idct_float_idct (short *block); + -- cgit v1.2.1