Developer World
Spresense SDK Library release-v1.2.0-627f51e
Macros
IOCTL commands
Collaboration diagram for IOCTL commands:

Macros

#define VIDIOC_ENUM_FMT   _VIDIOC(0x0001)
 
#define VIDIOC_ENUM_FRAMESIZES   _VIDIOC(0x0002)
 
#define VIDIOC_ENUM_FRAMEINTERVALS   _VIDIOC(0x0003)
 
#define VIDIOC_TRY_FMT   _VIDIOC(0x0004)
 
#define VIDIOC_S_FMT   _VIDIOC(0x0005)
 
#define VIDIOC_S_PARM   _VIDIOC(0x0006)
 
#define VIDIOC_REQBUFS   _VIDIOC(0x0007)
 
#define VIDIOC_QBUF   _VIDIOC(0x0008)
 
#define VIDIOC_DQBUF   _VIDIOC(0x0009)
 
#define VIDIOC_STREAMON   _VIDIOC(0x000A)
 
#define VIDIOC_STREAMOFF   _VIDIOC(0x000B)
 
#define VIDIOC_DO_HALFPUSH   _VIDIOC(0x000C)
 
#define VIDIOC_TAKEPICT_START   _VIDIOC(0x000D)
 
#define VIDIOC_TAKEPICT_STOP   _VIDIOC(0x000E)
 
#define VIDIOC_QUERYCTRL   _VIDIOC(0x000F)
 
#define VIDIOC_QUERY_EXT_CTRL   _VIDIOC(0x0010)
 
#define VIDIOC_QUERYMENU   _VIDIOC(0x0011)
 
#define VIDIOC_G_CTRL   _VIDIOC(0x0012)
 
#define VIDIOC_S_CTRL   _VIDIOC(0x0013)
 
#define VIDIOC_G_EXT_CTRLS   _VIDIOC(0x0014)
 
#define VIDIOC_S_EXT_CTRLS   _VIDIOC(0x0015)
 
#define VIDIOC_CANCEL_DQBUF   _VIDIOC(0x0016)
 

Detailed Description

Macro Definition Documentation

◆ VIDIOC_CANCEL_DQBUF

#define VIDIOC_CANCEL_DQBUF   _VIDIOC(0x0016)

Cancel DQBUF

Parameters
[in]argenum v4l2_buf_type

◆ VIDIOC_DO_HALFPUSH

#define VIDIOC_DO_HALFPUSH   _VIDIOC(0x000C)

Do halfpush

Parameters
[in]argAddress pointing to bool

◆ VIDIOC_DQBUF

#define VIDIOC_DQBUF   _VIDIOC(0x0009)

Dequeue a filled buffer

Parameters
[out]argAddress pointing to struct v4l2_buffer

◆ VIDIOC_ENUM_FMT

#define VIDIOC_ENUM_FMT   _VIDIOC(0x0001)

Enumerate the formats supported by device

Parameters

◆ VIDIOC_ENUM_FRAMEINTERVALS

#define VIDIOC_ENUM_FRAMEINTERVALS   _VIDIOC(0x0003)

Enumerate the frameintervals supported by device

Parameters

◆ VIDIOC_ENUM_FRAMESIZES

#define VIDIOC_ENUM_FRAMESIZES   _VIDIOC(0x0002)

Enumerate the framesizes supported by device

Parameters

◆ VIDIOC_G_CTRL

#define VIDIOC_G_CTRL   _VIDIOC(0x0012)

Get current control value. This request is a special case of VIDIOC_G_EXT_CTRLS.

Parameters
[in]argAddress pointing to struct v4l2_control

◆ VIDIOC_G_EXT_CTRLS

#define VIDIOC_G_EXT_CTRLS   _VIDIOC(0x0014)

Get current control value

Parameters
[in]argAddress pointing to struct v4l2_ext_controls

◆ VIDIOC_QBUF

#define VIDIOC_QBUF   _VIDIOC(0x0008)

Enqueue an empty buffer

Parameters
[in]argAddress pointing to struct v4l2_buffer

◆ VIDIOC_QUERY_EXT_CTRL

#define VIDIOC_QUERY_EXT_CTRL   _VIDIOC(0x0010)

Query control

Parameters
[in]argAddress pointing to struct v4l2_query_ext_ctrl

◆ VIDIOC_QUERYCTRL

#define VIDIOC_QUERYCTRL   _VIDIOC(0x000F)

Query control

Parameters
[in]argAddress pointing to struct v4l2_queryctrl

◆ VIDIOC_QUERYMENU

#define VIDIOC_QUERYMENU   _VIDIOC(0x0011)

Query menu

Parameters
[in]argAddress pointing to struct v4l2_querymenu

◆ VIDIOC_REQBUFS

#define VIDIOC_REQBUFS   _VIDIOC(0x0007)

Initiate user pointer I/O

Parameters
[in]argAddress pointing to struct v4l2_requestbuffers

◆ VIDIOC_S_CTRL

#define VIDIOC_S_CTRL   _VIDIOC(0x0013)

Set control value. This request is a special case of VIDIOC_S_EXT_CTRLS.

Parameters
[in]argAddress pointing to struct v4l2_control

◆ VIDIOC_S_EXT_CTRLS

#define VIDIOC_S_EXT_CTRLS   _VIDIOC(0x0015)

Set control value

Parameters
[in]argAddress pointing to struct v4l2_ext_controls

◆ VIDIOC_S_FMT

#define VIDIOC_S_FMT   _VIDIOC(0x0005)

Set the data format.

Parameters
[in]argAddress pointing to struct v4l2_format

◆ VIDIOC_S_PARM

#define VIDIOC_S_PARM   _VIDIOC(0x0006)

Set the frame interval.

Parameters
[in]argAddress pointing to struct v4l2_streamparm

◆ VIDIOC_STREAMOFF

#define VIDIOC_STREAMOFF   _VIDIOC(0x000B)

Stop streaming

Parameters
[in]argAddress pointing to enum v4l2_buf_type

◆ VIDIOC_STREAMON

#define VIDIOC_STREAMON   _VIDIOC(0x000A)

Start streaming

Parameters
[in]argAddress pointing to enum v4l2_buf_type

◆ VIDIOC_TAKEPICT_START

#define VIDIOC_TAKEPICT_START   _VIDIOC(0x000D)

Start taking picture

Parameters
[in]argThe number of times the picture is taken. Type is int32_t, not address pointer.
0 or negative value means continuing until VIDIOC_TAKEPICT_STOP.
Positive value(to be supported) means continuing up to a specified number of times or until VIDIOC_TAKEPICT_STOP.

◆ VIDIOC_TAKEPICT_STOP

#define VIDIOC_TAKEPICT_STOP   _VIDIOC(0x000E)

Stop taking picture

Parameters
[in]argAddress pointing to bool

◆ VIDIOC_TRY_FMT

#define VIDIOC_TRY_FMT   _VIDIOC(0x0004)

Try format

Parameters