libnx  v4.2.0
types.h
1 #pragma once
2 #include "../types.h"
3 
4 typedef u64 iova_t;
5 
6 typedef enum {
7  NvLayout_Pitch = 1,
8  NvLayout_Tiled = 2,
9  NvLayout_BlockLinear = 3,
10 } NvLayout;
11 
12 typedef enum {
13  NvDisplayScanFormat_Progressive = 0,
14  NvDisplayScanFormat_Interlaced = 1,
15 } NvDisplayScanFormat;
16 
17 typedef enum {
18  NvKind_Pitch = 0x0,
19  NvKind_Z16 = 0x1,
20  NvKind_Z16_2C = 0x2,
21  NvKind_Z16_MS2_2C = 0x3,
22  NvKind_Z16_MS4_2C = 0x4,
23  NvKind_Z16_MS8_2C = 0x5,
24  NvKind_Z16_MS16_2C = 0x6,
25  NvKind_Z16_2Z = 0x7,
26  NvKind_Z16_MS2_2Z = 0x8,
27  NvKind_Z16_MS4_2Z = 0x9,
28  NvKind_Z16_MS8_2Z = 0xa,
29  NvKind_Z16_MS16_2Z = 0xb,
30  NvKind_Z16_4CZ = 0xc,
31  NvKind_Z16_MS2_4CZ = 0xd,
32  NvKind_Z16_MS4_4CZ = 0xe,
33  NvKind_Z16_MS8_4CZ = 0xf,
34  NvKind_Z16_MS16_4CZ = 0x10,
35  NvKind_S8Z24 = 0x11,
36  NvKind_S8Z24_1Z = 0x12,
37  NvKind_S8Z24_MS2_1Z = 0x13,
38  NvKind_S8Z24_MS4_1Z = 0x14,
39  NvKind_S8Z24_MS8_1Z = 0x15,
40  NvKind_S8Z24_MS16_1Z = 0x16,
41  NvKind_S8Z24_2CZ = 0x17,
42  NvKind_S8Z24_MS2_2CZ = 0x18,
43  NvKind_S8Z24_MS4_2CZ = 0x19,
44  NvKind_S8Z24_MS8_2CZ = 0x1a,
45  NvKind_S8Z24_MS16_2CZ = 0x1b,
46  NvKind_S8Z24_2CS = 0x1C,
47  NvKind_S8Z24_MS2_2CS = 0x1d,
48  NvKind_S8Z24_MS4_2CS = 0x1e,
49  NvKind_S8Z24_MS8_2CS = 0x1f,
50  NvKind_S8Z24_MS16_2CS = 0x20,
51  NvKind_S8Z24_4CSZV = 0x21,
52  NvKind_S8Z24_MS2_4CSZV = 0x22,
53  NvKind_S8Z24_MS4_4CSZV = 0x23,
54  NvKind_S8Z24_MS8_4CSZV = 0x24,
55  NvKind_S8Z24_MS16_4CSZV = 0x25,
56  NvKind_V8Z24_MS4_VC12 = 0x26,
57  NvKind_V8Z24_MS4_VC4 = 0x27,
58  NvKind_V8Z24_MS8_VC8 = 0x28,
59  NvKind_V8Z24_MS8_VC24 = 0x29,
60  NvKind_S8 = 0x2a,
61  NvKind_S8_2S = 0x2b,
62  NvKind_V8Z24_MS4_VC12_1ZV = 0x2e,
63  NvKind_V8Z24_MS4_VC4_1ZV = 0x2f,
64  NvKind_V8Z24_MS8_VC8_1ZV = 0x30,
65  NvKind_V8Z24_MS8_VC24_1ZV = 0x31,
66  NvKind_V8Z24_MS4_VC12_2CS = 0x32,
67  NvKind_V8Z24_MS4_VC4_2CS = 0x33,
68  NvKind_V8Z24_MS8_VC8_2CS = 0x34,
69  NvKind_V8Z24_MS8_VC24_2CS = 0x35,
70  NvKind_V8Z24_MS4_VC12_2CZV = 0x3a,
71  NvKind_V8Z24_MS4_VC4_2CZV = 0x3b,
72  NvKind_V8Z24_MS8_VC8_2CZV = 0x3c,
73  NvKind_V8Z24_MS8_VC24_2CZV = 0x3d,
74  NvKind_V8Z24_MS4_VC12_2ZV = 0x3e,
75  NvKind_V8Z24_MS4_VC4_2ZV = 0x3f,
76  NvKind_V8Z24_MS8_VC8_2ZV = 0x40,
77  NvKind_V8Z24_MS8_VC24_2ZV = 0x41,
78  NvKind_V8Z24_MS4_VC12_4CSZV = 0x42,
79  NvKind_V8Z24_MS4_VC4_4CSZV = 0x43,
80  NvKind_V8Z24_MS8_VC8_4CSZV = 0x44,
81  NvKind_V8Z24_MS8_VC24_4CSZV = 0x45,
82  NvKind_Z24S8 = 0x46,
83  NvKind_Z24S8_1Z = 0x47,
84  NvKind_Z24S8_MS2_1Z = 0x48,
85  NvKind_Z24S8_MS4_1Z = 0x49,
86  NvKind_Z24S8_MS8_1Z = 0x4a,
87  NvKind_Z24S8_MS16_1Z = 0x4b,
88  NvKind_Z24S8_2CS = 0x4c,
89  NvKind_Z24S8_MS2_2CS = 0x4d,
90  NvKind_Z24S8_MS4_2CS = 0x4e,
91  NvKind_Z24S8_MS8_2CS = 0x4f,
92  NvKind_Z24S8_MS16_2CS = 0x50,
93  NvKind_Z24S8_2CZ = 0x51,
94  NvKind_Z24S8_MS2_2CZ = 0x52,
95  NvKind_Z24S8_MS4_2CZ = 0x53,
96  NvKind_Z24S8_MS8_2CZ = 0x54,
97  NvKind_Z24S8_MS16_2CZ = 0x55,
98  NvKind_Z24S8_4CSZV = 0x56,
99  NvKind_Z24S8_MS2_4CSZV = 0x57,
100  NvKind_Z24S8_MS4_4CSZV = 0x58,
101  NvKind_Z24S8_MS8_4CSZV = 0x59,
102  NvKind_Z24S8_MS16_4CSZV = 0x5a,
103  NvKind_Z24V8_MS4_VC12 = 0x5b,
104  NvKind_Z24V8_MS4_VC4 = 0x5C,
105  NvKind_Z24V8_MS8_VC8 = 0x5d,
106  NvKind_Z24V8_MS8_VC24 = 0x5e,
107  NvKind_Z24V8_MS4_VC12_1ZV = 0x63,
108  NvKind_Z24V8_MS4_VC4_1ZV = 0x64,
109  NvKind_Z24V8_MS8_VC8_1ZV = 0x65,
110  NvKind_Z24V8_MS8_VC24_1ZV = 0x66,
111  NvKind_Z24V8_MS4_VC12_2CS = 0x67,
112  NvKind_Z24V8_MS4_VC4_2CS = 0x68,
113  NvKind_Z24V8_MS8_VC8_2CS = 0x69,
114  NvKind_Z24V8_MS8_VC24_2CS = 0x6a,
115  NvKind_Z24V8_MS4_VC12_2CZV = 0x6f,
116  NvKind_Z24V8_MS4_VC4_2CZV = 0x70,
117  NvKind_Z24V8_MS8_VC8_2CZV = 0x71,
118  NvKind_Z24V8_MS8_VC24_2CZV = 0x72,
119  NvKind_Z24V8_MS4_VC12_2ZV = 0x73,
120  NvKind_Z24V8_MS4_VC4_2ZV = 0x74,
121  NvKind_Z24V8_MS8_VC8_2ZV = 0x75,
122  NvKind_Z24V8_MS8_VC24_2ZV = 0x76,
123  NvKind_Z24V8_MS4_VC12_4CSZV = 0x77,
124  NvKind_Z24V8_MS4_VC4_4CSZV = 0x78,
125  NvKind_Z24V8_MS8_VC8_4CSZV = 0x79,
126  NvKind_Z24V8_MS8_VC24_4CSZV = 0x7a,
127  NvKind_ZF32 = 0x7b,
128  NvKind_ZF32_1Z = 0x7C,
129  NvKind_ZF32_MS2_1Z = 0x7d,
130  NvKind_ZF32_MS4_1Z = 0x7e,
131  NvKind_ZF32_MS8_1Z = 0x7f,
132  NvKind_ZF32_MS16_1Z = 0x80,
133  NvKind_ZF32_2CS = 0x81,
134  NvKind_ZF32_MS2_2CS = 0x82,
135  NvKind_ZF32_MS4_2CS = 0x83,
136  NvKind_ZF32_MS8_2CS = 0x84,
137  NvKind_ZF32_MS16_2CS = 0x85,
138  NvKind_ZF32_2CZ = 0x86,
139  NvKind_ZF32_MS2_2CZ = 0x87,
140  NvKind_ZF32_MS4_2CZ = 0x88,
141  NvKind_ZF32_MS8_2CZ = 0x89,
142  NvKind_ZF32_MS16_2CZ = 0x8a,
143  NvKind_X8Z24_X16V8S8_MS4_VC12 = 0x8b,
144  NvKind_X8Z24_X16V8S8_MS4_VC4 = 0x8c,
145  NvKind_X8Z24_X16V8S8_MS8_VC8 = 0x8d,
146  NvKind_X8Z24_X16V8S8_MS8_VC24 = 0x8e,
147  NvKind_X8Z24_X16V8S8_MS4_VC12_1CS = 0x8f,
148  NvKind_X8Z24_X16V8S8_MS4_VC4_1CS = 0x90,
149  NvKind_X8Z24_X16V8S8_MS8_VC8_1CS = 0x91,
150  NvKind_X8Z24_X16V8S8_MS8_VC24_1CS = 0x92,
151  NvKind_X8Z24_X16V8S8_MS4_VC12_1ZV = 0x97,
152  NvKind_X8Z24_X16V8S8_MS4_VC4_1ZV = 0x98,
153  NvKind_X8Z24_X16V8S8_MS8_VC8_1ZV = 0x99,
154  NvKind_X8Z24_X16V8S8_MS8_VC24_1ZV = 0x9a,
155  NvKind_X8Z24_X16V8S8_MS4_VC12_1CZV = 0x9b,
156  NvKind_X8Z24_X16V8S8_MS4_VC4_1CZV = 0x9c,
157  NvKind_X8Z24_X16V8S8_MS8_VC8_1CZV = 0x9d,
158  NvKind_X8Z24_X16V8S8_MS8_VC24_1CZV = 0x9e,
159  NvKind_X8Z24_X16V8S8_MS4_VC12_2CS = 0x9f,
160  NvKind_X8Z24_X16V8S8_MS4_VC4_2CS = 0xa0,
161  NvKind_X8Z24_X16V8S8_MS8_VC8_2CS = 0xa1,
162  NvKind_X8Z24_X16V8S8_MS8_VC24_2CS = 0xa2,
163  NvKind_X8Z24_X16V8S8_MS4_VC12_2CSZV = 0xa3,
164  NvKind_X8Z24_X16V8S8_MS4_VC4_2CSZV = 0xa4,
165  NvKind_X8Z24_X16V8S8_MS8_VC8_2CSZV = 0xa5,
166  NvKind_X8Z24_X16V8S8_MS8_VC24_2CSZV = 0xa6,
167  NvKind_ZF32_X16V8S8_MS4_VC12 = 0xa7,
168  NvKind_ZF32_X16V8S8_MS4_VC4 = 0xa8,
169  NvKind_ZF32_X16V8S8_MS8_VC8 = 0xa9,
170  NvKind_ZF32_X16V8S8_MS8_VC24 = 0xaa,
171  NvKind_ZF32_X16V8S8_MS4_VC12_1CS = 0xab,
172  NvKind_ZF32_X16V8S8_MS4_VC4_1CS = 0xac,
173  NvKind_ZF32_X16V8S8_MS8_VC8_1CS = 0xad,
174  NvKind_ZF32_X16V8S8_MS8_VC24_1CS = 0xae,
175  NvKind_ZF32_X16V8S8_MS4_VC12_1ZV = 0xb3,
176  NvKind_ZF32_X16V8S8_MS4_VC4_1ZV = 0xb4,
177  NvKind_ZF32_X16V8S8_MS8_VC8_1ZV = 0xb5,
178  NvKind_ZF32_X16V8S8_MS8_VC24_1ZV = 0xb6,
179  NvKind_ZF32_X16V8S8_MS4_VC12_1CZV = 0xb7,
180  NvKind_ZF32_X16V8S8_MS4_VC4_1CZV = 0xb8,
181  NvKind_ZF32_X16V8S8_MS8_VC8_1CZV = 0xb9,
182  NvKind_ZF32_X16V8S8_MS8_VC24_1CZV = 0xba,
183  NvKind_ZF32_X16V8S8_MS4_VC12_2CS = 0xbb,
184  NvKind_ZF32_X16V8S8_MS4_VC4_2CS = 0xbc,
185  NvKind_ZF32_X16V8S8_MS8_VC8_2CS = 0xbd,
186  NvKind_ZF32_X16V8S8_MS8_VC24_2CS = 0xbe,
187  NvKind_ZF32_X16V8S8_MS4_VC12_2CSZV = 0xbf,
188  NvKind_ZF32_X16V8S8_MS4_VC4_2CSZV = 0xc0,
189  NvKind_ZF32_X16V8S8_MS8_VC8_2CSZV = 0xc1,
190  NvKind_ZF32_X16V8S8_MS8_VC24_2CSZV = 0xc2,
191  NvKind_ZF32_X24S8 = 0xc3,
192  NvKind_ZF32_X24S8_1CS = 0xc4,
193  NvKind_ZF32_X24S8_MS2_1CS = 0xc5,
194  NvKind_ZF32_X24S8_MS4_1CS = 0xc6,
195  NvKind_ZF32_X24S8_MS8_1CS = 0xc7,
196  NvKind_ZF32_X24S8_MS16_1CS = 0xc8,
197  NvKind_SmskedMessage = 0xca,
198  NvKind_SmhostMessage = 0xcb,
199  NvKind_C64_MS2_2CRA = 0xcd,
200  NvKind_ZF32_X24S8_2CSZV = 0xce,
201  NvKind_ZF32_X24S8_MS2_2CSZV = 0xcf,
202  NvKind_ZF32_X24S8_MS4_2CSZV = 0xd0,
203  NvKind_ZF32_X24S8_MS8_2CSZV = 0xd1,
204  NvKind_ZF32_X24S8_MS16_2CSZV = 0xd2,
205  NvKind_ZF32_X24S8_2CS = 0xd3,
206  NvKind_ZF32_X24S8_MS2_2CS = 0xd4,
207  NvKind_ZF32_X24S8_MS4_2CS = 0xd5,
208  NvKind_ZF32_X24S8_MS8_2CS = 0xd6,
209  NvKind_ZF32_X24S8_MS16_2CS = 0xd7,
210  NvKind_C32_2C = 0xd8,
211  NvKind_C32_2CBR = 0xd9,
212  NvKind_C32_2CBA = 0xda,
213  NvKind_C32_2CRA = 0xdb,
214  NvKind_C32_2BRA = 0xdc,
215  NvKind_C32_MS2_2C = 0xdd,
216  NvKind_C32_MS2_2CBR = 0xde,
217  NvKind_C32_MS2_2CRA = 0xcc,
218  NvKind_C32_MS4_2C = 0xdf,
219  NvKind_C32_MS4_2CBR = 0xe0,
220  NvKind_C32_MS4_2CBA = 0xe1,
221  NvKind_C32_MS4_2CRA = 0xe2,
222  NvKind_C32_MS4_2BRA = 0xe3,
223  NvKind_C32_MS8_MS16_2C = 0xe4,
224  NvKind_C32_MS8_MS16_2CRA = 0xe5,
225  NvKind_C64_2C = 0xe6,
226  NvKind_C64_2CBR = 0xe7,
227  NvKind_C64_2CBA = 0xe8,
228  NvKind_C64_2CRA = 0xe9,
229  NvKind_C64_2BRA = 0xea,
230  NvKind_C64_MS2_2C = 0xeb,
231  NvKind_C64_MS2_2CBR = 0xec,
232  NvKind_C64_MS4_2C = 0xed,
233  NvKind_C64_MS4_2CBR = 0xee,
234  NvKind_C64_MS4_2CBA = 0xef,
235  NvKind_C64_MS4_2CRA = 0xf0,
236  NvKind_C64_MS4_2BRA = 0xf1,
237  NvKind_C64_MS8_MS16_2C = 0xf2,
238  NvKind_C64_MS8_MS16_2CRA = 0xf3,
239  NvKind_C128_2C = 0xf4,
240  NvKind_C128_2CR = 0xf5,
241  NvKind_C128_MS2_2C = 0xf6,
242  NvKind_C128_MS2_2CR = 0xf7,
243  NvKind_C128_MS4_2C = 0xf8,
244  NvKind_C128_MS4_2CR = 0xf9,
245  NvKind_C128_MS8_MS16_2C = 0xfa,
246  NvKind_C128_MS8_MS16_2CR = 0xfb,
247  NvKind_X8C24 = 0xfc,
248  NvKind_PitchNoSwizzle = 0xfd,
249  NvKind_Generic_16BX2 = 0xfe,
250  NvKind_Invalid = 0xff,
251 } NvKind;
252 
253 typedef enum {
254  NvColorFormat_Unspecified = 0x0000000000UL,
255  NvColorFormat_NonColor8 = 0x0009200408UL,
256  NvColorFormat_NonColor16 = 0x0009200A10UL,
257  NvColorFormat_NonColor24 = 0x0009201A18UL,
258  NvColorFormat_NonColor32 = 0x0009201C20UL,
259  NvColorFormat_X4C4 = 0x0009210508UL,
260  NvColorFormat_A4L4 = 0x0100490508UL,
261  NvColorFormat_A8L8 = 0x0100490E10UL,
262  NvColorFormat_Float_A16L16 = 0x0100495D20UL,
263  NvColorFormat_A1B5G5R5 = 0x0100531410UL,
264  NvColorFormat_A4B4G4R4 = 0x0100531510UL,
265  NvColorFormat_A5B5G5R1 = 0x0100531810UL,
266  NvColorFormat_A2B10G10R10 = 0x0100532020UL,
267  NvColorFormat_A8B8G8R8 = 0x0100532120UL,
268  NvColorFormat_A16B16G16R16 = 0x0100532740UL,
269  NvColorFormat_Float_A16B16G16R16 = 0x0100536740UL,
270  NvColorFormat_A1R5G5B5 = 0x0100D11410UL,
271  NvColorFormat_A4R4G4B4 = 0x0100D11510UL,
272  NvColorFormat_A5R1G5B5 = 0x0100D11610UL,
273  NvColorFormat_A2R10G10B10 = 0x0100D12020UL,
274  NvColorFormat_A8R8G8B8 = 0x0100D12120UL,
275  NvColorFormat_A1 = 0x0101240101UL,
276  NvColorFormat_A2 = 0x0101240202UL,
277  NvColorFormat_A4 = 0x0101240304UL,
278  NvColorFormat_A8 = 0x0101240408UL,
279  NvColorFormat_A16 = 0x0101240A10UL,
280  NvColorFormat_A32 = 0x0101241C20UL,
281  NvColorFormat_Float_A16 = 0x0101244A10UL,
282  NvColorFormat_L4A4 = 0x0102000508UL,
283  NvColorFormat_L8A8 = 0x0102000E10UL,
284  NvColorFormat_B4G4R4A4 = 0x01060A1510UL,
285  NvColorFormat_B5G5R1A5 = 0x01060A1710UL,
286  NvColorFormat_B5G5R5A1 = 0x01060A1810UL,
287  NvColorFormat_B8G8R8A8 = 0x01060A2120UL,
288  NvColorFormat_B10G10R10A2 = 0x01060A2320UL,
289  NvColorFormat_R1G5B5A5 = 0x0106881410UL,
290  NvColorFormat_R4G4B4A4 = 0x0106881510UL,
291  NvColorFormat_R5G5B5A1 = 0x0106881810UL,
292  NvColorFormat_R8G8B8A8 = 0x0106882120UL,
293  NvColorFormat_R10G10B10A2 = 0x0106882320UL,
294  NvColorFormat_L1 = 0x010A000101UL,
295  NvColorFormat_L2 = 0x010A000202UL,
296  NvColorFormat_L4 = 0x010A000304UL,
297  NvColorFormat_L8 = 0x010A000408UL,
298  NvColorFormat_L16 = 0x010A000A10UL,
299  NvColorFormat_L32 = 0x010A001C20UL,
300  NvColorFormat_Float_L16 = 0x010A004A10UL,
301  NvColorFormat_B5G6R5 = 0x010A0A1210UL,
302  NvColorFormat_B6G5R5 = 0x010A0A1310UL,
303  NvColorFormat_B5G5R5X1 = 0x010A0A1810UL,
304  NvColorFormat_B8_G8_R8 = 0x010A0A1918UL,
305  NvColorFormat_B8G8R8X8 = 0x010A0A2120UL,
306  NvColorFormat_Float_B10G11R11 = 0x010A0A5E20UL,
307  NvColorFormat_X1B5G5R5 = 0x010A531410UL,
308  NvColorFormat_X8B8G8R8 = 0x010A532120UL,
309  NvColorFormat_X16B16G16R16 = 0x010A532740UL,
310  NvColorFormat_Float_X16B16G16R16 = 0x010A536740UL,
311  NvColorFormat_R3G3B2 = 0x010A880608UL,
312  NvColorFormat_R5G5B6 = 0x010A881110UL,
313  NvColorFormat_R5G6B5 = 0x010A881210UL,
314  NvColorFormat_R5G5B5X1 = 0x010A881810UL,
315  NvColorFormat_R8_G8_B8 = 0x010A881918UL,
316  NvColorFormat_R8G8B8X8 = 0x010A882120UL,
317  NvColorFormat_X1R5G5B5 = 0x010AD11410UL,
318  NvColorFormat_X8R8G8B8 = 0x010AD12120UL,
319  NvColorFormat_RG8 = 0x010B080E10UL,
320  NvColorFormat_R16G16 = 0x010B081D20UL,
321  NvColorFormat_Float_R16G16 = 0x010B085D20UL,
322  NvColorFormat_R8 = 0x010B200408UL,
323  NvColorFormat_R16 = 0x010B200A10UL,
324  NvColorFormat_Float_R16 = 0x010B204A10UL,
325  NvColorFormat_A2B10G10R10_sRGB = 0x0200532020UL,
326  NvColorFormat_A8B8G8R8_sRGB = 0x0200532120UL,
327  NvColorFormat_A16B16G16R16_sRGB = 0x0200532740UL,
328  NvColorFormat_A2R10G10B10_sRGB = 0x0200D12020UL,
329  NvColorFormat_B10G10R10A2_sRGB = 0x02060A2320UL,
330  NvColorFormat_R10G10B10A2_sRGB = 0x0206882320UL,
331  NvColorFormat_X8B8G8R8_sRGB = 0x020A532120UL,
332  NvColorFormat_X16B16G16R16_sRGB = 0x020A532740UL,
333  NvColorFormat_A2B10G10R10_709 = 0x0300532020UL,
334  NvColorFormat_A8B8G8R8_709 = 0x0300532120UL,
335  NvColorFormat_A16B16G16R16_709 = 0x0300532740UL,
336  NvColorFormat_A2R10G10B10_709 = 0x0300D12020UL,
337  NvColorFormat_B10G10R10A2_709 = 0x03060A2320UL,
338  NvColorFormat_R10G10B10A2_709 = 0x0306882320UL,
339  NvColorFormat_X8B8G8R8_709 = 0x030A532120UL,
340  NvColorFormat_X16B16G16R16_709 = 0x030A532740UL,
341  NvColorFormat_A2B10G10R10_709_Linear = 0x0400532020UL,
342  NvColorFormat_A8B8G8R8_709_Linear = 0x0400532120UL,
343  NvColorFormat_A16B16G16R16_709_Linear = 0x0400532740UL,
344  NvColorFormat_A2R10G10B10_709_Linear = 0x0400D12020UL,
345  NvColorFormat_B10G10R10A2_709_Linear = 0x04060A2320UL,
346  NvColorFormat_R10G10B10A2_709_Linear = 0x0406882320UL,
347  NvColorFormat_X8B8G8R8_709_Linear = 0x040A532120UL,
348  NvColorFormat_X16B16G16R16_709_Linear = 0x040A532740UL,
349  NvColorFormat_Float_A16B16G16R16_scRGB_Linear = 0x0500536740UL,
350  NvColorFormat_A2B10G10R10_2020 = 0x0600532020UL,
351  NvColorFormat_A8B8G8R8_2020 = 0x0600532120UL,
352  NvColorFormat_A16B16G16R16_2020 = 0x0600532740UL,
353  NvColorFormat_A2R10G10B10_2020 = 0x0600D12020UL,
354  NvColorFormat_B10G10R10A2_2020 = 0x06060A2320UL,
355  NvColorFormat_R10G10B10A2_2020 = 0x0606882320UL,
356  NvColorFormat_X8B8G8R8_2020 = 0x060A532120UL,
357  NvColorFormat_X16B16G16R16_2020 = 0x060A532740UL,
358  NvColorFormat_A2B10G10R10_2020_Linear = 0x0700532020UL,
359  NvColorFormat_A8B8G8R8_2020_Linear = 0x0700532120UL,
360  NvColorFormat_A16B16G16R16_2020_Linear = 0x0700532740UL,
361  NvColorFormat_Float_A16B16G16R16_2020_Linear = 0x0700536740UL,
362  NvColorFormat_A2R10G10B10_2020_Linear = 0x0700D12020UL,
363  NvColorFormat_B10G10R10A2_2020_Linear = 0x07060A2320UL,
364  NvColorFormat_R10G10B10A2_2020_Linear = 0x0706882320UL,
365  NvColorFormat_X8B8G8R8_2020_Linear = 0x070A532120UL,
366  NvColorFormat_X16B16G16R16_2020_Linear = 0x070A532740UL,
367  NvColorFormat_Float_A16B16G16R16_2020_PQ = 0x0800536740UL,
368  NvColorFormat_A4I4 = 0x0901210508UL,
369  NvColorFormat_A8I8 = 0x0901210E10UL,
370  NvColorFormat_I4A4 = 0x0903200508UL,
371  NvColorFormat_I8A8 = 0x0903200E10UL,
372  NvColorFormat_I1 = 0x0909200101UL,
373  NvColorFormat_I2 = 0x0909200202UL,
374  NvColorFormat_I4 = 0x0909200304UL,
375  NvColorFormat_I8 = 0x0909200408UL,
376  NvColorFormat_A8Y8U8V8 = 0x0A00D12120UL,
377  NvColorFormat_A16Y16U16V16 = 0x0A00D12740UL,
378  NvColorFormat_Y8U8V8A8 = 0x0A06882120UL,
379  NvColorFormat_V8_U8 = 0x0A080C0710UL,
380  NvColorFormat_V8U8 = 0x0A080C0E10UL,
381  NvColorFormat_V10U10 = 0x0A08142220UL,
382  NvColorFormat_V12U12 = 0x0A08142420UL,
383  NvColorFormat_V8 = 0x0A08240408UL,
384  NvColorFormat_V10 = 0x0A08240F10UL,
385  NvColorFormat_V12 = 0x0A08241010UL,
386  NvColorFormat_U8_V8 = 0x0A08440710UL,
387  NvColorFormat_U8V8 = 0x0A08440E10UL,
388  NvColorFormat_U10V10 = 0x0A08842220UL,
389  NvColorFormat_U12V12 = 0x0A08842420UL,
390  NvColorFormat_U8 = 0x0A09040408UL,
391  NvColorFormat_U10 = 0x0A09040F10UL,
392  NvColorFormat_U12 = 0x0A09041010UL,
393  NvColorFormat_Y8 = 0x0A09200408UL,
394  NvColorFormat_Y10 = 0x0A09200F10UL,
395  NvColorFormat_Y12 = 0x0A09201010UL,
396  NvColorFormat_YVYU = 0x0A0A500810UL,
397  NvColorFormat_VYUY = 0x0A0A500910UL,
398  NvColorFormat_YUYV = 0x0A0A880810UL,
399  NvColorFormat_UYVY = 0x0A0A880910UL,
400  NvColorFormat_Y8_U8_V8 = 0x0A0A881918UL,
401  NvColorFormat_V8_U8_RR = 0x0B080C0710UL,
402  NvColorFormat_V8U8_RR = 0x0B080C0E10UL,
403  NvColorFormat_V8_RR = 0x0B08240408UL,
404  NvColorFormat_U8_V8_RR = 0x0B08440710UL,
405  NvColorFormat_U8V8_RR = 0x0B08440E10UL,
406  NvColorFormat_U8_RR = 0x0B09040408UL,
407  NvColorFormat_Y8_RR = 0x0B09200408UL,
408  NvColorFormat_V8_U8_ER = 0x0C080C0710UL,
409  NvColorFormat_V8U8_ER = 0x0C080C0E10UL,
410  NvColorFormat_V8_ER = 0x0C08240408UL,
411  NvColorFormat_U8_V8_ER = 0x0C08440710UL,
412  NvColorFormat_U8V8_ER = 0x0C08440E10UL,
413  NvColorFormat_U8_ER = 0x0C09040408UL,
414  NvColorFormat_Y8_ER = 0x0C09200408UL,
415  NvColorFormat_V8_U8_709 = 0x0D080C0710UL,
416  NvColorFormat_V8U8_709 = 0x0D080C0E10UL,
417  NvColorFormat_V10U10_709 = 0x0D08142220UL,
418  NvColorFormat_V12U12_709 = 0x0D08142420UL,
419  NvColorFormat_V8_709 = 0x0D08240408UL,
420  NvColorFormat_V10_709 = 0x0D08240F10UL,
421  NvColorFormat_V12_709 = 0x0D08241010UL,
422  NvColorFormat_U8_V8_709 = 0x0D08440710UL,
423  NvColorFormat_U8V8_709 = 0x0D08440E10UL,
424  NvColorFormat_U10V10_709 = 0x0D08842220UL,
425  NvColorFormat_U12V12_709 = 0x0D08842420UL,
426  NvColorFormat_U8_709 = 0x0D09040408UL,
427  NvColorFormat_U10_709 = 0x0D09040F10UL,
428  NvColorFormat_U12_709 = 0x0D09041010UL,
429  NvColorFormat_Y8_709 = 0x0D09200408UL,
430  NvColorFormat_Y10_709 = 0x0D09200F10UL,
431  NvColorFormat_Y12_709 = 0x0D09201010UL,
432  NvColorFormat_V8_U8_709_ER = 0x0E080C0710UL,
433  NvColorFormat_V8U8_709_ER = 0x0E080C0E10UL,
434  NvColorFormat_V10U10_709_ER = 0x0E08142220UL,
435  NvColorFormat_V12U12_709_ER = 0x0E08142420UL,
436  NvColorFormat_V8_709_ER = 0x0E08240408UL,
437  NvColorFormat_V10_709_ER = 0x0E08240F10UL,
438  NvColorFormat_V12_709_ER = 0x0E08241010UL,
439  NvColorFormat_U8_V8_709_ER = 0x0E08440710UL,
440  NvColorFormat_U8V8_709_ER = 0x0E08440E10UL,
441  NvColorFormat_U10V10_709_ER = 0x0E08842220UL,
442  NvColorFormat_U12V12_709_ER = 0x0E08842420UL,
443  NvColorFormat_U8_709_ER = 0x0E09040408UL,
444  NvColorFormat_U10_709_ER = 0x0E09040F10UL,
445  NvColorFormat_U12_709_ER = 0x0E09041010UL,
446  NvColorFormat_Y8_709_ER = 0x0E09200408UL,
447  NvColorFormat_Y10_709_ER = 0x0E09200F10UL,
448  NvColorFormat_Y12_709_ER = 0x0E09201010UL,
449  NvColorFormat_V10U10_2020 = 0x0F08142220UL,
450  NvColorFormat_V12U12_2020 = 0x0F08142420UL,
451  NvColorFormat_V10_2020 = 0x0F08240F10UL,
452  NvColorFormat_V12_2020 = 0x0F08241010UL,
453  NvColorFormat_U10V10_2020 = 0x0F08842220UL,
454  NvColorFormat_U12V12_2020 = 0x0F08842420UL,
455  NvColorFormat_U10_2020 = 0x0F09040F10UL,
456  NvColorFormat_U12_2020 = 0x0F09041010UL,
457  NvColorFormat_Y10_2020 = 0x0F09200F10UL,
458  NvColorFormat_Y12_2020 = 0x0F09201010UL,
459  NvColorFormat_Bayer8RGGB = 0x1009200408UL,
460  NvColorFormat_Bayer16RGGB = 0x1009200A10UL,
461  NvColorFormat_BayerS16RGGB = 0x1009208A10UL,
462  NvColorFormat_X2Bayer14RGGB = 0x1009210B10UL,
463  NvColorFormat_X4Bayer12RGGB = 0x1009210C10UL,
464  NvColorFormat_X6Bayer10RGGB = 0x1009210D10UL,
465  NvColorFormat_Bayer8BGGR = 0x1109200408UL,
466  NvColorFormat_Bayer16BGGR = 0x1109200A10UL,
467  NvColorFormat_BayerS16BGGR = 0x1109208A10UL,
468  NvColorFormat_X2Bayer14BGGR = 0x1109210B10UL,
469  NvColorFormat_X4Bayer12BGGR = 0x1109210C10UL,
470  NvColorFormat_X6Bayer10BGGR = 0x1109210D10UL,
471  NvColorFormat_Bayer8GRBG = 0x1209200408UL,
472  NvColorFormat_Bayer16GRBG = 0x1209200A10UL,
473  NvColorFormat_BayerS16GRBG = 0x1209208A10UL,
474  NvColorFormat_X2Bayer14GRBG = 0x1209210B10UL,
475  NvColorFormat_X4Bayer12GRBG = 0x1209210C10UL,
476  NvColorFormat_X6Bayer10GRBG = 0x1209210D10UL,
477  NvColorFormat_Bayer8GBRG = 0x1309200408UL,
478  NvColorFormat_Bayer16GBRG = 0x1309200A10UL,
479  NvColorFormat_BayerS16GBRG = 0x1309208A10UL,
480  NvColorFormat_X2Bayer14GBRG = 0x1309210B10UL,
481  NvColorFormat_X4Bayer12GBRG = 0x1309210C10UL,
482  NvColorFormat_X6Bayer10GBRG = 0x1309210D10UL,
483  NvColorFormat_XYZ = 0x140A886640UL,
484 } NvColorFormat;
u64
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22