[FFmpeg-cvslog] r15218 - trunk/libavdevice/v4l2.c

lucabe subversion
Fri Sep 5 22:36:42 CEST 2008


Author: lucabe
Date: Fri Sep  5 22:36:42 2008
New Revision: 15218

Log:
Add support for the PIX_FMT_RGB555 and PIX_FMT_RGB565 pixel formats in
video4linux2 devices.
Patch by Jean Delvare (khali AT linux-fr DOT org)


Modified:
   trunk/libavdevice/v4l2.c

Modified: trunk/libavdevice/v4l2.c
==============================================================================
--- trunk/libavdevice/v4l2.c	(original)
+++ trunk/libavdevice/v4l2.c	Fri Sep  5 22:36:42 2008
@@ -99,6 +99,14 @@ static struct fmt_map fmt_conversion_tab
         .v4l2_fmt = V4L2_PIX_FMT_YUV410,
     },
     {
+        .ff_fmt = PIX_FMT_RGB555,
+        .v4l2_fmt = V4L2_PIX_FMT_RGB555,
+    },
+    {
+        .ff_fmt = PIX_FMT_RGB565,
+        .v4l2_fmt = V4L2_PIX_FMT_RGB565,
+    },
+    {
         .ff_fmt = PIX_FMT_BGR24,
         .v4l2_fmt = V4L2_PIX_FMT_BGR24,
     },




More information about the ffmpeg-cvslog mailing list