[aravis] pixel_format: add ARV_PIXEL_FORMAT_BAYER_GR_12_PACKED



commit 6ea4ad1d2c68657525772be22565b0d086080086
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Wed Nov 7 11:13:06 2012 +0100

    pixel_format: add ARV_PIXEL_FORMAT_BAYER_GR_12_PACKED
    
    Fix https://bugzilla.gnome.org/show_bug.cgi?id=687833 .

 docs/reference/aravis/aravis-sections.txt |    1 +
 src/arvenums.h                            |    9 +++++----
 2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/aravis/aravis-sections.txt b/docs/reference/aravis/aravis-sections.txt
index c65fb86..7340e65 100644
--- a/docs/reference/aravis/aravis-sections.txt
+++ b/docs/reference/aravis/aravis-sections.txt
@@ -73,6 +73,7 @@ ArvCameraClass
 ArvPixelFormat
 ARV_PIXEL_FORMAT_BAYER_BG_10
 ARV_PIXEL_FORMAT_BAYER_BG_12
+ARV_PIXEL_FORMAT_BAYER_GR_12_PACKED
 ARV_PIXEL_FORMAT_BAYER_BG_12_PACKED
 ARV_PIXEL_FORMAT_BAYER_BG_8
 ARV_PIXEL_FORMAT_BAYER_GB_10
diff --git a/src/arvenums.h b/src/arvenums.h
index 687cd05..4595f52 100644
--- a/src/arvenums.h
+++ b/src/arvenums.h
@@ -74,10 +74,10 @@ typedef enum {
 const char * 		arv_acquisition_mode_to_string 		(ArvAcquisitionMode value);
 ArvAcquisitionMode 	arv_acquisition_mode_from_string	(const char *string);
 
-/* Grey pixel formats */
-
 typedef guint32 ArvPixelFormat;
 
+/* Grey pixel formats */
+
 #define	ARV_PIXEL_FORMAT_MONO_8			0x01080001
 #define	ARV_PIXEL_FORMAT_MONO_8_SIGNED		0x01080002
 
@@ -106,9 +106,10 @@ typedef guint32 ArvPixelFormat;
 #define ARV_PIXEL_FORMAT_BAYER_GB_12		0x01100012
 #define ARV_PIXEL_FORMAT_BAYER_BG_12		0x01100013
 
+#define ARV_PIXEL_FORMAT_BAYER_GR_12_PACKED	0x010c002a
 #define ARV_PIXEL_FORMAT_BAYER_BG_12_PACKED	0x010c002d
 
-	/* Color pixel formats */
+/* Color pixel formats */
 
 #define ARV_PIXEL_FORMAT_RGB_8_PACKED		0x02180014
 #define ARV_PIXEL_FORMAT_BGR_8_PACKED		0x02180015
@@ -133,7 +134,7 @@ typedef guint32 ArvPixelFormat;
 
 #define ARV_PIXEL_FORMAT_YUV_422_YUYV_PACKED 	0x02100032
 
-	/* Custom */
+/* Custom */
 
 #define ARV_PIXEL_FORMAT_CUSTOM_BAYER_GR_12_PACKED  	0x810c0001
 #define ARV_PIXEL_FORMAT_CUSTOM_BAYER_RG_12_PACKED  	0x810c0002



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