Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-03 20:57:02 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-07-03 21:03:26 +0400
commit6ca8ef51895ea134d0292addbc9ebaf0753e698b (patch)
tree11bd0ccbe0d8babb2f960eefe9e5b969818e4c70 /libavcodec/imgconvert.c
parente9757066e11a9acb98040489c1ffc8440cd74d0e (diff)
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.c72
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,
},