xref: /aosp_15_r20/external/strace/xlat/v4l2_fields.h (revision cf84ac9a129d8ea9952db616b4e9b904c4bdde56)
1*cf84ac9aSAndroid Build Coastguard Worker /* Generated by ./xlat/gen.sh from ./xlat/v4l2_fields.in; do not edit. */
2*cf84ac9aSAndroid Build Coastguard Worker 
3*cf84ac9aSAndroid Build Coastguard Worker #include "gcc_compat.h"
4*cf84ac9aSAndroid Build Coastguard Worker #include "static_assert.h"
5*cf84ac9aSAndroid Build Coastguard Worker 
6*cf84ac9aSAndroid Build Coastguard Worker 
7*cf84ac9aSAndroid Build Coastguard Worker #ifndef XLAT_MACROS_ONLY
8*cf84ac9aSAndroid Build Coastguard Worker 
9*cf84ac9aSAndroid Build Coastguard Worker # ifdef IN_MPERS
10*cf84ac9aSAndroid Build Coastguard Worker 
11*cf84ac9aSAndroid Build Coastguard Worker extern const struct xlat v4l2_fields[];
12*cf84ac9aSAndroid Build Coastguard Worker 
13*cf84ac9aSAndroid Build Coastguard Worker # else
14*cf84ac9aSAndroid Build Coastguard Worker 
15*cf84ac9aSAndroid Build Coastguard Worker #  if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
16*cf84ac9aSAndroid Build Coastguard Worker static
17*cf84ac9aSAndroid Build Coastguard Worker #  endif
18*cf84ac9aSAndroid Build Coastguard Worker const struct xlat v4l2_fields[] = {
19*cf84ac9aSAndroid Build Coastguard Worker #if defined(V4L2_FIELD_ANY) || (defined(HAVE_DECL_V4L2_FIELD_ANY) && HAVE_DECL_V4L2_FIELD_ANY)
20*cf84ac9aSAndroid Build Coastguard Worker   XLAT(V4L2_FIELD_ANY),
21*cf84ac9aSAndroid Build Coastguard Worker #endif
22*cf84ac9aSAndroid Build Coastguard Worker #if defined(V4L2_FIELD_NONE) || (defined(HAVE_DECL_V4L2_FIELD_NONE) && HAVE_DECL_V4L2_FIELD_NONE)
23*cf84ac9aSAndroid Build Coastguard Worker   XLAT(V4L2_FIELD_NONE),
24*cf84ac9aSAndroid Build Coastguard Worker #endif
25*cf84ac9aSAndroid Build Coastguard Worker #if defined(V4L2_FIELD_TOP) || (defined(HAVE_DECL_V4L2_FIELD_TOP) && HAVE_DECL_V4L2_FIELD_TOP)
26*cf84ac9aSAndroid Build Coastguard Worker   XLAT(V4L2_FIELD_TOP),
27*cf84ac9aSAndroid Build Coastguard Worker #endif
28*cf84ac9aSAndroid Build Coastguard Worker #if defined(V4L2_FIELD_BOTTOM) || (defined(HAVE_DECL_V4L2_FIELD_BOTTOM) && HAVE_DECL_V4L2_FIELD_BOTTOM)
29*cf84ac9aSAndroid Build Coastguard Worker   XLAT(V4L2_FIELD_BOTTOM),
30*cf84ac9aSAndroid Build Coastguard Worker #endif
31*cf84ac9aSAndroid Build Coastguard Worker #if defined(V4L2_FIELD_INTERLACED) || (defined(HAVE_DECL_V4L2_FIELD_INTERLACED) && HAVE_DECL_V4L2_FIELD_INTERLACED)
32*cf84ac9aSAndroid Build Coastguard Worker   XLAT(V4L2_FIELD_INTERLACED),
33*cf84ac9aSAndroid Build Coastguard Worker #endif
34*cf84ac9aSAndroid Build Coastguard Worker #if defined(V4L2_FIELD_SEQ_TB) || (defined(HAVE_DECL_V4L2_FIELD_SEQ_TB) && HAVE_DECL_V4L2_FIELD_SEQ_TB)
35*cf84ac9aSAndroid Build Coastguard Worker   XLAT(V4L2_FIELD_SEQ_TB),
36*cf84ac9aSAndroid Build Coastguard Worker #endif
37*cf84ac9aSAndroid Build Coastguard Worker #if defined(V4L2_FIELD_SEQ_BT) || (defined(HAVE_DECL_V4L2_FIELD_SEQ_BT) && HAVE_DECL_V4L2_FIELD_SEQ_BT)
38*cf84ac9aSAndroid Build Coastguard Worker   XLAT(V4L2_FIELD_SEQ_BT),
39*cf84ac9aSAndroid Build Coastguard Worker #endif
40*cf84ac9aSAndroid Build Coastguard Worker #if defined(V4L2_FIELD_ALTERNATE) || (defined(HAVE_DECL_V4L2_FIELD_ALTERNATE) && HAVE_DECL_V4L2_FIELD_ALTERNATE)
41*cf84ac9aSAndroid Build Coastguard Worker   XLAT(V4L2_FIELD_ALTERNATE),
42*cf84ac9aSAndroid Build Coastguard Worker #endif
43*cf84ac9aSAndroid Build Coastguard Worker #if defined(V4L2_FIELD_INTERLACED_TB) || (defined(HAVE_DECL_V4L2_FIELD_INTERLACED_TB) && HAVE_DECL_V4L2_FIELD_INTERLACED_TB)
44*cf84ac9aSAndroid Build Coastguard Worker   XLAT(V4L2_FIELD_INTERLACED_TB),
45*cf84ac9aSAndroid Build Coastguard Worker #endif
46*cf84ac9aSAndroid Build Coastguard Worker #if defined(V4L2_FIELD_INTERLACED_BT) || (defined(HAVE_DECL_V4L2_FIELD_INTERLACED_BT) && HAVE_DECL_V4L2_FIELD_INTERLACED_BT)
47*cf84ac9aSAndroid Build Coastguard Worker   XLAT(V4L2_FIELD_INTERLACED_BT),
48*cf84ac9aSAndroid Build Coastguard Worker #endif
49*cf84ac9aSAndroid Build Coastguard Worker  XLAT_END
50*cf84ac9aSAndroid Build Coastguard Worker };
51*cf84ac9aSAndroid Build Coastguard Worker 
52*cf84ac9aSAndroid Build Coastguard Worker # endif /* !IN_MPERS */
53*cf84ac9aSAndroid Build Coastguard Worker 
54*cf84ac9aSAndroid Build Coastguard Worker #endif /* !XLAT_MACROS_ONLY */
55