diff ppc/dsputil_ppc.c @ 1951:2599b8444831 libavcodec

better hadamard8_diff16 in AltiVec, and more patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
author michael
date Thu, 22 Apr 2004 13:21:59 +0000
parents 66215baae7b9
children 1ba490d60bb9
line wrap: on
line diff
--- a/ppc/dsputil_ppc.c	Thu Apr 22 03:31:29 2004 +0000
+++ b/ppc/dsputil_ppc.c	Thu Apr 22 13:21:59 2004 +0000
@@ -61,6 +61,7 @@
   "put_pixels16_xy2_altivec",
   "put_no_rnd_pixels16_xy2_altivec",
   "hadamard8_diff8x8_altivec",
+  "hadamard8_diff16_altivec",
   "clear_blocks_dcbz32_ppc",
   "clear_blocks_dcbz128_ppc"
 };
@@ -226,12 +227,6 @@
 }
 #endif
 
-#ifdef HAVE_ALTIVEC
-// can't put that in dsputil_altivec.c,
-// has WARPER8_16_SQ declare the function "static" ...
-WARPER8_16_SQ(hadamard8_diff8x8_altivec, hadamard8_diff16_altivec)
-#endif
-
 void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx)
 {
     // Common optimizations whether Altivec is available or not