Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Video Controls

Types used to access drivers video controls. More...

Data Structures

struct  video_ctrl
 Storage type for video controls. More...

Macros

#define VIDEO_CTRL_FLAG_READ_ONLY   BIT(0)
 Control is read-only.
#define VIDEO_CTRL_FLAG_WRITE_ONLY   BIT(1)
 Control is write-only.
#define VIDEO_CTRL_FLAG_VOLATILE   BIT(2)
 Control that needs a freshly read as constantly updated by HW.
#define VIDEO_CTRL_FLAG_INACTIVE   BIT(3)
 Control is inactive, e.g.
#define VIDEO_CTRL_FLAG_UPDATE   BIT(4)
 Control that affects other controls, e.g.

Enumerations

enum  video_ctrl_type {
  VIDEO_CTRL_TYPE_BOOLEAN = 1 , VIDEO_CTRL_TYPE_INTEGER = 2 , VIDEO_CTRL_TYPE_INTEGER64 = 3 , VIDEO_CTRL_TYPE_MENU = 4 ,
  VIDEO_CTRL_TYPE_STRING = 5 , VIDEO_CTRL_TYPE_INTEGER_MENU = 6
}
 Type of video control. More...

Detailed Description

Types used to access drivers video controls.

Macro Definition Documentation

◆ VIDEO_CTRL_FLAG_INACTIVE

#define VIDEO_CTRL_FLAG_INACTIVE   BIT(3)

#include <video.h>

Control is inactive, e.g.

manual controls of an autocluster in automatic mode

◆ VIDEO_CTRL_FLAG_READ_ONLY

#define VIDEO_CTRL_FLAG_READ_ONLY   BIT(0)

#include <video.h>

Control is read-only.

◆ VIDEO_CTRL_FLAG_UPDATE

#define VIDEO_CTRL_FLAG_UPDATE   BIT(4)

#include <video.h>

Control that affects other controls, e.g.

the primary control of a cluster

◆ VIDEO_CTRL_FLAG_VOLATILE

#define VIDEO_CTRL_FLAG_VOLATILE   BIT(2)

#include <video.h>

Control that needs a freshly read as constantly updated by HW.

◆ VIDEO_CTRL_FLAG_WRITE_ONLY

#define VIDEO_CTRL_FLAG_WRITE_ONLY   BIT(1)

#include <video.h>

Control is write-only.

Enumeration Type Documentation

◆ video_ctrl_type

#include <video.h>

Type of video control.

This is also affecting the size (32-bit or 64-bit).

Enumerator
VIDEO_CTRL_TYPE_BOOLEAN 

Boolean type.

VIDEO_CTRL_TYPE_INTEGER 

Integer type.

VIDEO_CTRL_TYPE_INTEGER64 

64-bit integer type

VIDEO_CTRL_TYPE_MENU 

Menu string type, standard or driver-defined menu.

VIDEO_CTRL_TYPE_STRING 

String type.

VIDEO_CTRL_TYPE_INTEGER_MENU 

Menu integer type, standard or driver-defined menu.