|
TinyUVC 0.1.0
Header-only USB Video Class (UVC) device: turn an MCU into a USB webcam
|
The format, resolution and frame rate the host selected. More...
#include <UVCDefs.h>
Public Member Functions | |
| uint32_t | fps () const |
| Frame rate (frames per second, rounded) | |
| uint32_t | rawFrameSize () const |
| Size of an uncompressed YUY2 frame (0 for MJPEG) | |
| bool | operator== (const UVCStreamSettings &o) const |
| bool | operator!= (const UVCStreamSettings &o) const |
Public Attributes | |
| UVCFormat | format = UVCFormat::MJPEG |
| uint16_t | width = 0 |
| uint16_t | height = 0 |
| uint32_t | interval = 0 |
| Frame interval in 100ns units. | |
| uint8_t | formatIndex = 0 |
| 1-based UVC indexes as used in the probe/commit control | |
| uint8_t | frameIndex = 0 |
The format, resolution and frame rate the host selected.
|
inline |
Frame rate (frames per second, rounded)
|
inline |
|
inline |
|
inline |
Size of an uncompressed YUY2 frame (0 for MJPEG)
| UVCFormat tinyuvc::UVCStreamSettings::format = UVCFormat::MJPEG |
| uint8_t tinyuvc::UVCStreamSettings::formatIndex = 0 |
1-based UVC indexes as used in the probe/commit control
| uint8_t tinyuvc::UVCStreamSettings::frameIndex = 0 |
| uint16_t tinyuvc::UVCStreamSettings::height = 0 |
| uint32_t tinyuvc::UVCStreamSettings::interval = 0 |
Frame interval in 100ns units.
| uint16_t tinyuvc::UVCStreamSettings::width = 0 |