Mercurial > libavcodec.hg
changeset 6078:3b73d2fbc9e4 libavcodec
Fix make checkheaders.
author | diego |
---|---|
date | Thu, 27 Dec 2007 12:56:49 +0000 |
parents | 8baa533764d4 |
children | 533bfc034f45 |
files | ppc/dsputil_altivec.h ppc/gcc_fixes.h ppc/imgresample_altivec.h ppc/util_altivec.h |
diffstat | 4 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ppc/dsputil_altivec.h Thu Dec 27 12:31:23 2007 +0000 +++ b/ppc/dsputil_altivec.h Thu Dec 27 12:56:49 2007 +0000 @@ -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);
--- a/ppc/gcc_fixes.h Thu Dec 27 12:31:23 2007 +0000 +++ b/ppc/gcc_fixes.h Thu Dec 27 12:56:49 2007 +0000 @@ -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
--- a/ppc/imgresample_altivec.h Thu Dec 27 12:31:23 2007 +0000 +++ b/ppc/imgresample_altivec.h Thu Dec 27 12:56:49 2007 +0000 @@ -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 */
--- a/ppc/util_altivec.h Thu Dec 27 12:31:23 2007 +0000 +++ b/ppc/util_altivec.h Thu Dec 27 12:56:49 2007 +0000 @@ -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