From c3dc6c5a6b2dc60b224380803046fe52fa80f8c8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 20 Apr 2009 21:04:55 +0000 Subject: [PATCH] add isBE() Originally committed as revision 29212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale_internal.h | 1 + 1 file changed, 1 insertion(+) 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 \