#include <video.h>
Public Attributes | ||
| uint16_t | id | |
| uint16_t | size | |
| union { | ||
| int32_t value | ||
| int64_t value64 | ||
| char * string | ||
| uint8_t * p_u8 | ||
| uint16_t * p_u16 | ||
| uint32_t * p_u32 | ||
| void * ptr | ||
| }; | ||
Structure for each control of ioctl(VIDIOC_G_EXT_CTRLS / VIDIOC_S_EXT_CTRLS)
| uint16_t id |
Camera control id
| uint16_t size |
Size of value(not use)
| int32_t value |
QUERY_EXT_CTRL type = INTEGER, xxx
| int64_t value64 |
QUERY_EXT_CTRL type = INTEGER64, MENU
| uint8_t* p_u8 |
QUERY_EXT_CTRL type = U8
| uint16_t* p_u16 |
QUERY_EXT_CTRL type = U16
| uint32_t* p_u32 |
QUERY_EXT_CTRL type = U32