[FFmpeg-devel] [PATCH 6/6] avdevice/v4l2: add V4L2_PIX_FMT_SRGGB8

Peter Ross pross at xvid.org
Sat Feb 22 13:42:15 CET 2014


---
 libavdevice/v4l2-common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavdevice/v4l2-common.c b/libavdevice/v4l2-common.c
index 572f0ed..1ab67e3 100644
--- a/libavdevice/v4l2-common.c
+++ b/libavdevice/v4l2-common.c
@@ -49,6 +49,7 @@ const struct fmt_map avpriv_fmt_conversion_table[] = {
 #ifdef V4L2_PIX_FMT_CPIA1
     { AV_PIX_FMT_NONE,    AV_CODEC_ID_CPIA,     V4L2_PIX_FMT_CPIA1   },
 #endif
+    { AV_PIX_FMT_BAYER_RGGB8, AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_SRGGB8 },
     { AV_PIX_FMT_NONE,    AV_CODEC_ID_NONE,     0                    },
 };
 
-- 
1.8.3.2

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140222/75b909d0/attachment.asc>


More information about the ffmpeg-devel mailing list