-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextradefs.h
111 lines (107 loc) · 3.76 KB
/
extradefs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
#ifndef EXTRADEFS_H
#define EXTRADEFS_H
#ifndef V4L2_PIX_FMT_YYUV420_V32
#define V4L2_PIX_FMT_YYUV420_V32 v4l2_fourcc('y', 'V', '0', 'A') /* Vectorized NV12 */
#endif
#ifndef V4L2_PIX_FMT_SBGGR12P
#define V4L2_PIX_FMT_SBGGR12P v4l2_fourcc('p', 'B', 'C', 'C')
#endif
#ifndef V4L2_PIX_FMT_SGBRG12P
#define V4L2_PIX_FMT_SGBRG12P v4l2_fourcc('p', 'G', 'C', 'C')
#endif
#ifndef V4L2_PIX_FMT_SGRBG12P
#define V4L2_PIX_FMT_SGRBG12P v4l2_fourcc('p', 'g', 'C', 'C')
#endif
#ifndef V4L2_PIX_FMT_SRGGB12P
#define V4L2_PIX_FMT_SRGGB12P v4l2_fourcc('p', 'R', 'C', 'C')
#endif
#ifndef V4L2_PIX_FMT_SBGGR14
#define V4L2_PIX_FMT_SBGGR14 v4l2_fourcc('B', 'G', '1', '4') /* 14 BGBG.. GRGR.. */
#define V4L2_PIX_FMT_SBGGR14P v4l2_fourcc('p', 'B', 'E', 'E')
#endif
#ifndef V4L2_PIX_FMT_SGBRG14
#define V4L2_PIX_FMT_SGBRG14 v4l2_fourcc('G', 'B', '1', '4') /* 14 GBGB.. RGRG.. */
#define V4L2_PIX_FMT_SGBRG14P v4l2_fourcc('p', 'G', 'E', 'E')
#endif
#ifndef V4L2_PIX_FMT_SGRBG14
#define V4L2_PIX_FMT_SGRBG14 v4l2_fourcc('B', 'A', '1', '4') /* 14 GRGR.. BGBG.. */
#define V4L2_PIX_FMT_SGRBG14P v4l2_fourcc('p', 'g', 'E', 'E')
#endif
#ifndef V4L2_PIX_FMT_SRGGB14
#define V4L2_PIX_FMT_SRGGB14 v4l2_fourcc('R', 'G', '1', '4') /* 14 RGRG.. GBGB.. */
#define V4L2_PIX_FMT_SRGGB14P v4l2_fourcc('p', 'R', 'E', 'E')
#endif
#ifndef V4L2_PIX_FMT_SBGGR14P
#define V4L2_PIX_FMT_SBGGR14P v4l2_fourcc('p', 'B', 'E', 'E')
#endif
#ifndef V4L2_PIX_FMT_SGBRG14P
#define V4L2_PIX_FMT_SGBRG14P v4l2_fourcc('p', 'G', 'E', 'E')
#endif
#ifndef V4L2_PIX_FMT_SGRBG14P
#define V4L2_PIX_FMT_SGRBG14P v4l2_fourcc('p', 'g', 'E', 'E')
#endif
#ifndef V4L2_PIX_FMT_SRGGB14P
#define V4L2_PIX_FMT_SRGGB14P v4l2_fourcc('p', 'R', 'E', 'E')
#endif
#ifndef V4L2_PIX_FMT_SBGGR8_16V32
#define V4L2_PIX_FMT_SBGGR8_16V32 v4l2_fourcc('b', 'V', '0', 'A')
#endif
#ifndef V4L2_PIX_FMT_SGBRG8_16V32
#define V4L2_PIX_FMT_SGBRG8_16V32 v4l2_fourcc('b', 'V', '0', 'B')
#endif
#ifndef V4L2_PIX_FMT_SGRBG8_16V32
#define V4L2_PIX_FMT_SGRBG8_16V32 v4l2_fourcc('b', 'V', '0', 'C')
#endif
#ifndef V4L2_PIX_FMT_SRGGB8_16V32
#define V4L2_PIX_FMT_SRGGB8_16V32 v4l2_fourcc('b', 'V', '0', 'D')
#endif
#ifndef V4L2_PIX_FMT_SBGGR10V32
#define V4L2_PIX_FMT_SBGGR10V32 v4l2_fourcc('b', 'V', '0', 'E')
#endif
#ifndef V4L2_PIX_FMT_SGBRG10V32
#define V4L2_PIX_FMT_SGBRG10V32 v4l2_fourcc('b', 'V', '0', 'F')
#endif
#ifndef V4L2_PIX_FMT_SGRBG10V32
#define V4L2_PIX_FMT_SGRBG10V32 v4l2_fourcc('b', 'V', '0', 'G')
#endif
#ifndef V4L2_PIX_FMT_SRGGB10V32
#define V4L2_PIX_FMT_SRGGB10V32 v4l2_fourcc('b', 'V', '0', 'H')
#endif
#ifndef V4L2_PIX_FMT_SBGGR12V32
#define V4L2_PIX_FMT_SBGGR12V32 v4l2_fourcc('b', 'V', '0', 'I')
#endif
#ifndef V4L2_PIX_FMT_SGBRG12V32
#define V4L2_PIX_FMT_SGBRG12V32 v4l2_fourcc('b', 'V', '0', 'J')
#endif
#ifndef V4L2_PIX_FMT_SGRBG12V32
#define V4L2_PIX_FMT_SGRBG12V32 v4l2_fourcc('b', 'V', '0', 'K')
#endif
#ifndef V4L2_PIX_FMT_SRGGB12V32
#define V4L2_PIX_FMT_SRGGB12V32 v4l2_fourcc('b', 'V', '0', 'L')
#endif
#ifndef V4L2_PIX_FMT_SBGGR8V32
#define V4L2_PIX_FMT_SBGGR8V32 v4l2_fourcc('b', 'V', '0', 'A')
#endif
#ifndef V4L2_PIX_FMT_SGBRG8V32
#define V4L2_PIX_FMT_SGBRG8V32 v4l2_fourcc('b', 'V', '0', 'B')
#endif
#ifndef V4L2_PIX_FMT_SGRBG8V32
#define V4L2_PIX_FMT_SGRBG8V32 v4l2_fourcc('b', 'V', '0', 'C')
#endif
#ifndef V4L2_PIX_FMT_SRGGB8V32
#define V4L2_PIX_FMT_SRGGB8V32 v4l2_fourcc('b', 'V', '0', 'D')
#endif
#ifndef V4L2_PIX_FMT_UYVY_V32
#define V4L2_PIX_FMT_UYVY_V32 v4l2_fourcc('y', 'V', '3', '2')
#endif
#ifndef V4L2_PIX_FMT_YUYV420_V32
#define V4L2_PIX_FMT_YUYV420_V32 v4l2_fourcc('y', '0', '3', '2')
#endif
#ifndef V4L2_PIX_FMT_SMIAPP_META_8
#define V4L2_PIX_FMT_SMIAPP_META_8 v4l2_fourcc('S', 'M', 'M', '8') /* 8-bit SMIAPP metadata */
#endif
#ifndef V4L2_CID_MIPI_LANES
#define V4L2_CID_MIPI_LANES (V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 64)
#endif
#define V4L2_CTRL_TYPE_PRIVATE 0xffff
#endif