mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
ab6c65f693
Originally committed as revision 898 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 lines
382 B
C
21 lines
382 B
C
#include "../../config.h"
|
|
#include "../dsputil.h"
|
|
|
|
#ifdef HAVE_ALTIVEC
|
|
#include "dsputil_altivec.h"
|
|
#endif
|
|
|
|
void dsputil_init_ppc(void)
|
|
{
|
|
#if HAVE_ALTIVEC
|
|
if (has_altivec()) {
|
|
pix_abs16x16 = pix_abs16x16_altivec;
|
|
pix_abs8x8 = pix_abs8x8_altivec;
|
|
pix_sum = pix_sum_altivec;
|
|
} else
|
|
#endif
|
|
{
|
|
/* Non-AltiVec PPC optimisations here */
|
|
}
|
|
}
|