Linux V4L2 device enumeration helpers.
| Return | Name | Description |
|---|---|---|
bool | getDeviceList | Enumerate video input devices using V4L2. Populates device capabilities (resolutions, frame rates, pixel formats). |
bool getDeviceList(Device::Type type, std::vector< av::Device > & devices)Enumerate video input devices using V4L2. Populates device capabilities (resolutions, frame rates, pixel formats).
type Must be Device::VideoInput.
devices Output vector to fill with discovered devices.
True if enumeration succeeded.