mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
Merge commit 'e96c3b81ca'
* commit 'e96c3b81ca':
avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8
Conflicts:
libavcodec/libopenjpegdec.c
libavcodec/libopenjpegenc.c
libavcodec/raw.c
libavutil/pixdesc.c
libavutil/pixfmt.h
libavutil/version.h
libswscale/swscale_internal.h
libswscale/swscale_unscaled.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
4c8bc6fdee
15 changed files with 30 additions and 21 deletions
|
|
@ -670,7 +670,7 @@ static av_always_inline int isRGB(enum AVPixelFormat pix_fmt)
|
|||
#else
|
||||
#define isGray(x) \
|
||||
((x) == AV_PIX_FMT_GRAY8 || \
|
||||
(x) == AV_PIX_FMT_Y400A || \
|
||||
(x) == AV_PIX_FMT_YA8 || \
|
||||
(x) == AV_PIX_FMT_GRAY16BE || \
|
||||
(x) == AV_PIX_FMT_GRAY16LE)
|
||||
#endif
|
||||
|
|
@ -775,7 +775,7 @@ static av_always_inline int isALPHA(enum AVPixelFormat pix_fmt)
|
|||
|| (x)==AV_PIX_FMT_YUYV422 \
|
||||
|| (x)==AV_PIX_FMT_YVYU422 \
|
||||
|| (x)==AV_PIX_FMT_UYVY422 \
|
||||
|| (x)==AV_PIX_FMT_Y400A \
|
||||
|| (x)==AV_PIX_FMT_YA8 \
|
||||
|| isRGBinInt(x) \
|
||||
|| isBGRinInt(x) \
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue