* idctaltivec.c : Altivec IDCT module
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: idctaltivec.c,v 1.19 2001/11/28 15:08:05 massiot Exp $
+ * $Id: idctaltivec.c,v 1.20 2001/12/06 13:46:23 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
* IDCT in Altivec
*****************************************************************************/
-#ifndef HAVE_C_ALTIVEC
+#ifndef CAN_COMPILE_C_ALTIVEC
static int16_t constants[5][8] ATTR_ALIGN(16) = {
{23170, 13573, 6518, 21895, -23170, -21895, 32, 31},
);
}
-#endif /* !HAVE_C_ALTIVEC */
+#endif /* !CAN_COMPILE_C_ALTIVEC */
#endif /* __BUILD_ALTIVEC_ASM__ */
-#if defined(HAVE_C_ALTIVEC) || defined(__BUILD_ALTIVEC_ASM__)
+#if defined(CAN_COMPILE_C_ALTIVEC) || defined(__BUILD_ALTIVEC_ASM__)
#define vector_s16_t vector signed short
#define vector_u16_t vector unsigned short
ADD (dest, vx7, perm1)
}
-#endif /* __BUILD_ALTIVEC_ASM__ || HAVE_C_ALTIVEC */
+#endif /* __BUILD_ALTIVEC_ASM__ || CAN_COMPILE_C_ALTIVEC */
#ifndef __BUILD_ALTIVEC_ASM__
* motionaltivec.c : Altivec motion compensation module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: motionaltivec.c,v 1.6 2001/11/28 15:08:05 massiot Exp $
+ * $Id: motionaltivec.c,v 1.7 2001/12/06 13:46:23 massiot Exp $
*
* Authors: Michel Lespinasse <walken@zoy.org>
* Paul Mackerras <paulus@linuxcare.com.au>
* Motion compensation in Altivec
*****************************************************************************/
-#ifndef HAVE_C_ALTIVEC
+#ifndef CAN_COMPILE_C_ALTIVEC
/*
* The asm code is generated with:
);
}
-#endif /* !HAVE_C_ALTIVEC */
+#endif /* !CAN_COMPILE_C_ALTIVEC */
#endif /* __BUILD_ALTIVEC_ASM__ */
-#if defined(HAVE_C_ALTIVEC) || defined(__BUILD_ALTIVEC_ASM__)
+#if defined(CAN_COMPILE_C_ALTIVEC) || defined(__BUILD_ALTIVEC_ASM__)
#define vector_s16_t vector signed short
#define vector_u16_t vector unsigned short
vec_ste ((vector_u32_t)tmp, 4, (unsigned int *)dest);
}
-#endif /* HAVE_C_ALTIVEC || __BUILD_ALTIVEC_ASM__ */
+#endif /* CAN_COMPILE_C_ALTIVEC || __BUILD_ALTIVEC_ASM__ */
#ifndef __BUILD_ALTIVEC_ASM__
/*****************************************************************************