duvc-ctl 2.1.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
23
24enum class CamMode { Auto, Manual };
25
26struct PropSetting {
27 int value;
29};
30
31struct PropRange {
32 int min;
33 int max;
34 int step;
35 int default_val;
37};
38
39struct Device {
40 std::wstring name;
41 std::wstring path;
42};
43
44}
45// namespace duvc
Definition core.h:13
VidProp
Video processing properties (IAMVideoProcAmp interface)
Definition types.h:50
@ PowerLineFrequency
Power line frequency (anti-flicker setting)
@ DigitalMultiplier
Digital multiplier level.
@ Saturation
Color saturation level.
@ Gain
Sensor gain level.
@ WhiteBalanceComponent
White balance component adjustment.
@ WhiteBalance
White balance adjustment.
@ DigitalMultiplierLimit
Maximum digital multiplier level.
@ 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:70
@ 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:137
std::wstring name
Human-readable device name.
Definition types.h:136
int default_val
Default value.
Definition types.h:100
int min
Minimum supported value.
Definition types.h:97
int step
Step size between valid values.
Definition types.h:99
int max
Maximum supported value.
Definition types.h:98
CamMode default_mode
Default control mode.
Definition types.h:101
int value
Property value.
Definition types.h:79
CamMode mode
Control mode (auto/manual)
Definition types.h:80