diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-01-27 04:43:23 +0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-01-27 05:24:08 +0400 |
commit | fc115c80b7bf6f1f5a937ee7f6e14630d99eb4dd (patch) | |
tree | 6f5541c79463819f6ce13ad898529f0c62e02e98 /libavutil/pixdesc.c | |
parent | b57d262412204e54a7ef8fa1b23ff4dcede622e5 (diff) |
sws/pixfmt/pixdesc: add support for yuva444p
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r-- | libavutil/pixdesc.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 6e1f23b97f..eeab7a76ed 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -521,6 +521,19 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { }, .flags = PIX_FMT_PLANAR, }, + [PIX_FMT_YUVA444P] = { + .name = "yuva444p", + .nb_components = 4, + .log2_chroma_w = 0, + .log2_chroma_h = 0, + .comp = { + { 0, 0, 1, 0, 7 }, /* Y */ + { 1, 0, 1, 0, 7 }, /* U */ + { 2, 0, 1, 0, 7 }, /* V */ + { 3, 0, 1, 0, 7 }, /* A */ + }, + .flags = PIX_FMT_PLANAR, + }, [PIX_FMT_VDPAU_H264] = { .name = "vdpau_h264", .log2_chroma_w = 1, |