diff libswscale/swscale_internal.h @ 29171:091f16266a60

add isBE()
author michael
date Mon, 20 Apr 2009 21:04:55 +0000
parents cd5d58b02153
children d467f9cc89c6
line wrap: on
line diff
--- a/libswscale/swscale_internal.h	Mon Apr 20 18:20:37 2009 +0000
+++ b/libswscale/swscale_internal.h	Mon Apr 20 21:04:55 2009 +0000
@@ -291,6 +291,7 @@
 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     \