Developer World
Spresense SDK Library v1.4.2-3df2e9d
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
 
}; 
 
uint32_t subimg_pixel_format
 
uint32_t subimg_type
 
union {
   struct v4l2_frmsize_discrete   discrete
 
   struct v4l2_frmsize_stepwise   stepwise
 
subimg
 

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

< Frame size Use in type = V4L2_FRMSIZE_TYPE_DISCRETE case

Frame size of subimage Use in subimg_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

Use in subimg_type = V4L2_FRMSIZE_TYPE_CONTINUOUS or V4L2_FRMSIZE_TYPE_STEPWISE case

◆ subimg_pixel_format

uint32_t subimg_pixel_format

Pixel format of sub image

◆ subimg_type

uint32_t subimg_type

Frame size type of subimage.


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