comparison libmpeg2/idct.c @ 21526:60a39d71e247

sync to libmpeg2-0.4.1
author henry
date Sat, 09 Dec 2006 10:34:27 +0000
parents 1b3b5258a94e
children 6bee9fab79f6
comparison
equal deleted inserted replaced
21525:329b03d67891 21526:60a39d71e247
18 * 18 *
19 * You should have received a copy of the GNU General Public License 19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software 20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 * 22 *
23 * Modified for use with MPlayer, see libmpeg-0.4.0.diff for the exact changes. 23 * Modified for use with MPlayer, see libmpeg-0.4.1.diff for the exact changes.
24 * detailed changelog at http://svn.mplayerhq.hu/mplayer/trunk/ 24 * detailed changelog at http://svn.mplayerhq.hu/mplayer/trunk/
25 * $Id$ 25 * $Id$
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
251 mpeg2_idct_copy = mpeg2_idct_copy_mmx; 251 mpeg2_idct_copy = mpeg2_idct_copy_mmx;
252 mpeg2_idct_add = mpeg2_idct_add_mmx; 252 mpeg2_idct_add = mpeg2_idct_add_mmx;
253 mpeg2_idct_mmx_init (); 253 mpeg2_idct_mmx_init ();
254 } else 254 } else
255 #endif 255 #endif
256 #if defined( ARCH_PPC ) && defined( HAVE_ALTIVEC ) 256 #ifdef ARCH_PPC
257 if (accel & MPEG2_ACCEL_PPC_ALTIVEC) { 257 if (accel & MPEG2_ACCEL_PPC_ALTIVEC) {
258 mpeg2_idct_copy = mpeg2_idct_copy_altivec; 258 mpeg2_idct_copy = mpeg2_idct_copy_altivec;
259 mpeg2_idct_add = mpeg2_idct_add_altivec; 259 mpeg2_idct_add = mpeg2_idct_add_altivec;
260 mpeg2_idct_altivec_init (); 260 mpeg2_idct_altivec_init ();
261 } else 261 } else