1
2
3
4
5
6
7
8
9
10
11
12 #ifndef __LINUX_MEDIA_BUS_FORMAT_H
13 #define __LINUX_MEDIA_BUS_FORMAT_H
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35 #define MEDIA_BUS_FMT_FIXED 0x0001
36
37
38 #define MEDIA_BUS_FMT_RGB444_1X12 0x1016
39 #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE 0x1001
40 #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE 0x1002
41 #define MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE 0x1003
42 #define MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE 0x1004
43 #define MEDIA_BUS_FMT_RGB565_1X16 0x1017
44 #define MEDIA_BUS_FMT_BGR565_2X8_BE 0x1005
45 #define MEDIA_BUS_FMT_BGR565_2X8_LE 0x1006
46 #define MEDIA_BUS_FMT_RGB565_2X8_BE 0x1007
47 #define MEDIA_BUS_FMT_RGB565_2X8_LE 0x1008
48 #define MEDIA_BUS_FMT_RGB666_1X18 0x1009
49 #define MEDIA_BUS_FMT_RBG888_1X24 0x100e
50 #define MEDIA_BUS_FMT_RGB666_1X24_CPADHI 0x1015
51 #define MEDIA_BUS_FMT_RGB666_1X7X3_SPWG 0x1010
52 #define MEDIA_BUS_FMT_BGR888_1X24 0x1013
53 #define MEDIA_BUS_FMT_BGR888_3X8 0x101b
54 #define MEDIA_BUS_FMT_GBR888_1X24 0x1014
55 #define MEDIA_BUS_FMT_RGB888_1X24 0x100a
56 #define MEDIA_BUS_FMT_RGB888_2X12_BE 0x100b
57 #define MEDIA_BUS_FMT_RGB888_2X12_LE 0x100c
58 #define MEDIA_BUS_FMT_RGB888_3X8 0x101c
59 #define MEDIA_BUS_FMT_RGB888_1X7X4_SPWG 0x1011
60 #define MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA 0x1012
61 #define MEDIA_BUS_FMT_ARGB8888_1X32 0x100d
62 #define MEDIA_BUS_FMT_RGB888_1X32_PADHI 0x100f
63 #define MEDIA_BUS_FMT_RGB101010_1X30 0x1018
64 #define MEDIA_BUS_FMT_RGB121212_1X36 0x1019
65 #define MEDIA_BUS_FMT_RGB161616_1X48 0x101a
66
67
68 #define MEDIA_BUS_FMT_Y8_1X8 0x2001
69 #define MEDIA_BUS_FMT_UV8_1X8 0x2015
70 #define MEDIA_BUS_FMT_UYVY8_1_5X8 0x2002
71 #define MEDIA_BUS_FMT_VYUY8_1_5X8 0x2003
72 #define MEDIA_BUS_FMT_YUYV8_1_5X8 0x2004
73 #define MEDIA_BUS_FMT_YVYU8_1_5X8 0x2005
74 #define MEDIA_BUS_FMT_UYVY8_2X8 0x2006
75 #define MEDIA_BUS_FMT_VYUY8_2X8 0x2007
76 #define MEDIA_BUS_FMT_YUYV8_2X8 0x2008
77 #define MEDIA_BUS_FMT_YVYU8_2X8 0x2009
78 #define MEDIA_BUS_FMT_Y10_1X10 0x200a
79 #define MEDIA_BUS_FMT_Y10_2X8_PADHI_LE 0x202c
80 #define MEDIA_BUS_FMT_UYVY10_2X10 0x2018
81 #define MEDIA_BUS_FMT_VYUY10_2X10 0x2019
82 #define MEDIA_BUS_FMT_YUYV10_2X10 0x200b
83 #define MEDIA_BUS_FMT_YVYU10_2X10 0x200c
84 #define MEDIA_BUS_FMT_Y12_1X12 0x2013
85 #define MEDIA_BUS_FMT_UYVY12_2X12 0x201c
86 #define MEDIA_BUS_FMT_VYUY12_2X12 0x201d
87 #define MEDIA_BUS_FMT_YUYV12_2X12 0x201e
88 #define MEDIA_BUS_FMT_YVYU12_2X12 0x201f
89 #define MEDIA_BUS_FMT_UYVY8_1X16 0x200f
90 #define MEDIA_BUS_FMT_VYUY8_1X16 0x2010
91 #define MEDIA_BUS_FMT_YUYV8_1X16 0x2011
92 #define MEDIA_BUS_FMT_YVYU8_1X16 0x2012
93 #define MEDIA_BUS_FMT_YDYUYDYV8_1X16 0x2014
94 #define MEDIA_BUS_FMT_UYVY10_1X20 0x201a
95 #define MEDIA_BUS_FMT_VYUY10_1X20 0x201b
96 #define MEDIA_BUS_FMT_YUYV10_1X20 0x200d
97 #define MEDIA_BUS_FMT_YVYU10_1X20 0x200e
98 #define MEDIA_BUS_FMT_VUY8_1X24 0x2024
99 #define MEDIA_BUS_FMT_YUV8_1X24 0x2025
100 #define MEDIA_BUS_FMT_UYYVYY8_0_5X24 0x2026
101 #define MEDIA_BUS_FMT_UYVY12_1X24 0x2020
102 #define MEDIA_BUS_FMT_VYUY12_1X24 0x2021
103 #define MEDIA_BUS_FMT_YUYV12_1X24 0x2022
104 #define MEDIA_BUS_FMT_YVYU12_1X24 0x2023
105 #define MEDIA_BUS_FMT_YUV10_1X30 0x2016
106 #define MEDIA_BUS_FMT_UYYVYY10_0_5X30 0x2027
107 #define MEDIA_BUS_FMT_AYUV8_1X32 0x2017
108 #define MEDIA_BUS_FMT_UYYVYY12_0_5X36 0x2028
109 #define MEDIA_BUS_FMT_YUV12_1X36 0x2029
110 #define MEDIA_BUS_FMT_YUV16_1X48 0x202a
111 #define MEDIA_BUS_FMT_UYYVYY16_0_5X48 0x202b
112
113
114 #define MEDIA_BUS_FMT_SBGGR8_1X8 0x3001
115 #define MEDIA_BUS_FMT_SGBRG8_1X8 0x3013
116 #define MEDIA_BUS_FMT_SGRBG8_1X8 0x3002
117 #define MEDIA_BUS_FMT_SRGGB8_1X8 0x3014
118 #define MEDIA_BUS_FMT_SBGGR10_ALAW8_1X8 0x3015
119 #define MEDIA_BUS_FMT_SGBRG10_ALAW8_1X8 0x3016
120 #define MEDIA_BUS_FMT_SGRBG10_ALAW8_1X8 0x3017
121 #define MEDIA_BUS_FMT_SRGGB10_ALAW8_1X8 0x3018
122 #define MEDIA_BUS_FMT_SBGGR10_DPCM8_1X8 0x300b
123 #define MEDIA_BUS_FMT_SGBRG10_DPCM8_1X8 0x300c
124 #define MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8 0x3009
125 #define MEDIA_BUS_FMT_SRGGB10_DPCM8_1X8 0x300d
126 #define MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_BE 0x3003
127 #define MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE 0x3004
128 #define MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_BE 0x3005
129 #define MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_LE 0x3006
130 #define MEDIA_BUS_FMT_SBGGR10_1X10 0x3007
131 #define MEDIA_BUS_FMT_SGBRG10_1X10 0x300e
132 #define MEDIA_BUS_FMT_SGRBG10_1X10 0x300a
133 #define MEDIA_BUS_FMT_SRGGB10_1X10 0x300f
134 #define MEDIA_BUS_FMT_SBGGR12_1X12 0x3008
135 #define MEDIA_BUS_FMT_SGBRG12_1X12 0x3010
136 #define MEDIA_BUS_FMT_SGRBG12_1X12 0x3011
137 #define MEDIA_BUS_FMT_SRGGB12_1X12 0x3012
138 #define MEDIA_BUS_FMT_SBGGR14_1X14 0x3019
139 #define MEDIA_BUS_FMT_SGBRG14_1X14 0x301a
140 #define MEDIA_BUS_FMT_SGRBG14_1X14 0x301b
141 #define MEDIA_BUS_FMT_SRGGB14_1X14 0x301c
142 #define MEDIA_BUS_FMT_SBGGR16_1X16 0x301d
143 #define MEDIA_BUS_FMT_SGBRG16_1X16 0x301e
144 #define MEDIA_BUS_FMT_SGRBG16_1X16 0x301f
145 #define MEDIA_BUS_FMT_SRGGB16_1X16 0x3020
146
147
148 #define MEDIA_BUS_FMT_JPEG_1X8 0x4001
149
150
151
152
153 #define MEDIA_BUS_FMT_S5C_UYVY_JPEG_1X8 0x5001
154
155
156 #define MEDIA_BUS_FMT_AHSV8888_1X32 0x6001
157
158 #endif