[aravis] genicam: define pixel format values.



commit 6f4d5f6170bf9bf9430ac2ab5bd039dcdeb0cc8e
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Mon May 10 09:52:52 2010 +0200

    genicam: define pixel format values.

 src/arvenums.h |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)
---
diff --git a/src/arvenums.h b/src/arvenums.h
index 27ef375..afd8423 100644
--- a/src/arvenums.h
+++ b/src/arvenums.h
@@ -45,6 +45,46 @@ typedef enum {
 	ARV_GC_CACHABLE_WRITE_AROUND
 } ArvGcCachable;
 
+typedef enum {
+	ARV_PIXEL_FORMAT_MONO_8			= 0x01080001,
+	ARV_PIXEL_FORMAT_MONO_10		= 0x01100003,
+	ARV_PIXEL_FORMAT_MONO_12		= 0x01100005,
+	ARV_PIXEL_FORMAT_MONO_12_PACKED		= 0x010c0006,
+	ARV_PIXEL_FORMAT_MONO_16		= 0x01100007,
+	ARV_PIXEL_FORMAT_BAYER_GR_8		= 0x01080008,
+	ARV_PIXEL_FORMAT_BAYER_RG_8		= 0x01080009,
+	ARV_PIXEL_FORMAT_BAYER_GB_8		= 0x0108000a,
+	ARV_PIXEL_FORMAT_BAYER_BG_8		= 0x0108000b,
+	ARV_PIXEL_FORMAT_BAYER_GR_10		= 0x0110000c,
+	ARV_PIXEL_FORMAT_BAYER_RG_10		= 0x0110000d,
+	ARV_PIXEL_FORMAT_BAYER_GB_10		= 0x0110000e,
+	ARV_PIXEL_FORMAT_BAYER_BG_10		= 0x0110000f,
+	ARV_PIXEL_FORMAT_BAYER_GR_12		= 0x01100010,
+	ARV_PIXEL_FORMAT_BAYER_RG_12		= 0x01100011,
+	ARV_PIXEL_FORMAT_BAYER_GB_12		= 0x01100012,
+	ARV_PIXEL_FORMAT_BAYER_BG_12		= 0x01100013,
+	ARV_PIXEL_FORMAT_RGB_8_PACKED		= 0x02180014,
+	ARV_PIXEL_FORMAT_BGR_8_PACKED		= 0x02180015,
+	ARV_PIXEL_FORMAT_RGBA_8_PACKED		= 0x02200016,
+	ARV_PIXEL_FORMAT_BGRA_8_PACKED		= 0x02200017,
+	ARV_PIXEL_FORMAT_RGB_10_PACKED		= 0x02300018,
+	ARV_PIXEL_FORMAT_BGR_10_PACKED		= 0x02300019,
+	ARV_PIXEL_FORMAT_RGB_12_PACKED		= 0x0230001a,
+	ARV_PIXEL_FORMAT_BGR_12_PACKED		= 0x0230001b,
+	ARV_PIXEL_FORMAT_YUV_411_PACKED		= 0x020c001e,
+	ARV_PIXEL_FORMAT_YUV_422_PACKED		= 0x0210001f,
+	ARV_PIXEL_FORMAT_YUV_444_PACKED		= 0x02180020,
+	ARV_PIXEL_FORMAT_BAYER_GR_12_PACKED  	= 0x810c0001,
+	ARV_PIXEL_FORMAT_BAYER_RG_12_PACKED  	= 0x810c0002,
+	ARV_PIXEL_FORMAT_BAYER_BG_12_PACKED  	= 0x810c0004,
+	ARV_PIXEL_FORMAT_BAYER_GB_12_PACKED  	= 0x810c0003,
+	ARV_PIXEL_FORMAT_YUV_422_YUYV_PACKED 	= 0x82100005,
+	ARV_PIXEL_FORMAT_BAYER_GR_16		= 0x81100006,
+	ARV_PIXEL_FORMAT_BAYER_RG_16		= 0x81100007,
+	ARV_PIXEL_FORMAT_BAYER_GB_16		= 0x81100008,
+	ARV_PIXEL_FORMAT_BAYER_BG_16		= 0x81100009
+} ArvPixelFormat;
+
 G_END_DECLS
 
 #endif



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