Browse Source

Fix make checkheaders.

Originally committed as revision 11331 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 18 years ago
parent
commit
35562dc962
4 changed files with 14 additions and 0 deletions
  1. +2
    -0
      libavcodec/ppc/dsputil_altivec.h
  2. +2
    -0
      libavcodec/ppc/gcc_fixes.h
  3. +2
    -0
      libavcodec/ppc/imgresample_altivec.h
  4. +8
    -0
      libavcodec/ppc/util_altivec.h

+ 2
- 0
libavcodec/ppc/dsputil_altivec.h View File

@@ -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);


+ 2
- 0
libavcodec/ppc/gcc_fixes.h View File

@@ -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


+ 2
- 0
libavcodec/ppc/imgresample_altivec.h View File

@@ -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 */

+ 8
- 0
libavcodec/ppc/util_altivec.h View File

@@ -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


Loading…
Cancel
Save