Developer World
Spresense SDK v1.3.1
Classes | Typedefs | Enumerations | Functions | Variables
Data types
Collaboration diagram for Data types:

Classes

struct  v4l2_requestbuffers
 parameter of ioctl(VIDIOC_REQBUFS) More...
 
struct  v4l2_timecode
 
struct  v4l2_plane
 
struct  v4l2_buffer
 Parameter of ioctl(VIDIOC_QBUF) and ioctl(VIDIOC_DQBUF).
Currently, support only index, type, bytesused, memory, m.userptr, and length. More...
 
struct  v4l2_fmtdesc
 parameter of ioctl(VIDIOC_ENUM_FMT) More...
 
struct  v4l2_frmsize_discrete
 
struct  v4l2_frmsize_stepwise
 
struct  v4l2_frmsizeenum
 parameter of ioctl(VIDIOC_ENUM_FRAMESIZES) More...
 
struct  v4l2_fract
 
struct  v4l2_frmival_stepwise
 
struct  v4l2_frmivalenum
 parameter of ioctl(VIDIOC_ENUM_FRAMEINTERVALS) More...
 
struct  v4l2_pix_format
 
struct  v4l2_format
 parameter of ioctl(VIDIOC_S_FMT) More...
 
struct  v4l2_captureparm
 
struct  v4l2_streamparm
 parameter of ioctl(VIDIOC_S_PARM) More...
 
struct  v4l2_queryctrl
 parameter of ioctl(VIDIOC_QUERYCTRL) More...
 
struct  v4l2_query_ext_ctrl
 parameter of ioctl(VIDIOC_QUERY_EXT_CTRL) More...
 
struct  v4l2_querymenu
 parameter of ioctl(VIDIOC_QUERYMENU) More...
 
struct  v4l2_control
 parameter of ioctl(VIDIOC_G_CTRL / VIDIOC_S_CTRL) More...
 
struct  v4l2_ext_control
 
struct  v4l2_ext_controls
 parameter of ioctl(VIDIOC_G_EXT_CTRLS / VIDIOC_S_EXT_CTRLS) More...
 

Typedefs

typedef struct v4l2_requestbuffers v4l2_requestbuffers_t
 
typedef struct v4l2_timecode v4l2_timecode_t
 
typedef struct v4l2_plane v4l2_plane_t
 
typedef struct v4l2_buffer v4l2_buffer_t
 
typedef struct v4l2_pix_format v4l2_pix_format_t
 
typedef struct v4l2_format v4l2_format_t
 

Enumerations

enum  v4l2_buf_type {
  V4L2_BUF_TYPE_VIDEO_CAPTURE = 1, V4L2_BUF_TYPE_VIDEO_OUTPUT = 2, V4L2_BUF_TYPE_VIDEO_OVERLAY = 3, V4L2_BUF_TYPE_VBI_CAPTURE = 4,
  V4L2_BUF_TYPE_VBI_OUTPUT = 5, V4L2_BUF_TYPE_SLICED_VBI_CAPTURE = 6, V4L2_BUF_TYPE_SLICED_VBI_OUTPUT = 7, V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY = 8,
  V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = 9, V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE = 10, V4L2_BUF_TYPE_SDR_CAPTURE = 11, V4L2_BUF_TYPE_SDR_OUTPUT = 12,
  V4L2_BUF_TYPE_META_CAPTURE = 13, V4L2_BUF_TYPE_PRIVATE = 0x80, V4L2_BUF_TYPE_STILL_CAPTURE = 0x81
}
 
enum  v4l2_memory { V4L2_MEMORY_MMAP = 1, V4L2_MEMORY_USERPTR = 2, V4L2_MEMORY_OVERLAY = 3, V4L2_MEMORY_DMABUF = 4 }
 
enum  v4l2_field {
  V4L2_FIELD_ANY = 0, V4L2_FIELD_NONE = 1, V4L2_FIELD_TOP = 2, V4L2_FIELD_BOTTOM = 3,
  V4L2_FIELD_INTERLACED = 4, V4L2_FIELD_SEQ_TB = 5, V4L2_FIELD_SEQ_BT = 6, V4L2_FIELD_ALTERNATE = 7,
  V4L2_FIELD_INTERLACED_TB = 8, V4L2_FIELD_INTERLACED_BT = 9
}
 
enum  v4l2_buf_mode { V4L2_BUF_MODE_RING = 0, V4L2_BUF_MODE_FIFO = 1 }
 
enum  v4l2_frmsizetypes { V4L2_FRMSIZE_TYPE_DISCRETE = 1, V4L2_FRMSIZE_TYPE_CONTINUOUS = 2, V4L2_FRMSIZE_TYPE_STEPWISE = 3 }
 
enum  v4l2_frmivaltypes { V4L2_FRMIVAL_TYPE_DISCRETE = 1, V4L2_FRMIVAL_TYPE_CONTINUOUS = 2, V4L2_FRMIVAL_TYPE_STEPWISE = 3 }
 
enum  v4l2_ctrl_type {
  V4L2_CTRL_TYPE_INTEGER = 1, V4L2_CTRL_TYPE_BOOLEAN = 2, V4L2_CTRL_TYPE_MENU = 3, V4L2_CTRL_TYPE_BUTTON = 4,
  V4L2_CTRL_TYPE_INTEGER64 = 5, V4L2_CTRL_TYPE_CTRL_CLASS = 6, V4L2_CTRL_TYPE_STRING = 7, V4L2_CTRL_TYPE_BITMASK = 8,
  V4L2_CTRL_TYPE_INTEGER_MENU = 9, V4L2_CTRL_TYPE_U8FIXEDPOINT_Q7 = 10, V4L2_CTRL_TYPE_U16FIXEDPOINT_Q8 = 11, V4L2_CTRL_TYPE_INTEGER_TIMES_3 = 12,
  V4L2_CTRL_COMPOUND_TYPES = 0x0100, V4L2_CTRL_TYPE_U8 = 0x0100, V4L2_CTRL_TYPE_U16 = 0x0101, V4L2_CTRL_TYPE_U32 = 0x0102
}
 

Functions

struct v4l2_querymenu __attribute__ ((packed))
 

Variables

struct v4l2_control __attribute__
 

Detailed Description

Enumeration Type Documentation

◆ v4l2_buf_mode

Buffer mode

Enumerator
V4L2_BUF_MODE_RING 

Ring structure

V4L2_BUF_MODE_FIFO 

FIFO structure

◆ v4l2_buf_type

Buffer type. Currently, support only V4L2_BUF_TYPE_VIDEO_CAPTURE and V4L2_BUF_TYPE_STILL_CAPTURE.

Enumerator
V4L2_BUF_TYPE_VIDEO_CAPTURE 

single-planar video capture stream

V4L2_BUF_TYPE_VIDEO_OUTPUT 

single-planar video output stream

V4L2_BUF_TYPE_VIDEO_OVERLAY 

video overlay

V4L2_BUF_TYPE_VBI_CAPTURE 

raw VBI capture stream

V4L2_BUF_TYPE_VBI_OUTPUT 

raw VBI output stream

V4L2_BUF_TYPE_SLICED_VBI_CAPTURE 

sliced VBI capture stream

V4L2_BUF_TYPE_SLICED_VBI_OUTPUT 

sliced VBI output stream

V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY 

video output overlay

V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE 

multi-planar video capture stream

V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE 

multi-planar video output stream

V4L2_BUF_TYPE_SDR_CAPTURE 

Software Defined Radio capture stream

V4L2_BUF_TYPE_SDR_OUTPUT 

Software Defined Radio output stream

V4L2_BUF_TYPE_META_CAPTURE 

metadata capture

V4L2_BUF_TYPE_PRIVATE 

Deprecated, do not use

V4L2_BUF_TYPE_STILL_CAPTURE 

single-planar still capture stream

◆ v4l2_field

enum v4l2_field

Field order. Currently, support only V4L2_FIELD_ANY

Enumerator
V4L2_FIELD_ANY 

driver can choose from none,

V4L2_FIELD_NONE 

this device has no fields ...

V4L2_FIELD_TOP 

top field only

V4L2_FIELD_BOTTOM 

bottom field only

V4L2_FIELD_INTERLACED 

both fields interlaced

V4L2_FIELD_SEQ_TB 

both fields sequential into one

V4L2_FIELD_SEQ_BT 

same as above + bottom-top order

V4L2_FIELD_ALTERNATE 

both fields alternating into

V4L2_FIELD_INTERLACED_TB 

both fields interlaced, top field

V4L2_FIELD_INTERLACED_BT 

both fields interlaced, top field

◆ v4l2_frmivaltypes

type of frame interval enumeration

Enumerator
V4L2_FRMIVAL_TYPE_DISCRETE 

Discrete value

V4L2_FRMIVAL_TYPE_CONTINUOUS 

Continuous value

V4L2_FRMIVAL_TYPE_STEPWISE 

Step value

◆ v4l2_frmsizetypes

Enumerator
V4L2_FRMSIZE_TYPE_DISCRETE 

Discrete value

V4L2_FRMSIZE_TYPE_CONTINUOUS 

Continous value

V4L2_FRMSIZE_TYPE_STEPWISE 

Step value

◆ v4l2_memory

Memory I/O method. Currently, support only V4L2_MEMORY_USERPTR.

Enumerator
V4L2_MEMORY_MMAP 

memory mapping I/O

V4L2_MEMORY_USERPTR 

user pointer I/O

V4L2_MEMORY_OVERLAY 

overlay I/O

V4L2_MEMORY_DMABUF 

DMA shared buffer I/O