AV module

v4l2

Linux V4L2 device enumeration helpers.

Functions

ReturnNameDescription
boolgetDeviceListEnumerate video input devices using V4L2. Populates device capabilities (resolutions, frame rates, pixel formats).

getDeviceList

bool getDeviceList(Device::Type type, std::vector< av::Device > & devices)

Defined in src/av/include/icy/av/linux/v4l2.h:34

Enumerate video input devices using V4L2. Populates device capabilities (resolutions, frame rates, pixel formats).

Returns

True if enumeration succeeded.

Parameters

ParameterTypeDescription
typeDevice::TypeMust be Device::VideoInput.
devicesstd::vector< av::Device > &Output vector to fill with discovered devices.