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

Peter Ross git at videolan.org
Fri Apr 29 04:38:02 CEST 2011


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

rawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE

Signed-off-by: Anton Khirnov <anton at khirnov.net>

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

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

diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index c2a060b..7d92aba 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