[FFmpeg-cvslog] Allow encoding rawvideo RGBA64 and friends.

Carl Eugen Hoyos git at videolan.org
Thu Feb 9 23:28:11 CET 2012


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Thu Feb  9 23:25:46 2012 +0100| [edf34c346ec9d5d1a790db4b500113bf8d5fac07] | committer: Carl Eugen Hoyos

Allow encoding rawvideo RGBA64 and friends.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=edf34c346ec9d5d1a790db4b500113bf8d5fac07
---

 libavcodec/raw.c  |    4 ++++
 libavformat/nut.c |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 320c4f4..ec532a3 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 b17beea..953ec36 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 ) },



More information about the ffmpeg-cvslog mailing list