1 |
/***************************************************************************** |
/***************************************************************************** |
2 |
* |
* |
3 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
4 |
* - fast disrete cosine transformation - Header file |
* - Inverse DCT header - |
5 |
* |
* |
6 |
* This file is part of XviD, a free MPEG-4 video encoder/decoder |
* Copyright(C) 2001-2003 Michael Militzer <isibaar@xvid.org> |
7 |
* |
* |
8 |
* XviD is free software; you can redistribute it and/or modify it |
* This program is free software ; you can redistribute it and/or modify |
9 |
* under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
10 |
* the Free Software Foundation; either version 2 of the License, or |
* the Free Software Foundation; either version 2 of the License, or |
11 |
* (at your option) any later version. |
* (at your option) any later version. |
12 |
* |
* |
19 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* Under section 8 of the GNU General Public License, the copyright |
* $Id: idct.h,v 1.8.2.3 2003-10-27 01:03:06 edgomez Exp $ |
|
* holders of XVID explicitly forbid distribution in the following |
|
|
* countries: |
|
|
* |
|
|
* - Japan |
|
|
* - United States of America |
|
|
* |
|
|
* Linking XviD statically or dynamically with other modules is making a |
|
|
* combined work based on XviD. Thus, the terms and conditions of the |
|
|
* GNU General Public License cover the whole combination. |
|
|
* |
|
|
* As a special exception, the copyright holders of XviD give you |
|
|
* permission to link XviD with independent modules that communicate with |
|
|
* XviD solely through the VFW1.1 and DShow interfaces, regardless of the |
|
|
* license terms of these independent modules, and to copy and distribute |
|
|
* the resulting combined work under terms of your choice, provided that |
|
|
* every copy of the combined work is accompanied by a complete copy of |
|
|
* the source code of XviD (the version of XviD used to produce the |
|
|
* combined work), being distributed under the terms of the GNU General |
|
|
* Public License plus this exception. An independent module is a module |
|
|
* which is not derived from or based on XviD. |
|
|
* |
|
|
* Note that people who make modified versions of XviD are not obligated |
|
|
* to grant this special exception for their modified versions; it is |
|
|
* their choice whether to do so. The GNU General Public License gives |
|
|
* permission to release a modified version without this exception; this |
|
|
* exception also makes it possible to release a modified version which |
|
|
* carries forward this exception. |
|
23 |
* |
* |
24 |
* $Id: idct.h,v 1.7 2002-11-26 23:44:10 edgomez Exp $ |
****************************************************************************/ |
|
* |
|
|
*************************************************************************/ |
|
25 |
|
|
26 |
#ifndef _IDCT_H_ |
#ifndef _IDCT_H_ |
27 |
#define _IDCT_H_ |
#define _IDCT_H_ |
28 |
|
|
29 |
void idct_int32_init(void); |
void idct_int32_init(); |
30 |
void idct_ia64_init(void); |
void idct_ia64_init(); |
31 |
|
|
32 |
typedef void (idctFunc) (short *const block); |
typedef void (idctFunc) (short *const block); |
33 |
typedef idctFunc *idctFuncPtr; |
typedef idctFunc *idctFuncPtr; |
35 |
extern idctFuncPtr idct; |
extern idctFuncPtr idct; |
36 |
|
|
37 |
idctFunc idct_int32; |
idctFunc idct_int32; |
38 |
|
idctFunc simple_idct_c; /* Michael Niedermayer */ |
39 |
|
|
40 |
idctFunc idct_mmx; |
#ifdef ARCH_IS_IA32 |
41 |
idctFunc idct_xmm; |
idctFunc idct_mmx; /* AP-992, Peter Gubanov, Michel Lespinasse */ |
42 |
idctFunc idct_sse2; |
idctFunc idct_xmm; /* AP-992, Peter Gubanov, Michel Lespinasse */ |
43 |
|
idctFunc idct_3dne; /* AP-992, Peter Gubanov, Michel Lespinasse, Jaan Kalda */ |
44 |
|
idctFunc simple_idct_mmx; /* Michael Niedermayer; expects permutated data */ |
45 |
|
idctFunc simple_idct_mmx2; /* Michael Niedermayer */ |
46 |
|
#endif |
47 |
|
|
48 |
|
#ifdef ARCH_IS_ALTIVEC |
49 |
idctFunc idct_altivec; |
idctFunc idct_altivec; |
50 |
|
#endif |
51 |
|
|
52 |
|
#ifdef ARCH_IS_IA64 |
53 |
idctFunc idct_ia64; |
idctFunc idct_ia64; |
54 |
|
#endif |
55 |
|
|
56 |
#endif /* _IDCT_H_ */ |
#endif /* _IDCT_H_ */ |