aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-02-09 23:25:46 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-02-09 23:25:46 +0100
commitedf34c346ec9d5d1a790db4b500113bf8d5fac07 (patch)
tree9a2707f63b159c7fe7123f88481328ccd1a44ee8
parent5c2c6bbfbaf0d27e386e5f849de2a42fa207b3a3 (diff)
downloadffmpeg-edf34c346ec9d5d1a790db4b500113bf8d5fac07.tar.gz
Allow encoding rawvideo RGBA64 and friends.
-rw-r--r--libavcodec/raw.c4
-rw-r--r--libavformat/nut.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 320c4f4cb1..ec532a32c4 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -82,6 +82,10 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
{ PIX_FMT_BGR444LE, MKTAG('B', 'G', 'R', 12) },
{ PIX_FMT_RGB444BE, MKTAG(12 , 'B', 'G', 'R') },
{ PIX_FMT_BGR444BE, MKTAG(12 , 'R', 'G', 'B') },
+ { PIX_FMT_RGBA64LE, MKTAG('R', 'B', 'A', 64 ) },
+ { PIX_FMT_BGRA64LE, MKTAG('B', 'R', 'A', 64 ) },
+ { PIX_FMT_RGBA64BE, MKTAG(64 , 'R', 'B', 'A') },
+ { PIX_FMT_BGRA64BE, MKTAG(64 , 'B', 'R', 'A') },
{ PIX_FMT_RGBA, MKTAG('R', 'G', 'B', 'A') },
{ PIX_FMT_RGB0, MKTAG('R', 'G', 'B', 0 ) },
{ PIX_FMT_BGRA, MKTAG('B', 'G', 'R', 'A') },
diff --git a/libavformat/nut.c b/libavformat/nut.c
index b17beea68b..953ec3679e 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -74,6 +74,10 @@ const AVCodecTag ff_nut_video_tags[] = {
{ CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 48 ) },
{ CODEC_ID_RAWVIDEO, MKTAG(48 , 'B', 'G', 'R') },
{ CODEC_ID_RAWVIDEO, MKTAG(48 , 'R', 'G', 'B') },
+ { CODEC_ID_RAWVIDEO, MKTAG('B', 'R', 'A', 64 ) },
+ { CODEC_ID_RAWVIDEO, MKTAG('R', 'B', 'A', 64 ) },
+ { CODEC_ID_RAWVIDEO, MKTAG(64 , 'B', 'R', 'A') },
+ { CODEC_ID_RAWVIDEO, MKTAG(64 , 'R', 'B', 'A') },
{ CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 11 , 10 ) },
{ CODEC_ID_RAWVIDEO, MKTAG(10 , 11 , '3', 'Y') },
{ CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 10 , 10 ) },