[SCM] libav/experimental: adds missing rgb/bgr 565 codec->fmt mappings, ok'ed by Michael

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:52:40 UTC 2013


The following commit has been merged in the experimental branch:
commit ce459e12da901ae37604f83f040411f33fa0d424
Author: Reynaldo H. Verdejo Pinochet <reynaldo at opendot.cl>
Date:   Fri Oct 27 19:53:41 2006 +0000

    adds missing rgb/bgr 565 codec->fmt mappings, ok'ed by Michael
    
    Originally committed as revision 6807 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index dfe8b13..1212e25 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -54,6 +54,8 @@ const PixelFormatTag pixelFormatTags[] = {
     { PIX_FMT_GRAY8,   MKTAG('G', 'R', 'E', 'Y') },
     { PIX_FMT_RGB555,  MKTAG('R', 'G', 'B', 15) },
     { PIX_FMT_BGR555,  MKTAG('B', 'G', 'R', 15) },
+    { PIX_FMT_RGB565,  MKTAG('R', 'G', 'B', 16) },
+    { PIX_FMT_BGR565,  MKTAG('B', 'G', 'R', 16) },
 
     /* quicktime */
     { PIX_FMT_UYVY422, MKTAG('2', 'v', 'u', 'y') },

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list