[FFmpeg-cvslog] rawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE

Peter Ross git at videolan.org
Sat Mar 26 03:42:04 CET 2011


ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Sun Mar 20 00:24:24 2011 +1100| [7181627686ae107aecfdf6eee09d3cd066be6d5b] | committer: Peter Ross

rawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE

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

 libavcodec/raw.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 1fbf4d2..26b4df6 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -102,6 +102,8 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
     { PIX_FMT_BGR4_BYTE,MKTAG('R', '4', 'B', 'Y') },
     { PIX_FMT_RGB48LE,  MKTAG('R', 'G', 'B', 48 ) },
     { PIX_FMT_RGB48BE,  MKTAG( 48, 'R', 'G', 'B') },
+    { PIX_FMT_BGR48LE,  MKTAG('B', 'G', 'R', 48 ) },
+    { PIX_FMT_BGR48BE,  MKTAG( 48, 'B', 'G', 'R') },
     { PIX_FMT_GRAY16LE,    MKTAG('Y', '1',  0 , 16 ) },
     { PIX_FMT_GRAY16BE,    MKTAG(16 ,  0 , '1', 'Y') },
     { PIX_FMT_YUV420P16LE, MKTAG('Y', '3', 11 , 16 ) },




More information about the ffmpeg-cvslog mailing list