mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
libswscale: simplify isAnyRGB macro
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
94ff68ccb3
commit
443181c0a9
@ -735,16 +735,7 @@ static av_always_inline int isRGB(enum AVPixelFormat pix_fmt)
|
|||||||
( \
|
( \
|
||||||
isRGBinInt(x) || \
|
isRGBinInt(x) || \
|
||||||
isBGRinInt(x) || \
|
isBGRinInt(x) || \
|
||||||
isRGB(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 \
|
|
||||||
)
|
)
|
||||||
|
|
||||||
static av_always_inline int isALPHA(enum AVPixelFormat pix_fmt)
|
static av_always_inline int isALPHA(enum AVPixelFormat pix_fmt)
|
||||||
|
Loading…
Reference in New Issue
Block a user