Class UVC

Inheritance Relationships

Base Type

Class Documentation

class UVC : public dai::DeviceNodeCRTP<DeviceNode, UVC, UVCProperties>

UVC (USB Video Class) node.

Public Functions

UVC() = default
UVC(std::unique_ptr<Properties> props)
virtual ~UVC()
void setGpiosOnInit(std::unordered_map<int, int> list)

Set GPIO list <gpio_number, value> for GPIOs to set (on/off) at init.

void setGpiosOnStreamOn(std::unordered_map<int, int> list)

Set GPIO list <gpio_number, value> for GPIOs to set when streaming is enabled.

void setGpiosOnStreamOff(std::unordered_map<int, int> list)

Set GPIO list <gpio_number, value> for GPIOs to set when streaming is disabled.

inline DeviceNodeCRTP()
inline DeviceNodeCRTP(const std::shared_ptr<Device> &device)
inline DeviceNodeCRTP(std::unique_ptr<Properties> props)
inline DeviceNodeCRTP(std::unique_ptr<Properties> props, bool confMode)
inline DeviceNodeCRTP(const std::shared_ptr<Device> &device, std::unique_ptr<Properties> props, bool confMode)

Public Members

Input input = {*this, {"in", DEFAULT_GROUP, true, 8, {{{DatatypeEnum::Buffer, true}}}, true}}

Input for image frames to be streamed over UVC Default queue is blocking with size 8

Public Static Attributes

static constexpr const char *NAME = "UVC"