summaryrefslogtreecommitdiff
path: root/libavutil/pixdesc.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-05-08 08:39:37 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-05-08 08:39:37 +0200
commit143a5c55ff4d792e66045b6b0c44d26fe30158f1 (patch)
treedcf0c775022125e560716cd6b2baf791fe15147e /libavutil/pixdesc.c
parent7da0a07283e8546c7cf4cde9eca7ad4fe9f57fb4 (diff)
Add yuva422p pix_fmt.
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 8572719822..e73cf8d70a 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -572,6 +572,19 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
},
.flags = PIX_FMT_PLANAR,
},
+ [PIX_FMT_YUVA422P] = {
+ .name = "yuva422p",
+ .nb_components = 4,
+ .log2_chroma_w = 1,
+ .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_YUVA444P] = {
.name = "yuva444p",
.nb_components = 4,