summaryrefslogtreecommitdiff
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-04-20 21:04:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-04-20 21:04:55 +0000
commitc3dc6c5a6b2dc60b224380803046fe52fa80f8c8 (patch)
tree110e92bdf36a603141a919810dc4521ccbf52088 /libswscale/swscale_internal.h
parent46ff7a5f4ae05e5e4da33b700604dae2c37bebcb (diff)
add isBE()
Originally committed as revision 29212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 564d060a3d..3552e92657 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -291,6 +291,7 @@ void ff_yuv2packedX_altivec(SwsContext *c,
const char *sws_format_name(int format);
//FIXME replace this with something faster
+#define isBE(x) ((x)&1)
#define isPlanarYUV(x) ( \
(x)==PIX_FMT_YUV410P \
|| (x)==PIX_FMT_YUV420P \