summaryrefslogtreecommitdiff
path: root/libavcodec/ppc
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-12-27 12:56:49 +0000
committerDiego Biurrun <diego@biurrun.de>2007-12-27 12:56:49 +0000
commit35562dc962c0adb2ae48bb9e0680f87aab170d1c (patch)
tree93bd4119b9f395e6bc81074bd0171e9418570f28 /libavcodec/ppc
parent3035cb67967c6fdf562fd8c215c190b55f17a807 (diff)
Fix make checkheaders.
Originally committed as revision 11331 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r--libavcodec/ppc/dsputil_altivec.h2
-rw-r--r--libavcodec/ppc/gcc_fixes.h2
-rw-r--r--libavcodec/ppc/imgresample_altivec.h2
-rw-r--r--libavcodec/ppc/util_altivec.h8
4 files changed, 14 insertions, 0 deletions
diff --git a/libavcodec/ppc/dsputil_altivec.h b/libavcodec/ppc/dsputil_altivec.h
index ef75c4037e..1dd32592e6 100644
--- a/libavcodec/ppc/dsputil_altivec.h
+++ b/libavcodec/ppc/dsputil_altivec.h
@@ -23,6 +23,8 @@
#ifndef FFMPEG_DSPUTIL_ALTIVEC_H
#define FFMPEG_DSPUTIL_ALTIVEC_H
+#include <stdint.h>
+
#include "dsputil_ppc.h"
extern int has_altivec(void);
diff --git a/libavcodec/ppc/gcc_fixes.h b/libavcodec/ppc/gcc_fixes.h
index 7edbe74033..c81b4ed20c 100644
--- a/libavcodec/ppc/gcc_fixes.h
+++ b/libavcodec/ppc/gcc_fixes.h
@@ -23,6 +23,8 @@
#ifndef FFMPEG_GCC_FIXES_H
#define FFMPEG_GCC_FIXES_H
+#include "config.h"
+
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
diff --git a/libavcodec/ppc/imgresample_altivec.h b/libavcodec/ppc/imgresample_altivec.h
index f27d9cb5b4..538c1bee64 100644
--- a/libavcodec/ppc/imgresample_altivec.h
+++ b/libavcodec/ppc/imgresample_altivec.h
@@ -19,6 +19,8 @@
#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 */
diff --git a/libavcodec/ppc/util_altivec.h b/libavcodec/ppc/util_altivec.h
index ed029b4d85..a534df9bef 100644
--- a/libavcodec/ppc/util_altivec.h
+++ b/libavcodec/ppc/util_altivec.h
@@ -24,6 +24,14 @@
#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