1 /* Generated by ./src/xlat/gen.sh from ./src/xlat/v4l2_capture_modes.in; do not edit. */
2
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5
6 #undef XLAT_PREV_VAL
7
8 #ifndef XLAT_MACROS_ONLY
9
10 # ifdef IN_MPERS
11
12 extern const struct xlat v4l2_capture_modes[];
13
14 # else
15
16 DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
17 static const struct xlat_data v4l2_capture_modes_xdata[] = {
18 XLAT(V4L2_MODE_HIGHQUALITY),
19 #define XLAT_VAL_0 ((unsigned) (V4L2_MODE_HIGHQUALITY))
20 #define XLAT_STR_0 STRINGIFY(V4L2_MODE_HIGHQUALITY)
21 };
22 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
23 static
24 # endif
25 const struct xlat v4l2_capture_modes[1] = { {
26 .data = v4l2_capture_modes_xdata,
27 .size = ARRAY_SIZE(v4l2_capture_modes_xdata),
28 .type = XT_NORMAL,
29 .flags_mask = 0
30 # ifdef XLAT_VAL_0
31 | XLAT_VAL_0
32 # endif
33 ,
34 .flags_strsz = 0
35 # ifdef XLAT_STR_0
36 + sizeof(XLAT_STR_0)
37 # endif
38 ,
39 } };
40 DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
41
42 # undef XLAT_STR_0
43 # undef XLAT_VAL_0
44 # endif /* !IN_MPERS */
45
46 #endif /* !XLAT_MACROS_ONLY */