[aravis] misc: add more pixel formats.



commit bb8c7222cda5c80b05ca0005a71369751eea527d
Author: Emmanuel Pacaud <pacaud lappc-p348 in2p3 fr>
Date:   Wed Nov 16 22:15:53 2011 +0100

    misc: add more pixel formats.

 src/arvenums.h |    2 ++
 src/arvmisc.c  |   10 ++++++++++
 2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/arvenums.h b/src/arvenums.h
index 879798f..c00517a 100644
--- a/src/arvenums.h
+++ b/src/arvenums.h
@@ -110,6 +110,8 @@ typedef enum {
 	ARV_PIXEL_FORMAT_BAYER_GB_12		= 0x01100012,
 	ARV_PIXEL_FORMAT_BAYER_BG_12		= 0x01100013,
 
+	ARV_PIXEL_FORMAT_BAYER_BG_12_PACKED	= 0x010c002d,
+
 	/* Color pixel formats */
 
 	ARV_PIXEL_FORMAT_RGB_8_PACKED		= 0x02180014,
diff --git a/src/arvmisc.c b/src/arvmisc.c
index 85765a5..41a0424 100644
--- a/src/arvmisc.c
+++ b/src/arvmisc.c
@@ -792,6 +792,16 @@ ArvGstCapsInfos arv_gst_caps_infos[] = {
 	       "video/x-raw-bayer",	8,	8,	0
 	},
 	{
+	       ARV_PIXEL_FORMAT_BAYER_BG_12,
+	       "video/x-raw-bayer, bpp=(int)16, depth=(int)12",
+	       "video/x-raw-bayer",	16,	12,	0
+	},
+	{
+	       ARV_PIXEL_FORMAT_BAYER_BG_12_PACKED,
+	       "video/x-raw-bayer, bpp=(int)12, depth=(int)12",
+	       "video/x-raw-bayer",	12,	12,	0
+	},
+	{
 		ARV_PIXEL_FORMAT_YUV_422_PACKED,
 		"video/x-raw-yuv, format=(fourcc)UYVY",
 		"video/x-raw-yuv",	0,	0,	ARV_MAKE_FOURCC ('U','Y','V','Y')



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]