Developer World
Spresense SDK Library v3.2.0-ebc0364
v4l2_frmsizeenum Struct Reference

parameter of ioctl(VIDIOC_ENUM_FRAMESIZES) More...

#include <video.h>

Collaboration diagram for v4l2_frmsizeenum:

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
 
}; 
 

Detailed Description

parameter of ioctl(VIDIOC_ENUM_FRAMESIZES)

Member Data Documentation

◆ index

uint32_t index

Frame size number

◆ buf_type

uint32_t buf_type

◆ pixel_format

uint32_t pixel_format

Pixel format

◆ type

uint32_t type

Frame size type the device supports.

◆ discrete

struct v4l2_frmsize_discrete discrete

Use in type = V4L2_FRMSIZE_TYPE_DISCRETE case

◆ stepwise

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.


The documentation for this struct was generated from the following file: