diff options
author | Peter Ross <pross@xvid.org> | 2011-03-17 21:15:57 +1100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-17 15:11:31 +0100 |
commit | e309fdc7018a1027d187ec27fb1d69a41a4ee167 (patch) | |
tree | 96335d6a34ebbd22c89493a4bc888b14d939eb7d /libavutil/pixdesc.c | |
parent | 969eb21ba21f0ed7154dd2a2fc754ef159df94a2 (diff) | |
download | ffmpeg-e309fdc7018a1027d187ec27fb1d69a41a4ee167.tar.gz |
Add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r-- | libavutil/pixdesc.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 83aa8b01d0..82dda06b4b 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -630,6 +630,29 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { {0,1,1,0,3}, /* B */ }, }, + [PIX_FMT_BGR48BE] = { + .name = "bgr48be", + .nb_components= 3, + .log2_chroma_w= 0, + .log2_chroma_h= 0, + .comp = { + {0,5,1,0,15}, /* B */ + {0,5,3,0,15}, /* G */ + {0,5,5,0,15}, /* R */ + }, + .flags = PIX_FMT_BE, + }, + [PIX_FMT_BGR48LE] = { + .name = "bgr48le", + .nb_components= 3, + .log2_chroma_w= 0, + .log2_chroma_h= 0, + .comp = { + {0,5,1,0,15}, /* B */ + {0,5,3,0,15}, /* G */ + {0,5,5,0,15}, /* R */ + }, + }, [PIX_FMT_BGR565BE] = { .name = "bgr565be", .nb_components= 3, |