changeset 29171:091f16266a60

add isBE()
author michael
date Mon, 20 Apr 2009 21:04:55 +0000
parents 9d40283d9a5d
children a5b18d98eaf0
files libswscale/swscale_internal.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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     \