duvc-ctl 2.0.0
USB Video Class Camera Control Library
Loading...
Searching...
No Matches
defs.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5namespace duvc {
6
16
22
23enum class CamMode { Auto, Manual };
24
25struct PropSetting {
26 int value;
28};
29
30struct PropRange {
31 int min;
32 int max;
33 int step;
34 int default_val;
36};
37
38struct Device {
39 std::wstring name;
40 std::wstring path;
41};
42
43}
44// namespace duvc
Definition core.h:13
VidProp
Video processing properties (IAMVideoProcAmp interface)
Definition types.h:50
@ Saturation
Color saturation level.
@ Gain
Sensor gain level.
@ WhiteBalance
White balance adjustment.
@ Brightness
Image brightness level.
@ ColorEnable
Color vs. monochrome mode.
@ Sharpness
Image sharpness level.
@ Contrast
Image contrast level.
@ Gamma
Gamma correction value.
@ Hue
Color hue adjustment.
CamMode
Property control mode.
Definition types.h:66
@ Auto
Automatic control by camera.
@ Manual
Manual control by application.
CamProp
Camera control properties (IAMCameraControl interface)
Definition types.h:18
@ ExposureRelative
Relative exposure adjustment.
@ Roll
Camera roll rotation.
@ FocusSimple
Simple focus control.
@ PanRelative
Relative pan movement.
@ RollRelative
Relative roll movement.
@ Zoom
Optical zoom level.
@ Lamp
Camera lamp/flash control.
@ PanTiltRelative
Relative pan/tilt movement.
@ Tilt
Vertical camera rotation.
@ TiltRelative
Relative tilt movement.
@ ScanMode
Scan mode (progressive/interlaced)
@ ZoomRelative
Relative zoom movement.
@ Privacy
Privacy mode on/off.
@ IrisRelative
Relative iris adjustment.
@ Iris
Aperture/iris setting.
@ Exposure
Exposure time.
@ Focus
Focus position.
@ FocusRelative
Relative focus adjustment.
@ PanTilt
Combined pan/tilt control.
@ DigitalZoomRelative
Relative digital zoom.
@ Pan
Horizontal camera rotation.
@ BacklightCompensation
Backlight compensation.
@ DigitalZoom
Digital zoom level.
std::wstring path
Unique device path/identifier.
Definition types.h:133
std::wstring name
Human-readable device name.
Definition types.h:132
int default_val
Default value.
Definition types.h:96
int min
Minimum supported value.
Definition types.h:93
int step
Step size between valid values.
Definition types.h:95
int max
Maximum supported value.
Definition types.h:94
CamMode default_mode
Default control mode.
Definition types.h:97
int value
Property value.
Definition types.h:75
CamMode mode
Control mode (auto/manual)
Definition types.h:76