Originally committed as revision 11331 to svn://svn.ffmpeg.org/ffmpeg/trunk
#ifndef FFMPEG_DSPUTIL_ALTIVEC_H
#define FFMPEG_DSPUTIL_ALTIVEC_H
+#include <stdint.h>
+
#include "dsputil_ppc.h"
extern int has_altivec(void);
#ifndef FFMPEG_GCC_FIXES_H
#define FFMPEG_GCC_FIXES_H
+#include "config.h"
+
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
#ifndef FFMPEG_IMGRESAMPLE_ALTIVEC_H
#define FFMPEG_IMGRESAMPLE_ALTIVEC_H
+#include <stdint.h>
+
void v_resample16_altivec(uint8_t *dst, int dst_width, const uint8_t *src,
int wrap, int16_t *filter);
#endif /* FFMPEG_IMGRESAMPLE_ALTIVEC_H */
#ifndef FFMPEG_UTIL_ALTIVEC_H
#define FFMPEG_UTIL_ALTIVEC_H
+#include <stdint.h>
+
+#include "config.h"
+
+#ifdef HAVE_ALTIVEC_H
+#include <altivec.h>
+#endif
+
// used to build registers permutation vectors (vcprm)
// the 's' are for words in the _s_econd vector
#define WORD_0 0x00,0x01,0x02,0x03