Macros | |
#define | VIDIOC_QUERYCAP _VIDIOC(0x0000) |
#define | VIDIOC_ENUM_FMT _VIDIOC(0x0002) |
#define | VIDIOC_G_FMT _VIDIOC(0x0004) |
#define | VIDIOC_S_FMT _VIDIOC(0x0005) |
#define | VIDIOC_REQBUFS _VIDIOC(0x0008) |
#define | VIDIOC_QUERYBUF _VIDIOC(0x0009) |
#define | VIDIOC_G_FBUF _VIDIOC(0x000a) |
#define | VIDIOC_S_FBUF _VIDIOC(0x000b) |
#define | VIDIOC_OVERLAY _VIDIOC(0x000e) |
#define | VIDIOC_QBUF _VIDIOC(0x000f) |
#define | VIDIOC_EXPBUF _VIDIOC(0x0010) |
#define | VIDIOC_DQBUF _VIDIOC(0x0011) |
#define | VIDIOC_STREAMON _VIDIOC(0x0012) |
#define | VIDIOC_STREAMOFF _VIDIOC(0x0013) |
#define | VIDIOC_G_PARM _VIDIOC(0x0015) |
#define | VIDIOC_S_PARM _VIDIOC(0x0016) |
#define | VIDIOC_G_STD _VIDIOC(0x0017) |
#define | VIDIOC_S_STD _VIDIOC(0x0018) |
#define | VIDIOC_ENUMSTD _VIDIOC(0x0019) |
#define | VIDIOC_ENUMINPUT _VIDIOC(0x001a) |
#define | VIDIOC_G_CTRL _VIDIOC(0x001b) |
#define | VIDIOC_S_CTRL _VIDIOC(0x001c) |
#define | VIDIOC_QUERYCTRL _VIDIOC(0x0024) |
#define | VIDIOC_QUERYMENU _VIDIOC(0x0025) |
#define | VIDIOC_G_INPUT _VIDIOC(0x0026) |
#define | VIDIOC_S_INPUT _VIDIOC(0x0027) |
#define | VIDIOC_QUERYSTD _VIDIOC(0x003f) |
#define | VIDIOC_TRY_FMT _VIDIOC(0x0040) |
#define | VIDIOC_G_EXT_CTRLS _VIDIOC(0x0047) |
#define | VIDIOC_S_EXT_CTRLS _VIDIOC(0x0048) |
#define | VIDIOC_TRY_EXT_CTRLS _VIDIOC(0x0049) |
#define | VIDIOC_ENUM_FRAMESIZES _VIDIOC(0x004a) |
#define | VIDIOC_ENUM_FRAMEINTERVALS _VIDIOC(0x004b) |
#define | VIDIOC_G_SELECTION _VIDIOC(0x005e) |
#define | VIDIOC_S_SELECTION _VIDIOC(0x005f) |
#define | VIDIOC_QUERY_EXT_CTRL _VIDIOC(0x00c0) |
#define | VIDIOC_CANCEL_DQBUF _VIDIOC(0x00c1) |
#define | VIDIOC_DO_HALFPUSH _VIDIOC(0x00c2) |
#define | VIDIOC_TAKEPICT_START _VIDIOC(0x00c3) |
#define | VIDIOC_TAKEPICT_STOP _VIDIOC(0x00c4) |
#define | V4SIOC_QUERY_EXT_CTRL_SCENE _VIDIOC(0x00c5) |
#define | V4SIOC_QUERYMENU_SCENE _VIDIOC(0x00c6) |
#define | V4SIOC_G_EXT_CTRLS_SCENE _VIDIOC(0x00c7) |
#define | V4SIOC_S_EXT_CTRLS_SCENE _VIDIOC(0x00c8) |
#define VIDIOC_QUERYCAP _VIDIOC(0x0000) |
Query device capability
[in/out] | arg Address pointing to struct v4l2_capability |
#define VIDIOC_ENUM_FMT _VIDIOC(0x0002) |
Enumerate the formats supported by device
[in/out] | arg Address pointing to struct v4l2_fmtdesc |
#define VIDIOC_G_FMT _VIDIOC(0x0004) |
Get the data format
[in] | arg | Address pointing to struct v4l2_format |
#define VIDIOC_S_FMT _VIDIOC(0x0005) |
Set the data format
[in] | arg | Address pointing to struct v4l2_format |
#define VIDIOC_REQBUFS _VIDIOC(0x0008) |
Initiate user pointer I/O
[in] | arg | Address pointing to struct v4l2_requestbuffers |
#define VIDIOC_QBUF _VIDIOC(0x000f) |
Enqueue an empty buffer
[in] | arg | Address pointing to struct v4l2_buffer |
#define VIDIOC_DQBUF _VIDIOC(0x0011) |
Dequeue a filled buffer
[in] | arg | Address pointing to struct v4l2_buffer |
#define VIDIOC_STREAMON _VIDIOC(0x0012) |
Start streaming
[in] | arg | Address pointing to enum v4l2_buf_type |
#define VIDIOC_STREAMOFF _VIDIOC(0x0013) |
Stop streaming
[in] | arg | Address pointing to enum v4l2_buf_type |
#define VIDIOC_G_PARM _VIDIOC(0x0015) |
Get streaming parameters
[in] | arg | Address pointing to struct v4l2_streamparm |
#define VIDIOC_S_PARM _VIDIOC(0x0016) |
Set streaming parameters
[in] | arg | Address pointing to struct v4l2_streamparm |
#define VIDIOC_G_CTRL _VIDIOC(0x001b) |
Get current control value. This request is a special case of VIDIOC_G_EXT_CTRLS.
[in] | arg | Address pointing to struct v4l2_control |
#define VIDIOC_S_CTRL _VIDIOC(0x001c) |
Set control value. This request is a special case of VIDIOC_S_EXT_CTRLS.
[in] | arg | Address pointing to struct v4l2_control |
#define VIDIOC_QUERYCTRL _VIDIOC(0x0024) |
Query control
[in] | arg | Address pointing to struct v4l2_queryctrl |
#define VIDIOC_QUERYMENU _VIDIOC(0x0025) |
Query menu
[in] | arg | Address pointing to struct v4l2_querymenu |
#define VIDIOC_TRY_FMT _VIDIOC(0x0040) |
Try format
[in/out] | arg Address pointing to struct #v4l2_try_pix_format |
#define VIDIOC_G_EXT_CTRLS _VIDIOC(0x0047) |
Get current control value
[in/out] | arg Address pointing to struct v4l2_ext_controls |
#define VIDIOC_S_EXT_CTRLS _VIDIOC(0x0048) |
Set control value
[in/out] | arg Address pointing to struct v4l2_ext_controls |
#define VIDIOC_ENUM_FRAMESIZES _VIDIOC(0x004a) |
Enumerate the framesizes supported by device
[in/out] | arg Address pointing to struct v4l2_frmsizeenum |
#define VIDIOC_ENUM_FRAMEINTERVALS _VIDIOC(0x004b) |
Enumerate the frameintervals supported by device
[in/out] | arg Address pointing to struct v4l2_frmivalenum |
#define VIDIOC_G_SELECTION _VIDIOC(0x005e) |
Get clip
[out] | arg | Address pointing to struct v4l2_selection |
#define VIDIOC_S_SELECTION _VIDIOC(0x005f) |
Set clip
[in/out] | arg Address pointing to struct v4l2_selection |
#define VIDIOC_QUERY_EXT_CTRL _VIDIOC(0x00c0) |
Query control
[in/out] | arg Address pointing to struct v4l2_query_ext_ctrl |
#define VIDIOC_CANCEL_DQBUF _VIDIOC(0x00c1) |
Cancel DQBUF
[in] | arg | Address pointing to struct v4l2_buf_type |
#define VIDIOC_DO_HALFPUSH _VIDIOC(0x00c2) |
Do halfpush
[in] | arg | Address pointing to struct bool |
#define VIDIOC_TAKEPICT_START _VIDIOC(0x00c3) |
Start taking picture
[in] | arg | The 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. |
#define VIDIOC_TAKEPICT_STOP _VIDIOC(0x00c4) |
Stop taking picture
[in] | arg | Address pointing to bool |
#define V4SIOC_QUERY_EXT_CTRL_SCENE _VIDIOC(0x00c5) |
Query control for scene parameter
[in/out] | arg Address pointing to struct v4s_query_ext_ctrl_scene |
#define V4SIOC_QUERYMENU_SCENE _VIDIOC(0x00c6) |
Query menu for scene parameter
[in/out] | arg Address pointing to struct v4s_querymenu_scene |
#define V4SIOC_G_EXT_CTRLS_SCENE _VIDIOC(0x00c7) |
Get current control value
[in/out] | arg Address pointing to struct v4s_ext_controls_scene |
#define V4SIOC_S_EXT_CTRLS_SCENE _VIDIOC(0x00c8) |
Set control value
[in/out] | arg Address pointing to struct v4s_ext_controls_scene |