summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authoraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-14 00:13:56 +0000
committeraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-14 00:13:56 +0000
commitbe34ba7a39fa9dfe50edb124a194156b4122145d (patch)
treec54209acade6c764868795b406eadce5c62742fb /libswscale/swscale_internal.h
parentda01b889d7e2352b46875e5fd6836bc67dd64536 (diff)
downloadmpv-be34ba7a39fa9dfe50edb124a194156b4122145d.tar.bz2
mpv-be34ba7a39fa9dfe50edb124a194156b4122145d.tar.xz
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28311 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 48995571e0..b2505c0f7d 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -23,7 +23,7 @@
#include "config.h"
-#ifdef HAVE_ALTIVEC_H
+#if HAVE_ALTIVEC_H
#include <altivec.h>
#endif
@@ -42,7 +42,7 @@
#define ALT32_CORR 1
#endif
-#ifdef ARCH_X86_64
+#if ARCH_X86_64
# define APCK_PTR2 8
# define APCK_COEF 16
# define APCK_SIZE 24
@@ -175,7 +175,7 @@ typedef struct SwsContext{
uint64_t u_temp __attribute__((aligned(8)));
uint64_t v_temp __attribute__((aligned(8)));
-#ifdef HAVE_ALTIVEC
+#if HAVE_ALTIVEC
vector signed short CY;
vector signed short CRV;
@@ -189,7 +189,7 @@ typedef struct SwsContext{
#endif
-#ifdef ARCH_BFIN
+#if ARCH_BFIN
uint32_t oy __attribute__((aligned(4)));
uint32_t oc __attribute__((aligned(4)));
uint32_t zero __attribute__((aligned(4)));
@@ -203,7 +203,7 @@ typedef struct SwsContext{
uint32_t gmask __attribute__((aligned(4)));
#endif
-#ifdef HAVE_VIS
+#if HAVE_VIS
uint64_t sparc_coeffs[10] __attribute__((aligned(8)));
#endif