[aravis] fake: add exposure feature to the genicam file.



commit 4254f9ffb5876a7e5d843aa9e60913dc04e3e02d
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Fri May 7 17:10:36 2010 +0200

    fake: add exposure feature to the genicam file.

 src/arv-fake-camera.xml |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/src/arv-fake-camera.xml b/src/arv-fake-camera.xml
index e8a54f6..a4828c2 100644
--- a/src/arv-fake-camera.xml
+++ b/src/arv-fake-camera.xml
@@ -187,6 +187,28 @@
 		<Endianess>LittleEndian</Endianess>
 	</IntReg>
 
+	<Float Name="ExposureTimeAbs" NameSpace="Standard">
+		<Description>Exposure duration, in microseconds.</Description>
+		<pValue>ExposureTimeAbsConverter</pValue>
+		<Min>10.0</Min>
+		<Max>10000000.0</Max>
+	</Float>
+
+	<Converter Name="ExposureTimeAbsConverter" NameSpace="Custom">
+		<FormulaTo>FROM</FormulaTo>
+		<FormulaFrom>TO</FormulaFrom>
+		<pValue>ExposureTimeAbsRegister</pValue>
+	</Converter>
+
+	<IntReg Name="ExposureTimeAbsRegister" NameSpace="Custom">
+		<Address>0x120</Address>
+		<Length>4</Length>
+		<AccessMode>RW</AccessMode>
+		<pPort>Device</pPort>
+		<Sign>Unsigned</Sign>
+		<Endianess>LittleEndian</Endianess>
+	</IntReg>
+
 	<Port Name="Device" NameSpace="Standard">
 	</Port>
 



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