OSDN Git Service

adds missing rgb/bgr 555 codec->fmt mappings, ok'ed by Michael
authorReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>
Fri, 27 Oct 2006 19:50:31 +0000 (19:50 +0000)
committerReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>
Fri, 27 Oct 2006 19:50:31 +0000 (19:50 +0000)
Originally committed as revision 6806 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/raw.c

index 661587b..dfe8b13 100644 (file)
@@ -52,6 +52,8 @@ const PixelFormatTag pixelFormatTags[] = {
     { PIX_FMT_YUV422,  MKTAG('Y', '4', '2', '2') },
     { PIX_FMT_UYVY422, MKTAG('U', 'Y', 'V', 'Y') },
     { PIX_FMT_GRAY8,   MKTAG('G', 'R', 'E', 'Y') },
+    { PIX_FMT_RGB555,  MKTAG('R', 'G', 'B', 15) },
+    { PIX_FMT_BGR555,  MKTAG('B', 'G', 'R', 15) },
 
     /* quicktime */
     { PIX_FMT_UYVY422, MKTAG('2', 'v', 'u', 'y') },