diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-05-11 10:00:50 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-05-11 14:38:14 +0200 |
commit | 5c511ad4ce20aff96ec587de1a8be6f28aed4544 (patch) | |
tree | 48c337fd8823c5707fbe3fa5be0f51ba88bed2db /libavutil/pixdesc.c | |
parent | b437f5b055497fc81b8061de593f3ef27657c1e3 (diff) | |
download | ffmpeg-5c511ad4ce20aff96ec587de1a8be6f28aed4544.tar.gz |
swscale: extend YUV422p support to 10bits depth
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r-- | libavutil/pixdesc.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index a291141436..bff45e522a 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -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, |