1 |
edgomez |
1.6 |
/***************************************************************************** |
2 |
|
|
* |
3 |
|
|
* XVID MPEG-4 VIDEO CODEC |
4 |
|
|
* - fast disrete cosine transformation - Header file |
5 |
|
|
* |
6 |
|
|
* This file is part of XviD, a free MPEG-4 video encoder/decoder |
7 |
|
|
* |
8 |
|
|
* XviD is free software; you can redistribute it and/or modify it |
9 |
|
|
* under the terms of the GNU General Public License as published by |
10 |
|
|
* the Free Software Foundation; either version 2 of the License, or |
11 |
|
|
* (at your option) any later version. |
12 |
|
|
* |
13 |
|
|
* This program is distributed in the hope that it will be useful, |
14 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 |
|
|
* GNU General Public License for more details. |
17 |
|
|
* |
18 |
|
|
* You should have received a copy of the GNU General Public License |
19 |
|
|
* along with this program; if not, write to the Free Software |
20 |
|
|
* 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 |
23 |
|
|
* holders of XVID explicitly forbid distribution in the following |
24 |
|
|
* countries: |
25 |
|
|
* |
26 |
|
|
* - Japan |
27 |
|
|
* - United States of America |
28 |
|
|
* |
29 |
|
|
* Linking XviD statically or dynamically with other modules is making a |
30 |
|
|
* combined work based on XviD. Thus, the terms and conditions of the |
31 |
|
|
* GNU General Public License cover the whole combination. |
32 |
|
|
* |
33 |
|
|
* As a special exception, the copyright holders of XviD give you |
34 |
|
|
* permission to link XviD with independent modules that communicate with |
35 |
|
|
* XviD solely through the VFW1.1 and DShow interfaces, regardless of the |
36 |
|
|
* license terms of these independent modules, and to copy and distribute |
37 |
|
|
* the resulting combined work under terms of your choice, provided that |
38 |
|
|
* every copy of the combined work is accompanied by a complete copy of |
39 |
|
|
* the source code of XviD (the version of XviD used to produce the |
40 |
|
|
* combined work), being distributed under the terms of the GNU General |
41 |
|
|
* Public License plus this exception. An independent module is a module |
42 |
|
|
* which is not derived from or based on XviD. |
43 |
|
|
* |
44 |
|
|
* Note that people who make modified versions of XviD are not obligated |
45 |
|
|
* to grant this special exception for their modified versions; it is |
46 |
|
|
* their choice whether to do so. The GNU General Public License gives |
47 |
|
|
* permission to release a modified version without this exception; this |
48 |
|
|
* exception also makes it possible to release a modified version which |
49 |
|
|
* carries forward this exception. |
50 |
|
|
* |
51 |
edgomez |
1.7 |
* $Id: idct.h,v 1.6 2002/11/16 23:51:58 edgomez Exp $ |
52 |
edgomez |
1.6 |
* |
53 |
|
|
*************************************************************************/ |
54 |
|
|
|
55 |
Isibaar |
1.1 |
#ifndef _IDCT_H_ |
56 |
|
|
#define _IDCT_H_ |
57 |
|
|
|
58 |
edgomez |
1.7 |
void idct_int32_init(void); |
59 |
|
|
void idct_ia64_init(void); |
60 |
Isibaar |
1.1 |
|
61 |
edgomez |
1.4 |
typedef void (idctFunc) (short *const block); |
62 |
|
|
typedef idctFunc *idctFuncPtr; |
63 |
Isibaar |
1.1 |
|
64 |
|
|
extern idctFuncPtr idct; |
65 |
|
|
|
66 |
|
|
idctFunc idct_int32; |
67 |
Isibaar |
1.3 |
|
68 |
Isibaar |
1.1 |
idctFunc idct_mmx; |
69 |
|
|
idctFunc idct_xmm; |
70 |
Isibaar |
1.3 |
idctFunc idct_sse2; |
71 |
|
|
|
72 |
canard |
1.2 |
idctFunc idct_altivec; |
73 |
Isibaar |
1.5 |
idctFunc idct_ia64; |
74 |
Isibaar |
1.1 |
|
75 |
edgomez |
1.4 |
#endif /* _IDCT_H_ */ |