AV module
v4l2
Linux V4L2 device enumeration helpers.
Functions
| Return | Name | Description |
|---|---|---|
bool | getDeviceList | Enumerate 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
| Parameter | Type | Description |
|---|---|---|
type | Device::Type | Must be Device::VideoInput. |
devices | std::vector< av::Device > & | Output vector to fill with discovered devices. |
