Lines 143-157
Link Here
|
143 |
/* |
143 |
/* |
144 |
* V4L2 Control identifiers. |
144 |
* V4L2 Control identifiers. |
145 |
*/ |
145 |
*/ |
146 |
#define V4L2_CTRL_CLASS_CAMERA 0x009A0000 /* Camera class controls */ |
|
|
147 |
|
148 |
#define V4L2_CID_POWER_LINE_FREQUENCY (V4L2_CID_BASE+24) |
149 |
enum v4l2_power_line_frequency { |
150 |
V4L2_CID_POWER_LINE_FREQUENCY_DISABLED = 0, |
151 |
V4L2_CID_POWER_LINE_FREQUENCY_50HZ = 1, |
152 |
V4L2_CID_POWER_LINE_FREQUENCY_60HZ = 2, |
153 |
}; |
154 |
|
155 |
#define V4L2_CID_HUE_AUTO (V4L2_CID_BASE+25) |
146 |
#define V4L2_CID_HUE_AUTO (V4L2_CID_BASE+25) |
156 |
#define V4L2_CID_WHITE_BALANCE_TEMPERATURE (V4L2_CID_BASE+26) |
147 |
#define V4L2_CID_WHITE_BALANCE_TEMPERATURE (V4L2_CID_BASE+26) |
157 |
#define V4L2_CID_SHARPNESS (V4L2_CID_BASE+27) |
148 |
#define V4L2_CID_SHARPNESS (V4L2_CID_BASE+27) |
Lines 161-172
Link Here
|
161 |
#define V4L2_CID_CAMERA_CLASS (V4L2_CTRL_CLASS_CAMERA | 1) |
152 |
#define V4L2_CID_CAMERA_CLASS (V4L2_CTRL_CLASS_CAMERA | 1) |
162 |
|
153 |
|
163 |
#define V4L2_CID_EXPOSURE_AUTO (V4L2_CID_CAMERA_CLASS_BASE+1) |
154 |
#define V4L2_CID_EXPOSURE_AUTO (V4L2_CID_CAMERA_CLASS_BASE+1) |
164 |
enum v4l2_exposure_auto_type { |
155 |
|
165 |
V4L2_EXPOSURE_MANUAL = 1, |
|
|
166 |
V4L2_EXPOSURE_AUTO = 2, |
167 |
V4L2_EXPOSURE_SHUTTER_PRIORITY = 4, |
168 |
V4L2_EXPOSURE_APERTURE_PRIORITY = 8 |
169 |
}; |
170 |
#define V4L2_CID_EXPOSURE_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+2) |
156 |
#define V4L2_CID_EXPOSURE_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+2) |
171 |
#define V4L2_CID_EXPOSURE_AUTO_PRIORITY (V4L2_CID_CAMERA_CLASS_BASE+3) |
157 |
#define V4L2_CID_EXPOSURE_AUTO_PRIORITY (V4L2_CID_CAMERA_CLASS_BASE+3) |
172 |
|
158 |
|