Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
video_ctrl Struct Reference

Storage type for video controls. More...

#include <zephyr/drivers/video.h>

Data Fields

struct video_ctrlcluster
 Internal use for video control grouping.
uint8_t cluster_sz
 Internal use for video control grouping.
bool is_auto
 Internal use for auto control handling.
bool has_volatiles
 Internal use for volatile control handling.
const struct video_devicevdev
 Video device associated with this control.
uint32_t id
 Control ID, see Video Control IDs.
enum video_ctrl_type type
 Type of the control.
unsigned long flags
 Flags associated with this control.
struct video_ctrl_range range
 Acceptable range of values for this control.
union { 
   int32_t   val 
 Used for 32-bit control types. More...
   int64_t   val64 
 Used for 64-bit control types. More...
}; 
 Current value of this control.
union { 
   const char *const *   menu 
 Used for menu control types. More...
   const int64_t *   int_menu 
 Used for integer menu control types. More...
}; 
 Reference to list of possible values for menu controls types.
sys_dnode_t node
 Node place this control in a list.

Detailed Description

Storage type for video controls.

See also
video_control for the struct used in public API

Field Documentation

◆ [union]

union { ... } video_ctrl

Current value of this control.

◆ [union]

union { ... } video_ctrl

Reference to list of possible values for menu controls types.

◆ cluster

struct video_ctrl* video_ctrl::cluster

Internal use for video control grouping.

◆ cluster_sz

uint8_t video_ctrl::cluster_sz

Internal use for video control grouping.

◆ flags

unsigned long video_ctrl::flags

Flags associated with this control.

◆ has_volatiles

bool video_ctrl::has_volatiles

Internal use for volatile control handling.

◆ id

uint32_t video_ctrl::id

Control ID, see Video Control IDs.

◆ int_menu

const int64_t* video_ctrl::int_menu

Used for integer menu control types.

◆ is_auto

bool video_ctrl::is_auto

Internal use for auto control handling.

◆ menu

const char* const* video_ctrl::menu

Used for menu control types.

◆ node

sys_dnode_t video_ctrl::node

Node place this control in a list.

◆ range

struct video_ctrl_range video_ctrl::range

Acceptable range of values for this control.

◆ type

enum video_ctrl_type video_ctrl::type

Type of the control.

◆ val

int32_t video_ctrl::val

Used for 32-bit control types.

◆ val64

int64_t video_ctrl::val64

Used for 64-bit control types.

◆ vdev

const struct video_device* video_ctrl::vdev

Video device associated with this control.


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