diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-10-01 04:18:02 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-10-12 15:09:51 +0200 |
commit | 6d5600e8556a632ca62a2807d994c40251db3bdd (patch) | |
tree | dc1c5040590aa58728c85ba29be488155c2fbb8f /libavutil/pixdesc.c | |
parent | 22c8cbc0da8be2ba80190d42d381f63da389734f (diff) | |
download | ffmpeg-6d5600e8556a632ca62a2807d994c40251db3bdd.tar.gz |
avutil: add yuva422p and yuva444p formats
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r-- | libavutil/pixdesc.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 3a1f9fe957..b8cfabd6ef 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -532,6 +532,32 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { }, .flags = PIX_FMT_PLANAR, }, + [AV_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, + }, + [AV_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, + }, [AV_PIX_FMT_VDPAU_H264] = { .name = "vdpau_h264", .log2_chroma_w = 1, |