From 6ca8ef51895ea134d0292addbc9ebaf0753e698b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 3 Jul 2012 18:57:02 +0200 Subject: [PATCH] imgconvert: add yuv 9,10,12,14 bit planar YUV formats to pix_fmt_info Signed-off-by: Michael Niedermayer --- libavcodec/imgconvert.c | 72 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index c038d893a6..04e83c91b0 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -90,6 +90,78 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { [PIX_FMT_YUV440P] = { .color_type = FF_COLOR_YUV, }, + [PIX_FMT_YUV420P9LE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV422P9LE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV444P9LE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV420P9BE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV422P9BE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV444P9BE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV420P10LE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV422P10LE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV444P10LE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV420P10BE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV422P10BE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV444P10BE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV420P12LE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV422P12LE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV444P12LE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV420P12BE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV422P12BE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV444P12BE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV420P14LE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV422P14LE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV444P14LE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV420P14BE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV422P14BE] = { + .color_type = FF_COLOR_YUV, + }, + [PIX_FMT_YUV444P14BE] = { + .color_type = FF_COLOR_YUV, + }, [PIX_FMT_YUV420P16LE] = { .color_type = FF_COLOR_YUV, },