aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/pixdesc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-20 15:12:10 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-21 12:56:11 +0200
commita90baa63c33fbba3d79f5c119fd4c7fad722d701 (patch)
tree106906571fe44a7d67356ec5fa0cd51e2f967d05 /libavutil/pixdesc.c
parent1d8b1f0e51106c1a24cee565cd29ea469a1d83f8 (diff)
downloadffmpeg-a90baa63c33fbba3d79f5c119fd4c7fad722d701.tar.gz
add YUVJ411P
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r--libavutil/pixdesc.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index 8ec6c53083..17f7e27af7 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -225,6 +225,18 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
},
.flags = AV_PIX_FMT_FLAG_PLANAR,
},
+ [AV_PIX_FMT_YUVJ411P] = {
+ .name = "yuvj411p",
+ .nb_components = 3,
+ .log2_chroma_w = 2,
+ .log2_chroma_h = 0,
+ .comp = {
+ { 0, 0, 1, 0, 7 }, /* Y */
+ { 1, 0, 1, 0, 7 }, /* U */
+ { 2, 0, 1, 0, 7 }, /* V */
+ },
+ .flags = AV_PIX_FMT_FLAG_PLANAR,
+ },
[AV_PIX_FMT_GRAY8] = {
.name = "gray",
.nb_components = 1,