Commit 443181c0 authored by Paul B Mahol's avatar Paul B Mahol

libswscale: simplify isAnyRGB macro

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 94ff68cc
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment