aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/raw.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-02-09 23:20:48 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-02-09 23:20:48 +0100
commit5c2c6bbfbaf0d27e386e5f849de2a42fa207b3a3 (patch)
tree8af763fd258ba7a92b2b5b970e5b77e67e1ab020 /libavcodec/raw.c
parentdd7198b25fe16e45bcf86e0f1eca82baac7ef2de (diff)
downloadffmpeg-5c2c6bbfbaf0d27e386e5f849de2a42fa207b3a3.tar.gz
Allow encoding rawvideo RGB0 and friends.
Diffstat (limited to 'libavcodec/raw.c')
-rw-r--r--libavcodec/raw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index cfa650ee6b..320c4f4cb1 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -83,9 +83,13 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
{ PIX_FMT_RGB444BE, MKTAG(12 , 'B', 'G', 'R') },
{ PIX_FMT_BGR444BE, MKTAG(12 , 'R', 'G', 'B') },
{ PIX_FMT_RGBA, MKTAG('R', 'G', 'B', 'A') },
+ { PIX_FMT_RGB0, MKTAG('R', 'G', 'B', 0 ) },
{ PIX_FMT_BGRA, MKTAG('B', 'G', 'R', 'A') },
+ { PIX_FMT_BGR0, MKTAG('B', 'G', 'R', 0 ) },
{ PIX_FMT_ABGR, MKTAG('A', 'B', 'G', 'R') },
+ { PIX_FMT_0BGR, MKTAG( 0 , 'B', 'G', 'R') },
{ PIX_FMT_ARGB, MKTAG('A', 'R', 'G', 'B') },
+ { PIX_FMT_0RGB, MKTAG( 0 , 'R', 'G', 'B') },
{ PIX_FMT_RGB24, MKTAG('R', 'G', 'B', 24 ) },
{ PIX_FMT_BGR24, MKTAG('B', 'G', 'R', 24 ) },
{ PIX_FMT_YUV411P, MKTAG('4', '1', '1', 'P') },