diff options
author | Themaister <maister@archlinux.us> | 2011-10-08 23:54:20 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-09 01:19:14 +0400 |
commit | a3e11fa43ce144fc1f4d1c9f81b7de8f18ff628f (patch) | |
tree | 3e2d49a0d00f892e05add8bad55d18957a90c3c8 /libavutil/pixdesc.c | |
parent | 96fad826ffde544591c850bfaf0bcce530fffaab (diff) |
Start adding pixel definitions for planar rgb.
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r-- | libavutil/pixdesc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 1b97ab2255..ba19afbda2 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -988,6 +988,15 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { {0,1,2,0,7}, /* A */ }, }, + [PIX_FMT_GBR24P] = { + .name = "gbr24p", + .nb_components= 3, + .comp = { + {0,1,1,0,7}, /* G */ + {1,1,1,0,7}, /* B */ + {2,1,1,0,7}, /* R */ + }, + }, }; static enum PixelFormat get_pix_fmt_internal(const char *name) |