1 /* Generated by ./xlat/gen.sh from ./xlat/v4l2_colorspaces.in; do not edit. */ 2 3 #include "gcc_compat.h" 4 #include "static_assert.h" 5 6 7 #ifndef XLAT_MACROS_ONLY 8 9 # ifdef IN_MPERS 10 11 extern const struct xlat v4l2_colorspaces[]; 12 13 # else 14 15 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) 16 static 17 # endif 18 const struct xlat v4l2_colorspaces[] = { 19 #if defined(V4L2_COLORSPACE_SMPTE170M) || (defined(HAVE_DECL_V4L2_COLORSPACE_SMPTE170M) && HAVE_DECL_V4L2_COLORSPACE_SMPTE170M) 20 XLAT(V4L2_COLORSPACE_SMPTE170M), 21 #endif 22 #if defined(V4L2_COLORSPACE_SMPTE240M) || (defined(HAVE_DECL_V4L2_COLORSPACE_SMPTE240M) && HAVE_DECL_V4L2_COLORSPACE_SMPTE240M) 23 XLAT(V4L2_COLORSPACE_SMPTE240M), 24 #endif 25 #if defined(V4L2_COLORSPACE_REC709) || (defined(HAVE_DECL_V4L2_COLORSPACE_REC709) && HAVE_DECL_V4L2_COLORSPACE_REC709) 26 XLAT(V4L2_COLORSPACE_REC709), 27 #endif 28 #if defined(V4L2_COLORSPACE_BT878) || (defined(HAVE_DECL_V4L2_COLORSPACE_BT878) && HAVE_DECL_V4L2_COLORSPACE_BT878) 29 XLAT(V4L2_COLORSPACE_BT878), 30 #endif 31 #if defined(V4L2_COLORSPACE_470_SYSTEM_M) || (defined(HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_M) && HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_M) 32 XLAT(V4L2_COLORSPACE_470_SYSTEM_M), 33 #endif 34 #if defined(V4L2_COLORSPACE_470_SYSTEM_BG) || (defined(HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_BG) && HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_BG) 35 XLAT(V4L2_COLORSPACE_470_SYSTEM_BG), 36 #endif 37 #if defined(V4L2_COLORSPACE_JPEG) || (defined(HAVE_DECL_V4L2_COLORSPACE_JPEG) && HAVE_DECL_V4L2_COLORSPACE_JPEG) 38 XLAT(V4L2_COLORSPACE_JPEG), 39 #endif 40 #if defined(V4L2_COLORSPACE_SRGB) || (defined(HAVE_DECL_V4L2_COLORSPACE_SRGB) && HAVE_DECL_V4L2_COLORSPACE_SRGB) 41 XLAT(V4L2_COLORSPACE_SRGB), 42 #endif 43 #if defined(V4L2_COLORSPACE_ADOBERGB) || (defined(HAVE_DECL_V4L2_COLORSPACE_ADOBERGB) && HAVE_DECL_V4L2_COLORSPACE_ADOBERGB) 44 XLAT(V4L2_COLORSPACE_ADOBERGB), 45 #endif 46 #if defined(V4L2_COLORSPACE_BT2020) || (defined(HAVE_DECL_V4L2_COLORSPACE_BT2020) && HAVE_DECL_V4L2_COLORSPACE_BT2020) 47 XLAT(V4L2_COLORSPACE_BT2020), 48 #endif 49 #if defined(V4L2_COLORSPACE_RAW) || (defined(HAVE_DECL_V4L2_COLORSPACE_RAW) && HAVE_DECL_V4L2_COLORSPACE_RAW) 50 XLAT(V4L2_COLORSPACE_RAW), 51 #endif 52 #if defined(V4L2_COLORSPACE_DCI_P3) || (defined(HAVE_DECL_V4L2_COLORSPACE_DCI_P3) && HAVE_DECL_V4L2_COLORSPACE_DCI_P3) 53 XLAT(V4L2_COLORSPACE_DCI_P3), 54 #endif 55 XLAT_END 56 }; 57 58 # endif /* !IN_MPERS */ 59 60 #endif /* !XLAT_MACROS_ONLY */ 61