Mercurial > mplayer.hg
changeset 33359:b1e64a3d6dd3
Simplify IMGFMT_IS_YUVP16_NE definition.
author | reimar |
---|---|
date | Sun, 08 May 2011 18:14:37 +0000 |
parents | c9c9f015619b |
children | c36ab8db37f6 |
files | libmpcodecs/img_format.h |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/img_format.h Sun May 08 13:47:19 2011 +0000 +++ b/libmpcodecs/img_format.h Sun May 08 18:14:37 2011 +0000 @@ -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 */