diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-05-07 16:13:06 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-05-08 12:48:05 +0000 |
commit | 443181c0a9a8700d31212b28a6eb5713ed5240dc (patch) | |
tree | c25d7e5a07a5e870ac9ca6080bb0f46c923c1edf | |
parent | 94ff68ccb3d12f0b2d3c5b67548d4f158516e1fb (diff) | |
download | ffmpeg-443181c0a9a8700d31212b28a6eb5713ed5240dc.tar.gz |
libswscale: simplify isAnyRGB macro
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libswscale/swscale_internal.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 5e3cc62e3a..8519d4fbed 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -735,16 +735,7 @@ static av_always_inline int isRGB(enum AVPixelFormat pix_fmt) ( \ isRGBinInt(x) || \ isBGRinInt(x) || \ - isRGB(x) || \ - (x)==AV_PIX_FMT_GBRP9LE || \ - (x)==AV_PIX_FMT_GBRP9BE || \ - (x)==AV_PIX_FMT_GBRP10LE || \ - (x)==AV_PIX_FMT_GBRP10BE || \ - (x)==AV_PIX_FMT_GBRP12LE || \ - (x)==AV_PIX_FMT_GBRP12BE || \ - (x)==AV_PIX_FMT_GBRP14LE || \ - (x)==AV_PIX_FMT_GBRP14BE || \ - (x)==AV_PIX_FMT_GBR24P \ + isRGB(x) \ ) static av_always_inline int isALPHA(enum AVPixelFormat pix_fmt) |