Class UVC

Inheritance Relationships

Base Type

Class Documentation

class UVC : public dai::NodeCRTP<Node, UVC, UVCProperties>

UVC (USB Video Class) node.

Public Functions

UVC(const std::shared_ptr<PipelineImpl> &par, int64_t nodeId)
UVC(const std::shared_ptr<PipelineImpl> &par, int64_t nodeId, std::unique_ptr<Properties> props)
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.

Public Members

Input input = {*this, "in", Input::Type::SReceiver, true, 8, true, {{DatatypeEnum::Buffer, 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"