(root)/
strace-6.5/
src/
xlat/
v4l2_colorspaces.h
       1  /* Generated by ./src/xlat/gen.sh from ./src/xlat/v4l2_colorspaces.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_colorspaces[];
      13  
      14  # else
      15  
      16  DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      17  static const struct xlat_data v4l2_colorspaces_xdata[] = {
      18   [V4L2_COLORSPACE_DEFAULT] = XLAT(V4L2_COLORSPACE_DEFAULT),
      19   #define XLAT_VAL_0 ((unsigned) (V4L2_COLORSPACE_DEFAULT))
      20   #define XLAT_STR_0 STRINGIFY(V4L2_COLORSPACE_DEFAULT)
      21   [V4L2_COLORSPACE_SMPTE170M] = XLAT(V4L2_COLORSPACE_SMPTE170M),
      22   #define XLAT_VAL_1 ((unsigned) (V4L2_COLORSPACE_SMPTE170M))
      23   #define XLAT_STR_1 STRINGIFY(V4L2_COLORSPACE_SMPTE170M)
      24   [V4L2_COLORSPACE_SMPTE240M] = XLAT(V4L2_COLORSPACE_SMPTE240M),
      25   #define XLAT_VAL_2 ((unsigned) (V4L2_COLORSPACE_SMPTE240M))
      26   #define XLAT_STR_2 STRINGIFY(V4L2_COLORSPACE_SMPTE240M)
      27   [V4L2_COLORSPACE_REC709] = XLAT(V4L2_COLORSPACE_REC709),
      28   #define XLAT_VAL_3 ((unsigned) (V4L2_COLORSPACE_REC709))
      29   #define XLAT_STR_3 STRINGIFY(V4L2_COLORSPACE_REC709)
      30   [V4L2_COLORSPACE_BT878] = XLAT(V4L2_COLORSPACE_BT878),
      31   #define XLAT_VAL_4 ((unsigned) (V4L2_COLORSPACE_BT878))
      32   #define XLAT_STR_4 STRINGIFY(V4L2_COLORSPACE_BT878)
      33   [V4L2_COLORSPACE_470_SYSTEM_M] = XLAT(V4L2_COLORSPACE_470_SYSTEM_M),
      34   #define XLAT_VAL_5 ((unsigned) (V4L2_COLORSPACE_470_SYSTEM_M))
      35   #define XLAT_STR_5 STRINGIFY(V4L2_COLORSPACE_470_SYSTEM_M)
      36   [V4L2_COLORSPACE_470_SYSTEM_BG] = XLAT(V4L2_COLORSPACE_470_SYSTEM_BG),
      37   #define XLAT_VAL_6 ((unsigned) (V4L2_COLORSPACE_470_SYSTEM_BG))
      38   #define XLAT_STR_6 STRINGIFY(V4L2_COLORSPACE_470_SYSTEM_BG)
      39   [V4L2_COLORSPACE_JPEG] = XLAT(V4L2_COLORSPACE_JPEG),
      40   #define XLAT_VAL_7 ((unsigned) (V4L2_COLORSPACE_JPEG))
      41   #define XLAT_STR_7 STRINGIFY(V4L2_COLORSPACE_JPEG)
      42   [V4L2_COLORSPACE_SRGB] = XLAT(V4L2_COLORSPACE_SRGB),
      43   #define XLAT_VAL_8 ((unsigned) (V4L2_COLORSPACE_SRGB))
      44   #define XLAT_STR_8 STRINGIFY(V4L2_COLORSPACE_SRGB)
      45   [V4L2_COLORSPACE_OPRGB] = XLAT(V4L2_COLORSPACE_OPRGB),
      46   #define XLAT_VAL_9 ((unsigned) (V4L2_COLORSPACE_OPRGB))
      47   #define XLAT_STR_9 STRINGIFY(V4L2_COLORSPACE_OPRGB)
      48   [V4L2_COLORSPACE_BT2020] = XLAT(V4L2_COLORSPACE_BT2020),
      49   #define XLAT_VAL_10 ((unsigned) (V4L2_COLORSPACE_BT2020))
      50   #define XLAT_STR_10 STRINGIFY(V4L2_COLORSPACE_BT2020)
      51   [V4L2_COLORSPACE_RAW] = XLAT(V4L2_COLORSPACE_RAW),
      52   #define XLAT_VAL_11 ((unsigned) (V4L2_COLORSPACE_RAW))
      53   #define XLAT_STR_11 STRINGIFY(V4L2_COLORSPACE_RAW)
      54   [V4L2_COLORSPACE_DCI_P3] = XLAT(V4L2_COLORSPACE_DCI_P3),
      55   #define XLAT_VAL_12 ((unsigned) (V4L2_COLORSPACE_DCI_P3))
      56   #define XLAT_STR_12 STRINGIFY(V4L2_COLORSPACE_DCI_P3)
      57  };
      58  #  if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
      59  static
      60  #  endif
      61  const struct xlat v4l2_colorspaces[1] = { {
      62   .data = v4l2_colorspaces_xdata,
      63   .size = ARRAY_SIZE(v4l2_colorspaces_xdata),
      64   .type = XT_INDEXED,
      65   .flags_mask = 0
      66  #  ifdef XLAT_VAL_0
      67    | XLAT_VAL_0
      68  #  endif
      69  #  ifdef XLAT_VAL_1
      70    | XLAT_VAL_1
      71  #  endif
      72  #  ifdef XLAT_VAL_2
      73    | XLAT_VAL_2
      74  #  endif
      75  #  ifdef XLAT_VAL_3
      76    | XLAT_VAL_3
      77  #  endif
      78  #  ifdef XLAT_VAL_4
      79    | XLAT_VAL_4
      80  #  endif
      81  #  ifdef XLAT_VAL_5
      82    | XLAT_VAL_5
      83  #  endif
      84  #  ifdef XLAT_VAL_6
      85    | XLAT_VAL_6
      86  #  endif
      87  #  ifdef XLAT_VAL_7
      88    | XLAT_VAL_7
      89  #  endif
      90  #  ifdef XLAT_VAL_8
      91    | XLAT_VAL_8
      92  #  endif
      93  #  ifdef XLAT_VAL_9
      94    | XLAT_VAL_9
      95  #  endif
      96  #  ifdef XLAT_VAL_10
      97    | XLAT_VAL_10
      98  #  endif
      99  #  ifdef XLAT_VAL_11
     100    | XLAT_VAL_11
     101  #  endif
     102  #  ifdef XLAT_VAL_12
     103    | XLAT_VAL_12
     104  #  endif
     105    ,
     106   .flags_strsz = 0
     107  #  ifdef XLAT_STR_0
     108    + sizeof(XLAT_STR_0)
     109  #  endif
     110  #  ifdef XLAT_STR_1
     111    + sizeof(XLAT_STR_1)
     112  #  endif
     113  #  ifdef XLAT_STR_2
     114    + sizeof(XLAT_STR_2)
     115  #  endif
     116  #  ifdef XLAT_STR_3
     117    + sizeof(XLAT_STR_3)
     118  #  endif
     119  #  ifdef XLAT_STR_4
     120    + sizeof(XLAT_STR_4)
     121  #  endif
     122  #  ifdef XLAT_STR_5
     123    + sizeof(XLAT_STR_5)
     124  #  endif
     125  #  ifdef XLAT_STR_6
     126    + sizeof(XLAT_STR_6)
     127  #  endif
     128  #  ifdef XLAT_STR_7
     129    + sizeof(XLAT_STR_7)
     130  #  endif
     131  #  ifdef XLAT_STR_8
     132    + sizeof(XLAT_STR_8)
     133  #  endif
     134  #  ifdef XLAT_STR_9
     135    + sizeof(XLAT_STR_9)
     136  #  endif
     137  #  ifdef XLAT_STR_10
     138    + sizeof(XLAT_STR_10)
     139  #  endif
     140  #  ifdef XLAT_STR_11
     141    + sizeof(XLAT_STR_11)
     142  #  endif
     143  #  ifdef XLAT_STR_12
     144    + sizeof(XLAT_STR_12)
     145  #  endif
     146    ,
     147  } };
     148  DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
     149  
     150  #  undef XLAT_STR_0
     151  #  undef XLAT_VAL_0
     152  #  undef XLAT_STR_1
     153  #  undef XLAT_VAL_1
     154  #  undef XLAT_STR_2
     155  #  undef XLAT_VAL_2
     156  #  undef XLAT_STR_3
     157  #  undef XLAT_VAL_3
     158  #  undef XLAT_STR_4
     159  #  undef XLAT_VAL_4
     160  #  undef XLAT_STR_5
     161  #  undef XLAT_VAL_5
     162  #  undef XLAT_STR_6
     163  #  undef XLAT_VAL_6
     164  #  undef XLAT_STR_7
     165  #  undef XLAT_VAL_7
     166  #  undef XLAT_STR_8
     167  #  undef XLAT_VAL_8
     168  #  undef XLAT_STR_9
     169  #  undef XLAT_VAL_9
     170  #  undef XLAT_STR_10
     171  #  undef XLAT_VAL_10
     172  #  undef XLAT_STR_11
     173  #  undef XLAT_VAL_11
     174  #  undef XLAT_STR_12
     175  #  undef XLAT_VAL_12
     176  # endif /* !IN_MPERS */
     177  
     178  #endif /* !XLAT_MACROS_ONLY */