diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-03 18:57:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-03 19:03:26 +0200 |
commit | 6ca8ef51895ea134d0292addbc9ebaf0753e698b (patch) | |
tree | 11bd0ccbe0d8babb2f960eefe9e5b969818e4c70 /libavcodec/imgconvert.c | |
parent | e9757066e11a9acb98040489c1ffc8440cd74d0e (diff) | |
download | ffmpeg-6ca8ef51895ea134d0292addbc9ebaf0753e698b.tar.gz |
imgconvert: add yuv 9,10,12,14 bit planar YUV formats to pix_fmt_info
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r-- | libavcodec/imgconvert.c | 72 |
1 files changed, 72 insertions, 0 deletions
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, }, |