parameter of ioctl(VIDIOC_ENUM_FRAMESIZES) More...
#include <video.h>
Public Attributes | |
uint32_t | index |
uint32_t | buf_type |
uint32_t | pixel_format |
uint32_t | type |
union { | |
struct v4l2_frmsize_discrete discrete | |
struct v4l2_frmsize_stepwise stepwise | |
}; | |
parameter of ioctl(VIDIOC_ENUM_FRAMESIZES)
uint32_t index |
Frame size number
uint32_t buf_type |
enum v4l2_buf_type
uint32_t pixel_format |
Pixel format
uint32_t type |
Frame size type the device supports.
struct v4l2_frmsize_discrete discrete |
Use in type = V4L2_FRMSIZE_TYPE_DISCRETE case
struct v4l2_frmsize_stepwise stepwise |
Use in type = V4L2_FRMSIZE_TYPE_CONTINUOUS or V4L2_FRMSIZE_TYPE_STEPWISE case
union { ... } @7 |
In type == V4L2_FRMSIZE_TYPE_DISCRETE case, use discrete. Otherwise, use stepwise.