--- idct.h 2002/06/12 20:38:40 1.4 +++ idct.h 2008/11/26 01:04:34 1.13 @@ -1,7 +1,33 @@ +/***************************************************************************** + * + * XVID MPEG-4 VIDEO CODEC + * - Inverse DCT header - + * + * Copyright(C) 2001-2003 Michael Militzer + * + * This program is free software ; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation ; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY ; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program ; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id: idct.h,v 1.13 2008/11/26 01:04:34 Isibaar Exp $ + * + ****************************************************************************/ + #ifndef _IDCT_H_ #define _IDCT_H_ void idct_int32_init(); +void idct_ia64_init(); typedef void (idctFunc) (short *const block); typedef idctFunc *idctFuncPtr; @@ -9,11 +35,22 @@ extern idctFuncPtr idct; idctFunc idct_int32; +idctFunc simple_idct_c; /* Michael Niedermayer */ -idctFunc idct_mmx; -idctFunc idct_xmm; -idctFunc idct_sse2; - -idctFunc idct_altivec; +#if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) +idctFunc idct_mmx; /* AP-992, Peter Gubanov, Michel Lespinasse */ +idctFunc idct_xmm; /* AP-992, Peter Gubanov, Michel Lespinasse */ +idctFunc idct_3dne; /* AP-992, Peter Gubanov, Michel Lespinasse, Jaan Kalda */ +idctFunc idct_sse2_skal; /* Skal's one, IEEE 1180 compliant */ +idctFunc idct_sse2_dmitry; /* Dmitry Rozhdestvensky */ +#endif + +#ifdef ARCH_IS_IA64 +idctFunc idct_ia64; +#endif + +#ifdef ARCH_IS_PPC +idctFunc idct_altivec_c; +#endif #endif /* _IDCT_H_ */