duvc-ctl 2.0.0
USB Video Class Camera Control Library
Loading...
Searching...
No Matches
duvc.hpp File Reference

Main umbrella header for duvc-ctl library. More...

Include dependency graph for duvc.hpp:

Go to the source code of this file.

Namespaces

namespace  duvc
 

Functions

bool duvc::get (const Device &dev, CamProp prop, PropSetting &out)
 Get a camera control property value.
 
bool duvc::set (const Device &dev, CamProp prop, const PropSetting &in)
 Set a camera control property value.
 
bool duvc::get_range (const Device &dev, CamProp prop, PropRange &out)
 Get the valid range for a camera control property.
 
bool duvc::get (const Device &dev, VidProp prop, PropSetting &out)
 Get a video processing property value.
 
bool duvc::set (const Device &dev, VidProp prop, const PropSetting &in)
 Set a video processing property value.
 
bool duvc::get_range (const Device &dev, VidProp prop, PropRange &out)
 Get the valid range for a video processing property.
 

Detailed Description

Main umbrella header for duvc-ctl library.

This header provides both the full-featured RAII API (Camera, Result<T>) and a simplified quick API for common use cases (device enumeration, property get/set, capability snapshots).

Include this single header to access all functionality.

Definition in file duvc.hpp.