Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
3.0.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
video-controls.h
Go to the documentation of this file.
1
7
/*
8
* Copyright (c) 2019 Linaro Limited.
9
*
10
* SPDX-License-Identifier: Apache-2.0
11
*/
12
#ifndef ZEPHYR_INCLUDE_VIDEO_CONTROLS_H_
13
#define ZEPHYR_INCLUDE_VIDEO_CONTROLS_H_
14
22
#include <device.h>
23
#include <stddef.h>
24
#include <zephyr.h>
25
26
#include <
zephyr/types.h
>
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
32
/* Control classes */
33
#define VIDEO_CTRL_CLASS_GENERIC 0x00000000
/* Generic class controls */
34
#define VIDEO_CTRL_CLASS_CAMERA 0x00010000
/* Camera class controls */
35
#define VIDEO_CTRL_CLASS_MPEG 0x00020000
/* MPEG-compression controls */
36
#define VIDEO_CTRL_CLASS_JPEG 0x00030000
/* JPEG-compression controls */
37
#define VIDEO_CTRL_CLASS_VENDOR 0xFFFF0000
/* Vendor-specific class controls */
38
39
/* Generic class control IDs */
40
#define VIDEO_CID_HFLIP (VIDEO_CTRL_CLASS_GENERIC + 0)
/* Mirror the picture horizontally */
41
#define VIDEO_CID_VFLIP (VIDEO_CTRL_CLASS_GENERIC + 1)
/* Mirror the picture vertically */
42
43
/* Camera class control IDs */
44
#define VIDEO_CID_CAMERA_EXPOSURE (VIDEO_CTRL_CLASS_CAMERA + 0)
45
#define VIDEO_CID_CAMERA_GAIN (VIDEO_CTRL_CLASS_CAMERA + 1)
46
#define VIDEO_CID_CAMERA_ZOOM (VIDEO_CTRL_CLASS_CAMERA + 2)
47
#define VIDEO_CID_CAMERA_BRIGHTNESS (VIDEO_CTRL_CLASS_CAMERA + 3)
48
#define VIDEO_CID_CAMERA_SATURATION (VIDEO_CTRL_CLASS_CAMERA + 4)
49
#define VIDEO_CID_CAMERA_WHITE_BAL (VIDEO_CTRL_CLASS_CAMERA + 5)
50
#define VIDEO_CID_CAMERA_CONTRAST (VIDEO_CTRL_CLASS_CAMERA + 6)
51
#define VIDEO_CID_CAMERA_COLORBAR (VIDEO_CTRL_CLASS_CAMERA + 7)
52
#define VIDEO_CID_CAMERA_QUALITY (VIDEO_CTRL_CLASS_CAMERA + 8)
53
54
#ifdef __cplusplus
55
}
56
#endif
57
58
/* Controls */
59
60
65
#endif
/* ZEPHYR_INCLUDE_VIDEO_H_ */
types.h
include
drivers
video-controls.h
Generated on Mon Feb 21 2022 22:43:01 for Zephyr API Documentation by
1.9.2