Go to the documentation of this file.
16 #define INDYCAM_ADDR 0x56
19 #define CAMERA_VERSION_INDY 0x10
20 #define CAMERA_VERSION_MOOSE 0x12
21 #define INDYCAM_VERSION_MAJOR(x) (((x) & 0xf0) >> 4)
22 #define INDYCAM_VERSION_MINOR(x) ((x) & 0x0f)
25 #define INDYCAM_REG_CONTROL 0x00
26 #define INDYCAM_REG_SHUTTER 0x01
27 #define INDYCAM_REG_GAIN 0x02
28 #define INDYCAM_REG_BRIGHTNESS 0x03
29 #define INDYCAM_REG_RED_BALANCE 0x04
30 #define INDYCAM_REG_BLUE_BALANCE 0x05
31 #define INDYCAM_REG_RED_SATURATION 0x06
32 #define INDYCAM_REG_BLUE_SATURATION 0x07
33 #define INDYCAM_REG_GAMMA 0x08
34 #define INDYCAM_REG_VERSION 0x0e
35 #define INDYCAM_REG_RESET 0x0f
37 #define INDYCAM_REG_LED 0x46
38 #define INDYCAM_REG_ORIENTATION 0x47
39 #define INDYCAM_REG_BUTTON 0x48
42 #define INDYCAM_CONTROL_AGCENA (1<<0)
43 #define INDYCAM_CONTROL_AWBCTL (1<<1)
45 #define INDYCAM_CONTROL_EVNFLD (1<<4)
47 #define INDYCAM_SHUTTER_10000 0x02
48 #define INDYCAM_SHUTTER_4000 0x04
49 #define INDYCAM_SHUTTER_2000 0x08
50 #define INDYCAM_SHUTTER_1000 0x10
51 #define INDYCAM_SHUTTER_500 0x20
52 #define INDYCAM_SHUTTER_250 0x3f
53 #define INDYCAM_SHUTTER_125 0x7e
54 #define INDYCAM_SHUTTER_100 0x9e
55 #define INDYCAM_SHUTTER_60 0x00
57 #define INDYCAM_LED_ACTIVE 0x10
58 #define INDYCAM_LED_INACTIVE 0x30
59 #define INDYCAM_ORIENTATION_BOTTOM_TO_TOP 0x40
60 #define INDYCAM_BUTTON_RELEASED 0x10
63 #define INDYCAM_SHUTTER_MIN 0x00
64 #define INDYCAM_SHUTTER_MAX 0xff
65 #define INDYCAM_GAIN_MIN 0x00
66 #define INDYCAM_GAIN_MAX 0xff
67 #define INDYCAM_RED_BALANCE_MIN 0x00
68 #define INDYCAM_RED_BALANCE_MAX 0xff
69 #define INDYCAM_BLUE_BALANCE_MIN 0x00
70 #define INDYCAM_BLUE_BALANCE_MAX 0xff
71 #define INDYCAM_RED_SATURATION_MIN 0x00
72 #define INDYCAM_RED_SATURATION_MAX 0xff
73 #define INDYCAM_BLUE_SATURATION_MIN 0x00
74 #define INDYCAM_BLUE_SATURATION_MAX 0xff
75 #define INDYCAM_GAMMA_MIN 0x00
76 #define INDYCAM_GAMMA_MAX 0xff
78 #define INDYCAM_AGC_DEFAULT 1
79 #define INDYCAM_AWB_DEFAULT 0
80 #define INDYCAM_SHUTTER_DEFAULT 0xff
81 #define INDYCAM_GAIN_DEFAULT 0x80
82 #define INDYCAM_RED_BALANCE_DEFAULT 0x18
83 #define INDYCAM_BLUE_BALANCE_DEFAULT 0xa4
84 #define INDYCAM_RED_SATURATION_DEFAULT 0x80
85 #define INDYCAM_BLUE_SATURATION_DEFAULT 0xc0
86 #define INDYCAM_GAMMA_DEFAULT 0x80
90 #define INDYCAM_CONTROL_RED_SATURATION (V4L2_CID_PRIVATE_BASE + 0)
91 #define INDYCAM_CONTROL_BLUE_SATURATION (V4L2_CID_PRIVATE_BASE + 1)