avcodec/utils: add 16bit planar YUV formats to avcodec_align_dimensions2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ae12d65538
commit
7bc9fb8cde
@ -224,6 +224,8 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
|
||||
case AV_PIX_FMT_YUV420P12BE:
|
||||
case AV_PIX_FMT_YUV420P14LE:
|
||||
case AV_PIX_FMT_YUV420P14BE:
|
||||
case AV_PIX_FMT_YUV420P16LE:
|
||||
case AV_PIX_FMT_YUV420P16BE:
|
||||
case AV_PIX_FMT_YUV422P9LE:
|
||||
case AV_PIX_FMT_YUV422P9BE:
|
||||
case AV_PIX_FMT_YUV422P10LE:
|
||||
@ -232,6 +234,8 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
|
||||
case AV_PIX_FMT_YUV422P12BE:
|
||||
case AV_PIX_FMT_YUV422P14LE:
|
||||
case AV_PIX_FMT_YUV422P14BE:
|
||||
case AV_PIX_FMT_YUV422P16LE:
|
||||
case AV_PIX_FMT_YUV422P16BE:
|
||||
case AV_PIX_FMT_YUV444P9LE:
|
||||
case AV_PIX_FMT_YUV444P9BE:
|
||||
case AV_PIX_FMT_YUV444P10LE:
|
||||
@ -240,18 +244,26 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
|
||||
case AV_PIX_FMT_YUV444P12BE:
|
||||
case AV_PIX_FMT_YUV444P14LE:
|
||||
case AV_PIX_FMT_YUV444P14BE:
|
||||
case AV_PIX_FMT_YUV444P16LE:
|
||||
case AV_PIX_FMT_YUV444P16BE:
|
||||
case AV_PIX_FMT_YUVA420P9LE:
|
||||
case AV_PIX_FMT_YUVA420P9BE:
|
||||
case AV_PIX_FMT_YUVA420P10LE:
|
||||
case AV_PIX_FMT_YUVA420P10BE:
|
||||
case AV_PIX_FMT_YUVA420P16LE:
|
||||
case AV_PIX_FMT_YUVA420P16BE:
|
||||
case AV_PIX_FMT_YUVA422P9LE:
|
||||
case AV_PIX_FMT_YUVA422P9BE:
|
||||
case AV_PIX_FMT_YUVA422P10LE:
|
||||
case AV_PIX_FMT_YUVA422P10BE:
|
||||
case AV_PIX_FMT_YUVA422P16LE:
|
||||
case AV_PIX_FMT_YUVA422P16BE:
|
||||
case AV_PIX_FMT_YUVA444P9LE:
|
||||
case AV_PIX_FMT_YUVA444P9BE:
|
||||
case AV_PIX_FMT_YUVA444P10LE:
|
||||
case AV_PIX_FMT_YUVA444P10BE:
|
||||
case AV_PIX_FMT_YUVA444P16LE:
|
||||
case AV_PIX_FMT_YUVA444P16BE:
|
||||
case AV_PIX_FMT_GBRP9LE:
|
||||
case AV_PIX_FMT_GBRP9BE:
|
||||
case AV_PIX_FMT_GBRP10LE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user