summaryrefslogtreecommitdiff
path: root/libavutil/pixdesc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-01-27 00:43:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2012-01-28 01:30:41 +0100
commitf9ca1ac7968f155db51944eac11d393d862e1baa (patch)
tree5262b4b535362761fcb310259024d063316009fc /libavutil/pixdesc.c
parent01fcbdf9cedcf14418b5886205261e532167f949 (diff)
sws/pixfmt/pixdesc: add support for yuva444p
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> Conflicts: libavutil/avutil.h libavutil/pixfmt.h
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r--libavutil/pixdesc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index e73fbfe99d..c04ec3139e 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -571,6 +571,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,