[MPlayer-cvslog] r33446 - trunk/libmpcodecs/img_format.h

reimar subversion at mplayerhq.hu
Sun May 8 20:14:38 CEST 2011


Author: reimar
Date: Sun May  8 20:14:37 2011
New Revision: 33446

Log:
Simplify IMGFMT_IS_YUVP16_NE definition.

Modified:
   trunk/libmpcodecs/img_format.h

Modified: trunk/libmpcodecs/img_format.h
==============================================================================
--- trunk/libmpcodecs/img_format.h	Sun May  8 15:47:19 2011	(r33445)
+++ trunk/libmpcodecs/img_format.h	Sun May  8 20:14:37 2011	(r33446)
@@ -131,15 +131,16 @@
 #define IMGFMT_444P16 IMGFMT_444P16_BE
 #define IMGFMT_422P16 IMGFMT_422P16_BE
 #define IMGFMT_420P16 IMGFMT_420P16_BE
+#define IMGFMT_IS_YUVP16_NE(fmt) IMGFMT_IS_YUVP16_BE(fmt)
 #else
 #define IMGFMT_444P16 IMGFMT_444P16_LE
 #define IMGFMT_422P16 IMGFMT_422P16_LE
 #define IMGFMT_420P16 IMGFMT_420P16_LE
+#define IMGFMT_IS_YUVP16_NE(fmt) IMGFMT_IS_YUVP16_LE(fmt)
 #endif
 
 #define IMGFMT_IS_YUVP16_LE(fmt) (((fmt  ^ IMGFMT_420P16_LE) & 0xff0000ff) == 0)
 #define IMGFMT_IS_YUVP16_BE(fmt) (((fmt  ^ IMGFMT_420P16_BE) & 0xff0000ff) == 0)
-#define IMGFMT_IS_YUVP16_NE(fmt) (((fmt  ^ IMGFMT_420P16   ) & 0xff0000ff) == 0)
 #define IMGFMT_IS_YUVP16(fmt)    (IMGFMT_IS_YUVP16_LE(fmt) || IMGFMT_IS_YUVP16_BE(fmt))
 
 /* Packed YUV Formats */


More information about the MPlayer-cvslog mailing list