[FFmpeg-cvslog] r11331 - in trunk/libavcodec/ppc: dsputil_altivec.h gcc_fixes.h imgresample_altivec.h util_altivec.h
diego
subversion
Thu Dec 27 13:56:50 CET 2007
Author: diego
Date: Thu Dec 27 13:56:49 2007
New Revision: 11331
Log:
Fix make checkheaders.
Modified:
trunk/libavcodec/ppc/dsputil_altivec.h
trunk/libavcodec/ppc/gcc_fixes.h
trunk/libavcodec/ppc/imgresample_altivec.h
trunk/libavcodec/ppc/util_altivec.h
Modified: trunk/libavcodec/ppc/dsputil_altivec.h
==============================================================================
--- trunk/libavcodec/ppc/dsputil_altivec.h (original)
+++ trunk/libavcodec/ppc/dsputil_altivec.h Thu Dec 27 13:56:49 2007
@@ -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);
Modified: trunk/libavcodec/ppc/gcc_fixes.h
==============================================================================
--- trunk/libavcodec/ppc/gcc_fixes.h (original)
+++ trunk/libavcodec/ppc/gcc_fixes.h Thu Dec 27 13:56:49 2007
@@ -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
Modified: trunk/libavcodec/ppc/imgresample_altivec.h
==============================================================================
--- trunk/libavcodec/ppc/imgresample_altivec.h (original)
+++ trunk/libavcodec/ppc/imgresample_altivec.h Thu Dec 27 13:56:49 2007
@@ -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 */
Modified: trunk/libavcodec/ppc/util_altivec.h
==============================================================================
--- trunk/libavcodec/ppc/util_altivec.h (original)
+++ trunk/libavcodec/ppc/util_altivec.h Thu Dec 27 13:56:49 2007
@@ -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
More information about the ffmpeg-cvslog
mailing list