diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-04-27 00:37:32 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-04-30 12:19:44 +0200 |
commit | a053dbfcfb3aca091773c38e82bdd0863216fc7b (patch) | |
tree | 4a5ff106a0b9507e549f0ea266da3ce89d1fc78b /libavcodec/ppc/hpeldsp_altivec.c | |
parent | f5eecee865a731d2412fde2f73c29f8f8115c499 (diff) | |
download | ffmpeg-a053dbfcfb3aca091773c38e82bdd0863216fc7b.tar.gz |
ppc: Move AltiVec utility headers out of AltiVec ifdefs
Now that the headers themselves have ifdef protection this is no
longer necessary and more consistent with normal include handling.
Diffstat (limited to 'libavcodec/ppc/hpeldsp_altivec.c')
-rw-r--r-- | libavcodec/ppc/hpeldsp_altivec.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libavcodec/ppc/hpeldsp_altivec.c b/libavcodec/ppc/hpeldsp_altivec.c index 868ca95d89..69c2777d70 100644 --- a/libavcodec/ppc/hpeldsp_altivec.c +++ b/libavcodec/ppc/hpeldsp_altivec.c @@ -21,18 +21,19 @@ */ #include "config.h" -#include "libavutil/attributes.h" -#include "libavutil/cpu.h" -#include "libavcodec/hpeldsp.h" -#if HAVE_ALTIVEC #if HAVE_ALTIVEC_H #include <altivec.h> #endif + +#include "libavutil/attributes.h" +#include "libavutil/cpu.h" #include "libavutil/ppc/types_altivec.h" #include "libavutil/ppc/util_altivec.h" +#include "libavcodec/hpeldsp.h" #include "dsputil_altivec.h" +#if HAVE_ALTIVEC /* next one assumes that ((line_size % 16) == 0) */ void ff_put_pixels16_altivec(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) { |