[FFmpeg-cvslog] raw, nut: Support rgba64 encoding

Carl Eugen Hoyos git at videolan.org
Mon Mar 17 15:50:33 CET 2014


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Thu Feb  9 23:25:46 2012 +0000| [58c215961a9067bb670387bbd72286c30de04b93] | committer: Vittorio Giovara

raw, nut: Support rgba64 encoding

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

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

diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 4ccc6cc..69999b3 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -84,6 +84,10 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
     { AV_PIX_FMT_BGR444BE, MKTAG(12 , 'R', 'G', 'B') },
     { AV_PIX_FMT_RGBA,     MKTAG('R', 'G', 'B', 'A') },
     { AV_PIX_FMT_BGRA,     MKTAG('B', 'G', 'R', 'A') },
+    { AV_PIX_FMT_RGBA64LE, MKTAG('R', 'B', 'A', 64 ) },
+    { AV_PIX_FMT_BGRA64LE, MKTAG('B', 'R', 'A', 64 ) },
+    { AV_PIX_FMT_RGBA64BE, MKTAG(64 , 'R', 'B', 'A') },
+    { AV_PIX_FMT_BGRA64BE, MKTAG(64 , 'B', 'R', 'A') },
     { AV_PIX_FMT_ABGR,     MKTAG('A', 'B', 'G', 'R') },
     { AV_PIX_FMT_ARGB,     MKTAG('A', 'R', 'G', 'B') },
     { AV_PIX_FMT_RGB24,    MKTAG('R', 'G', 'B', 24 ) },
diff --git a/libavformat/nut.c b/libavformat/nut.c
index d9a042b..43ae8a0 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -77,6 +77,10 @@ const AVCodecTag ff_nut_video_tags[] = {
     { AV_CODEC_ID_RAWVIDEO,         MKTAG('R', 'G', 'B',  48) },
     { AV_CODEC_ID_RAWVIDEO,         MKTAG(48,  'B', 'G', 'R') },
     { AV_CODEC_ID_RAWVIDEO,         MKTAG(48,  'R', 'G', 'B') },
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG('R', 'B', 'A', 64 ) },
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG('B', 'R', 'A', 64 ) },
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG(64 , 'R', 'B', 'A') },
+    { AV_CODEC_ID_RAWVIDEO,         MKTAG(64 , 'B', 'R', 'A') },
     { AV_CODEC_ID_RAWVIDEO,         MKTAG('Y', '3',  11,  10) },
     { AV_CODEC_ID_RAWVIDEO,         MKTAG(10,   11, '3', 'Y') },
     { AV_CODEC_ID_RAWVIDEO,         MKTAG('Y', '3',  10,  10) },



More information about the ffmpeg-cvslog mailing list