]> git.sesse.net Git - narabu/blob - fdct.h
More fixes of hard-coded values.
[narabu] / fdct.h
1 /*****************************************************************************\r
2  *\r
3  *  XVID MPEG-4 VIDEO CODEC\r
4  *  - Forward DCT header  -\r
5  *\r
6  *  Copyright(C) 2001-2011 Michael Militzer <michael@xvid.org>\r
7  *\r
8  *  This program is free software ; you can redistribute it and/or modify\r
9  *  it under the terms of the GNU General Public License as published by\r
10  *  the Free Software Foundation ; either version 2 of the License, or\r
11  *  (at your option) any later version.\r
12  *\r
13  *  This program is distributed in the hope that it will be useful,\r
14  *  but WITHOUT ANY WARRANTY ; without even the implied warranty of\r
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
16  *  GNU General Public License for more details.\r
17  *\r
18  *  You should have received a copy of the GNU General Public License\r
19  *  along with this program ; if not, write to the Free Software\r
20  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA\r
21  *\r
22  * $Id: fdct.h 1986 2011-05-18 09:07:40Z Isibaar $\r
23  *\r
24  ****************************************************************************/\r
25 \r
26 #ifndef _FDCT_H_\r
27 #define _FDCT_H_\r
28 \r
29 #include "../portab.h"\r
30 \r
31 typedef void (fdctFunc) (short *const block);\r
32 typedef fdctFunc *fdctFuncPtr;\r
33 \r
34 extern fdctFuncPtr fdct;\r
35 \r
36 fdctFunc fdct_int32;\r
37 \r
38 #if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64)\r
39 fdctFunc fdct_mmx_ffmpeg;\r
40 fdctFunc fdct_xmm_ffmpeg;\r
41 fdctFunc fdct_mmx_skal;\r
42 fdctFunc fdct_xmm_skal;\r
43 fdctFunc fdct_sse2_skal;\r
44 #endif\r
45 \r
46 #ifdef ARCH_IS_IA64\r
47 fdctFunc fdct_ia64;\r
48 #endif\r
49 \r
50 #endif                                                  /* _FDCT_H_ */\r