diff options
author | Romain Dolbeau <dolbeau@irisa.fr> | 2004-04-22 13:21:59 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-04-22 13:21:59 +0000 |
commit | 9007f51460bfb78813f25b37d3484c7b40ceb0d1 (patch) | |
tree | 8d68fd44fa4ff6c7c401b09c8e6ee85db8a54030 /libavcodec/ppc/dsputil_ppc.c | |
parent | 2750b827b3144a62fdc161a47341dd58764522b7 (diff) | |
download | ffmpeg-9007f51460bfb78813f25b37d3484c7b40ceb0d1.tar.gz |
better hadamard8_diff16 in AltiVec, and more patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3038 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/dsputil_ppc.c')
-rw-r--r-- | libavcodec/ppc/dsputil_ppc.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/ppc/dsputil_ppc.c b/libavcodec/ppc/dsputil_ppc.c index c3d3e808f3..b70de73289 100644 --- a/libavcodec/ppc/dsputil_ppc.c +++ b/libavcodec/ppc/dsputil_ppc.c @@ -61,6 +61,7 @@ static unsigned char* perfname[] = { "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 @@ long check_dcbzl_effect(void) } #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 |