diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-09 12:26:18 +0000 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-04-07 23:50:34 +0200 |
commit | 8b17243d1742279bcb2368f8d325ea71e66736c8 (patch) | |
tree | 3a225d35ac9b7dfb356b6b25be041a884e1ecbc0 /libavutil/pixdesc.c | |
parent | 46439e156219d27f059cf687743ba5aacf238b87 (diff) | |
download | ffmpeg-8b17243d1742279bcb2368f8d325ea71e66736c8.tar.gz |
lavu: Add packed YVYU422 pixel format
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r-- | libavutil/pixdesc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 1b34fc9f1c..80c97b0096 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -152,6 +152,17 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { { 0, 3, 4, 0, 7 }, /* V */ }, }, + [AV_PIX_FMT_YVYU422] = { + .name = "yvyu422", + .nb_components = 3, + .log2_chroma_w = 1, + .log2_chroma_h = 0, + .comp = { + { 0, 1, 1, 0, 7 }, /* Y */ + { 0, 3, 2, 0, 7 }, /* V */ + { 0, 3, 4, 0, 7 }, /* U */ + }, + }, [AV_PIX_FMT_RGB24] = { .name = "rgb24", .nb_components = 3, |