ark::image::VideoDeviceConfiguration
Defined in header “ark/image/video_device.hh”.
A configuration for the given video device.
Variables
-
std::filesystem::path device_path
A reference to the path of the device you wish to open. -
std::filesystem::path plugin_path
An optional plugin. Plugins can be used to redirect calls to ioctl, and are typically used for V4L devices that have implementations in user mode instead of kernel mode. For example, nVidia commonly uses plugins. -
std::map< VideoStreamType, VideoStreamConfiguration > stream_configs
A mapping of configurations for each stream type you want to work with. If a stream type isn’t configured, it won’t be used by the device. -
std::map< std::string, int64_t > pre_format_controls
Additional control values that need to be set, pre format applications. -
std::map< std::string, int64_t > post_format_controls
Additional control values that need to be set, post format applications. -
bool non_blocking= false
If the device should be opened in non-blocking mode. -
bool treat_format_errors_as_warnings= false
If we should throw on mismatched format configuration. -
bool disable_video_controls= false
Disables video controls types and state (use if deserializers return errors for controls querying).