PIX_FMT_422P10 support

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Baptiste Coudurier
2011-05-08 14:06:04 +02:00
committed by Michael Niedermayer
parent af3c8f8230
commit 299cbe2c9b
3 changed files with 28 additions and 0 deletions

View File

@@ -809,6 +809,29 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
},
.flags = PIX_FMT_BE,
},
[PIX_FMT_YUV422P10LE] = {
.name = "yuv422p10le",
.nb_components= 3,
.log2_chroma_w= 1,
.log2_chroma_h= 0,
.comp = {
{0,1,1,0,9}, /* Y */
{1,1,1,0,9}, /* U */
{2,1,1,0,9}, /* V */
},
},
[PIX_FMT_YUV422P10BE] = {
.name = "yuv422p10be",
.nb_components= 3,
.log2_chroma_w= 1,
.log2_chroma_h= 0,
.comp = {
{0,1,1,0,9}, /* Y */
{1,1,1,0,9}, /* U */
{2,1,1,0,9}, /* V */
},
.flags = PIX_FMT_BE,
},
[PIX_FMT_YUV422P16LE] = {
.name = "yuv422p16le",
.nb_components= 3,