1 | use AVPixelFormat; |
2 | use AVPixelFormat::*; |
3 | |
4 | #[cfg (target_endian = "little" )] |
5 | pub const AV_PIX_FMT_RGB32: AVPixelFormat = AV_PIX_FMT_BGRA; |
6 | #[cfg (target_endian = "little" )] |
7 | pub const AV_PIX_FMT_RGB32_1: AVPixelFormat = AV_PIX_FMT_ABGR; |
8 | #[cfg (target_endian = "little" )] |
9 | pub const AV_PIX_FMT_BGR32: AVPixelFormat = AV_PIX_FMT_RGBA; |
10 | #[cfg (target_endian = "little" )] |
11 | pub const AV_PIX_FMT_BGR32_1: AVPixelFormat = AV_PIX_FMT_ARGB; |
12 | #[cfg (target_endian = "little" )] |
13 | pub const AV_PIX_FMT_0RGB32: AVPixelFormat = AV_PIX_FMT_BGR0; |
14 | #[cfg (target_endian = "little" )] |
15 | pub const AV_PIX_FMT_0BGR32: AVPixelFormat = AV_PIX_FMT_RGB0; |
16 | |
17 | #[cfg (target_endian = "little" )] |
18 | pub const AV_PIX_FMT_GRAY16: AVPixelFormat = AV_PIX_FMT_GRAY16LE; |
19 | #[cfg (target_endian = "little" )] |
20 | pub const AV_PIX_FMT_YA16: AVPixelFormat = AV_PIX_FMT_YA16LE; |
21 | #[cfg (target_endian = "little" )] |
22 | pub const AV_PIX_FMT_RGB48: AVPixelFormat = AV_PIX_FMT_RGB48LE; |
23 | #[cfg (target_endian = "little" )] |
24 | pub const AV_PIX_FMT_RGB565: AVPixelFormat = AV_PIX_FMT_RGB565LE; |
25 | #[cfg (target_endian = "little" )] |
26 | pub const AV_PIX_FMT_RGB555: AVPixelFormat = AV_PIX_FMT_RGB555LE; |
27 | #[cfg (target_endian = "little" )] |
28 | pub const AV_PIX_FMT_RGB444: AVPixelFormat = AV_PIX_FMT_RGB444LE; |
29 | #[cfg (target_endian = "little" )] |
30 | pub const AV_PIX_FMT_BGR48: AVPixelFormat = AV_PIX_FMT_BGR48LE; |
31 | #[cfg (target_endian = "little" )] |
32 | pub const AV_PIX_FMT_BGR565: AVPixelFormat = AV_PIX_FMT_BGR565LE; |
33 | #[cfg (target_endian = "little" )] |
34 | pub const AV_PIX_FMT_BGR555: AVPixelFormat = AV_PIX_FMT_BGR555LE; |
35 | #[cfg (target_endian = "little" )] |
36 | pub const AV_PIX_FMT_BGR444: AVPixelFormat = AV_PIX_FMT_BGR444LE; |
37 | |
38 | #[cfg (target_endian = "little" )] |
39 | pub const AV_PIX_FMT_YUV420P9: AVPixelFormat = AV_PIX_FMT_YUV420P9LE; |
40 | #[cfg (target_endian = "little" )] |
41 | pub const AV_PIX_FMT_YUV422P9: AVPixelFormat = AV_PIX_FMT_YUV422P9LE; |
42 | #[cfg (target_endian = "little" )] |
43 | pub const AV_PIX_FMT_YUV444P9: AVPixelFormat = AV_PIX_FMT_YUV444P9LE; |
44 | #[cfg (target_endian = "little" )] |
45 | pub const AV_PIX_FMT_YUV420P10: AVPixelFormat = AV_PIX_FMT_YUV420P10LE; |
46 | #[cfg (target_endian = "little" )] |
47 | pub const AV_PIX_FMT_YUV422P10: AVPixelFormat = AV_PIX_FMT_YUV422P10LE; |
48 | #[cfg (target_endian = "little" )] |
49 | pub const AV_PIX_FMT_YUV440P10: AVPixelFormat = AV_PIX_FMT_YUV440P10LE; |
50 | #[cfg (target_endian = "little" )] |
51 | pub const AV_PIX_FMT_YUV444P10: AVPixelFormat = AV_PIX_FMT_YUV444P10LE; |
52 | #[cfg (target_endian = "little" )] |
53 | pub const AV_PIX_FMT_YUV420P12: AVPixelFormat = AV_PIX_FMT_YUV420P12LE; |
54 | #[cfg (target_endian = "little" )] |
55 | pub const AV_PIX_FMT_YUV422P12: AVPixelFormat = AV_PIX_FMT_YUV422P12LE; |
56 | #[cfg (target_endian = "little" )] |
57 | pub const AV_PIX_FMT_YUV440P12: AVPixelFormat = AV_PIX_FMT_YUV440P12LE; |
58 | #[cfg (target_endian = "little" )] |
59 | pub const AV_PIX_FMT_YUV444P12: AVPixelFormat = AV_PIX_FMT_YUV444P12LE; |
60 | #[cfg (target_endian = "little" )] |
61 | pub const AV_PIX_FMT_YUV420P14: AVPixelFormat = AV_PIX_FMT_YUV420P14LE; |
62 | #[cfg (target_endian = "little" )] |
63 | pub const AV_PIX_FMT_YUV422P14: AVPixelFormat = AV_PIX_FMT_YUV422P14LE; |
64 | #[cfg (target_endian = "little" )] |
65 | pub const AV_PIX_FMT_YUV444P14: AVPixelFormat = AV_PIX_FMT_YUV444P14LE; |
66 | #[cfg (target_endian = "little" )] |
67 | pub const AV_PIX_FMT_YUV420P16: AVPixelFormat = AV_PIX_FMT_YUV420P16LE; |
68 | #[cfg (target_endian = "little" )] |
69 | pub const AV_PIX_FMT_YUV422P16: AVPixelFormat = AV_PIX_FMT_YUV422P16LE; |
70 | #[cfg (target_endian = "little" )] |
71 | pub const AV_PIX_FMT_YUV444P16: AVPixelFormat = AV_PIX_FMT_YUV444P16LE; |
72 | |
73 | #[cfg (target_endian = "little" )] |
74 | pub const AV_PIX_FMT_GBRP9: AVPixelFormat = AV_PIX_FMT_GBRP9LE; |
75 | #[cfg (target_endian = "little" )] |
76 | pub const AV_PIX_FMT_GBRP10: AVPixelFormat = AV_PIX_FMT_GBRP10LE; |
77 | #[cfg (target_endian = "little" )] |
78 | pub const AV_PIX_FMT_GBRP12: AVPixelFormat = AV_PIX_FMT_GBRP12LE; |
79 | #[cfg (target_endian = "little" )] |
80 | pub const AV_PIX_FMT_GBRP14: AVPixelFormat = AV_PIX_FMT_GBRP14LE; |
81 | #[cfg (target_endian = "little" )] |
82 | pub const AV_PIX_FMT_GBRP16: AVPixelFormat = AV_PIX_FMT_GBRP16LE; |
83 | #[cfg (target_endian = "little" )] |
84 | pub const AV_PIX_FMT_GBRAP16: AVPixelFormat = AV_PIX_FMT_GBRAP16LE; |
85 | |
86 | #[cfg (target_endian = "little" )] |
87 | pub const AV_PIX_FMT_BAYER_BGGR16: AVPixelFormat = AV_PIX_FMT_BAYER_BGGR16LE; |
88 | #[cfg (target_endian = "little" )] |
89 | pub const AV_PIX_FMT_BAYER_RGGB16: AVPixelFormat = AV_PIX_FMT_BAYER_RGGB16LE; |
90 | #[cfg (target_endian = "little" )] |
91 | pub const AV_PIX_FMT_BAYER_GBRG16: AVPixelFormat = AV_PIX_FMT_BAYER_GBRG16LE; |
92 | #[cfg (target_endian = "little" )] |
93 | pub const AV_PIX_FMT_BAYER_GRBG16: AVPixelFormat = AV_PIX_FMT_BAYER_GRBG16LE; |
94 | |
95 | #[cfg (target_endian = "little" )] |
96 | pub const AV_PIX_FMT_YUVA420P9: AVPixelFormat = AV_PIX_FMT_YUVA420P9LE; |
97 | #[cfg (target_endian = "little" )] |
98 | pub const AV_PIX_FMT_YUVA422P9: AVPixelFormat = AV_PIX_FMT_YUVA422P9LE; |
99 | #[cfg (target_endian = "little" )] |
100 | pub const AV_PIX_FMT_YUVA444P9: AVPixelFormat = AV_PIX_FMT_YUVA444P9LE; |
101 | #[cfg (target_endian = "little" )] |
102 | pub const AV_PIX_FMT_YUVA420P10: AVPixelFormat = AV_PIX_FMT_YUVA420P10LE; |
103 | #[cfg (target_endian = "little" )] |
104 | pub const AV_PIX_FMT_YUVA422P10: AVPixelFormat = AV_PIX_FMT_YUVA422P10LE; |
105 | #[cfg (target_endian = "little" )] |
106 | pub const AV_PIX_FMT_YUVA444P10: AVPixelFormat = AV_PIX_FMT_YUVA444P10LE; |
107 | #[cfg (target_endian = "little" )] |
108 | pub const AV_PIX_FMT_YUVA420P16: AVPixelFormat = AV_PIX_FMT_YUVA420P16LE; |
109 | #[cfg (target_endian = "little" )] |
110 | pub const AV_PIX_FMT_YUVA422P16: AVPixelFormat = AV_PIX_FMT_YUVA422P16LE; |
111 | #[cfg (target_endian = "little" )] |
112 | pub const AV_PIX_FMT_YUVA444P16: AVPixelFormat = AV_PIX_FMT_YUVA444P16LE; |
113 | |
114 | #[cfg (target_endian = "little" )] |
115 | pub const AV_PIX_FMT_XYZ12: AVPixelFormat = AV_PIX_FMT_XYZ12LE; |
116 | #[cfg (target_endian = "little" )] |
117 | pub const AV_PIX_FMT_NV20: AVPixelFormat = AV_PIX_FMT_NV20LE; |
118 | #[cfg (target_endian = "little" )] |
119 | pub const AV_PIX_FMT_AYUV64: AVPixelFormat = AV_PIX_FMT_AYUV64LE; |
120 | |
121 | #[cfg (target_endian = "big" )] |
122 | pub const AV_PIX_FMT_RGB32: AVPixelFormat = AV_PIX_FMT_ARGB; |
123 | #[cfg (target_endian = "big" )] |
124 | pub const AV_PIX_FMT_RGB32_1: AVPixelFormat = AV_PIX_FMT_RGBA; |
125 | #[cfg (target_endian = "big" )] |
126 | pub const AV_PIX_FMT_BGR32: AVPixelFormat = AV_PIX_FMT_ABGR; |
127 | #[cfg (target_endian = "big" )] |
128 | pub const AV_PIX_FMT_BGR32_1: AVPixelFormat = AV_PIX_FMT_BGRA; |
129 | #[cfg (target_endian = "big" )] |
130 | pub const AV_PIX_FMT_0RGB32: AVPixelFormat = AV_PIX_FMT_0RGB; |
131 | #[cfg (target_endian = "big" )] |
132 | pub const AV_PIX_FMT_0BGR32: AVPixelFormat = AV_PIX_FMT_0BGR; |
133 | |
134 | #[cfg (target_endian = "big" )] |
135 | pub const AV_PIX_FMT_GRAY16: AVPixelFormat = AV_PIX_FMT_GRAY16BE; |
136 | #[cfg (target_endian = "big" )] |
137 | pub const AV_PIX_FMT_YA16: AVPixelFormat = AV_PIX_FMT_YA16BE; |
138 | #[cfg (target_endian = "big" )] |
139 | pub const AV_PIX_FMT_RGB48: AVPixelFormat = AV_PIX_FMT_RGB48BE; |
140 | #[cfg (target_endian = "big" )] |
141 | pub const AV_PIX_FMT_RGB565: AVPixelFormat = AV_PIX_FMT_RGB565BE; |
142 | #[cfg (target_endian = "big" )] |
143 | pub const AV_PIX_FMT_RGB555: AVPixelFormat = AV_PIX_FMT_RGB555BE; |
144 | #[cfg (target_endian = "big" )] |
145 | pub const AV_PIX_FMT_RGB444: AVPixelFormat = AV_PIX_FMT_RGB444BE; |
146 | #[cfg (target_endian = "big" )] |
147 | pub const AV_PIX_FMT_BGR48: AVPixelFormat = AV_PIX_FMT_BGR48BE; |
148 | #[cfg (target_endian = "big" )] |
149 | pub const AV_PIX_FMT_BGR565: AVPixelFormat = AV_PIX_FMT_BGR565BE; |
150 | #[cfg (target_endian = "big" )] |
151 | pub const AV_PIX_FMT_BGR555: AVPixelFormat = AV_PIX_FMT_BGR555BE; |
152 | #[cfg (target_endian = "big" )] |
153 | pub const AV_PIX_FMT_BGR444: AVPixelFormat = AV_PIX_FMT_BGR444BE; |
154 | |
155 | #[cfg (target_endian = "big" )] |
156 | pub const AV_PIX_FMT_YUV420P9: AVPixelFormat = AV_PIX_FMT_YUV420P9BE; |
157 | #[cfg (target_endian = "big" )] |
158 | pub const AV_PIX_FMT_YUV422P9: AVPixelFormat = AV_PIX_FMT_YUV422P9BE; |
159 | #[cfg (target_endian = "big" )] |
160 | pub const AV_PIX_FMT_YUV444P9: AVPixelFormat = AV_PIX_FMT_YUV444P9BE; |
161 | #[cfg (target_endian = "big" )] |
162 | pub const AV_PIX_FMT_YUV420P10: AVPixelFormat = AV_PIX_FMT_YUV420P10BE; |
163 | #[cfg (target_endian = "big" )] |
164 | pub const AV_PIX_FMT_YUV422P10: AVPixelFormat = AV_PIX_FMT_YUV422P10BE; |
165 | #[cfg (target_endian = "big" )] |
166 | pub const AV_PIX_FMT_YUV440P10: AVPixelFormat = AV_PIX_FMT_YUV440P10BE; |
167 | #[cfg (target_endian = "big" )] |
168 | pub const AV_PIX_FMT_YUV444P10: AVPixelFormat = AV_PIX_FMT_YUV444P10BE; |
169 | #[cfg (target_endian = "big" )] |
170 | pub const AV_PIX_FMT_YUV420P12: AVPixelFormat = AV_PIX_FMT_YUV420P12BE; |
171 | #[cfg (target_endian = "big" )] |
172 | pub const AV_PIX_FMT_YUV422P12: AVPixelFormat = AV_PIX_FMT_YUV422P12BE; |
173 | #[cfg (target_endian = "big" )] |
174 | pub const AV_PIX_FMT_YUV440P12: AVPixelFormat = AV_PIX_FMT_YUV440P12BE; |
175 | #[cfg (target_endian = "big" )] |
176 | pub const AV_PIX_FMT_YUV444P12: AVPixelFormat = AV_PIX_FMT_YUV444P12BE; |
177 | #[cfg (target_endian = "big" )] |
178 | pub const AV_PIX_FMT_YUV420P14: AVPixelFormat = AV_PIX_FMT_YUV420P14BE; |
179 | #[cfg (target_endian = "big" )] |
180 | pub const AV_PIX_FMT_YUV422P14: AVPixelFormat = AV_PIX_FMT_YUV422P14BE; |
181 | #[cfg (target_endian = "big" )] |
182 | pub const AV_PIX_FMT_YUV444P14: AVPixelFormat = AV_PIX_FMT_YUV444P14BE; |
183 | #[cfg (target_endian = "big" )] |
184 | pub const AV_PIX_FMT_YUV420P16: AVPixelFormat = AV_PIX_FMT_YUV420P16BE; |
185 | #[cfg (target_endian = "big" )] |
186 | pub const AV_PIX_FMT_YUV422P16: AVPixelFormat = AV_PIX_FMT_YUV422P16BE; |
187 | #[cfg (target_endian = "big" )] |
188 | pub const AV_PIX_FMT_YUV444P16: AVPixelFormat = AV_PIX_FMT_YUV444P16BE; |
189 | |
190 | #[cfg (target_endian = "big" )] |
191 | pub const AV_PIX_FMT_GBRP9: AVPixelFormat = AV_PIX_FMT_GBRP9BE; |
192 | #[cfg (target_endian = "big" )] |
193 | pub const AV_PIX_FMT_GBRP10: AVPixelFormat = AV_PIX_FMT_GBRP10BE; |
194 | #[cfg (target_endian = "big" )] |
195 | pub const AV_PIX_FMT_GBRP12: AVPixelFormat = AV_PIX_FMT_GBRP12BE; |
196 | #[cfg (target_endian = "big" )] |
197 | pub const AV_PIX_FMT_GBRP14: AVPixelFormat = AV_PIX_FMT_GBRP14BE; |
198 | #[cfg (target_endian = "big" )] |
199 | pub const AV_PIX_FMT_GBRP16: AVPixelFormat = AV_PIX_FMT_GBRP16BE; |
200 | #[cfg (target_endian = "big" )] |
201 | pub const AV_PIX_FMT_GBRAP16: AVPixelFormat = AV_PIX_FMT_GBRAP16BE; |
202 | |
203 | #[cfg (target_endian = "big" )] |
204 | pub const AV_PIX_FMT_BAYER_BGGR16: AVPixelFormat = AV_PIX_FMT_BAYER_BGGR16BE; |
205 | #[cfg (target_endian = "big" )] |
206 | pub const AV_PIX_FMT_BAYER_RGGB16: AVPixelFormat = AV_PIX_FMT_BAYER_RGGB16BE; |
207 | #[cfg (target_endian = "big" )] |
208 | pub const AV_PIX_FMT_BAYER_GBRG16: AVPixelFormat = AV_PIX_FMT_BAYER_GBRG16BE; |
209 | #[cfg (target_endian = "big" )] |
210 | pub const AV_PIX_FMT_BAYER_GRBG16: AVPixelFormat = AV_PIX_FMT_BAYER_GRBG16BE; |
211 | |
212 | #[cfg (target_endian = "big" )] |
213 | pub const AV_PIX_FMT_YUVA420P9: AVPixelFormat = AV_PIX_FMT_YUVA420P9BE; |
214 | #[cfg (target_endian = "big" )] |
215 | pub const AV_PIX_FMT_YUVA422P9: AVPixelFormat = AV_PIX_FMT_YUVA422P9BE; |
216 | #[cfg (target_endian = "big" )] |
217 | pub const AV_PIX_FMT_YUVA444P9: AVPixelFormat = AV_PIX_FMT_YUVA444P9BE; |
218 | #[cfg (target_endian = "big" )] |
219 | pub const AV_PIX_FMT_YUVA420P10: AVPixelFormat = AV_PIX_FMT_YUVA420P10BE; |
220 | #[cfg (target_endian = "big" )] |
221 | pub const AV_PIX_FMT_YUVA422P10: AVPixelFormat = AV_PIX_FMT_YUVA422P10BE; |
222 | #[cfg (target_endian = "big" )] |
223 | pub const AV_PIX_FMT_YUVA444P10: AVPixelFormat = AV_PIX_FMT_YUVA444P10BE; |
224 | #[cfg (target_endian = "big" )] |
225 | pub const AV_PIX_FMT_YUVA420P16: AVPixelFormat = AV_PIX_FMT_YUVA420P16BE; |
226 | #[cfg (target_endian = "big" )] |
227 | pub const AV_PIX_FMT_YUVA422P16: AVPixelFormat = AV_PIX_FMT_YUVA422P16BE; |
228 | #[cfg (target_endian = "big" )] |
229 | pub const AV_PIX_FMT_YUVA444P16: AVPixelFormat = AV_PIX_FMT_YUVA444P16BE; |
230 | |
231 | #[cfg (target_endian = "big" )] |
232 | pub const AV_PIX_FMT_XYZ12: AVPixelFormat = AV_PIX_FMT_XYZ12BE; |
233 | #[cfg (target_endian = "big" )] |
234 | pub const AV_PIX_FMT_NV20: AVPixelFormat = AV_PIX_FMT_NV20BE; |
235 | #[cfg (target_endian = "big" )] |
236 | pub const AV_PIX_FMT_AYUV64: AVPixelFormat = AV_PIX_FMT_AYUV64BE; |
237 | |