Skip to content

Commit 4358b03

Browse files
committed
v4l2: wip
1 parent 56bc041 commit 4358b03

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/arvv4l2device.c

+8
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343

4444
#define ARV_V4L2_ADDRESS_WIDTH 0x0100
4545
#define ARV_V4L2_ADDRESS_HEIGHT 0x0104
46+
#define ARV_V4L2_ADDRESS_GAIN 0x0110
4647
#define ARV_V4L2_ADDRESS_PAYLOAD_SIZE 0x0118
48+
#define ARV_V4L2_ADDRESS_EXPOSURE_TIME 0x0120
4749
#define ARV_V4L2_ADDRESS_ACQUISITION_COMMAND 0x0124
4850
#define ARV_V4L2_ADDRESS_PIXEL_FORMAT 0x0128
4951

@@ -309,6 +311,12 @@ arv_v4l2_device_read_memory (ArvDevice *device, guint64 address, guint32 size, v
309311
frame_size->discrete.height :
310312
frame_size->stepwise.max_height;
311313
break;
314+
case ARV_V4L2_ADDRESS_GAIN:
315+
value = 0;
316+
break;
317+
case ARV_V4L2_ADDRESS_EXPOSURE_TIME:
318+
value = 10;
319+
break;
312320
case ARV_V4L2_ADDRESS_PAYLOAD_SIZE:
313321
arv_v4l2_device_set_image_format (v4l2_device);
314322
arv_v4l2_device_get_image_format (v4l2_device, (guint32 *) &value,

0 commit comments

Comments
 (0)