diff options
author | Andreas Öman <andreas@lonelycoder.com> | 2010-04-14 20:15:19 +0000 |
---|---|---|
committer | Andreas Öman <andreas@lonelycoder.com> | 2010-04-14 20:15:19 +0000 |
commit | 4744f896e5290d30539b3531c017d574847cdd59 (patch) | |
tree | 7894ba7407760280cf49de5252a7dd4a85fa0598 /libavutil/pixdesc.c | |
parent | d21b227818a985ffbda756127af4fcbb0d1a7362 (diff) | |
download | ffmpeg-4744f896e5290d30539b3531c017d574847cdd59.tar.gz |
Add PIX_FMT_Y400A, 8bit gray, 8bit alpha
Originally committed as revision 22881 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r-- | libavutil/pixdesc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 6612b9e89d..82b3631e4a 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -779,6 +779,14 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_h = 1, .flags = PIX_FMT_HWACCEL, }, + [PIX_FMT_Y400A] = { + .name = "y400a", + .nb_components= 2, + .comp = { + {0,1,1,0,7}, /* Y */ + {0,1,2,0,7}, /* A */ + }, + }, }; static enum PixelFormat get_pix_fmt_internal(const char *name) |