1 /* Generated by ./xlat/gen.sh from ./xlat/v4l2_pix_fmts.in; do not edit. */ 2 3 #include "gcc_compat.h" 4 #include "static_assert.h" 5 6 #if defined(V4L2_PIX_FMT_Y10) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y10) && HAVE_DECL_V4L2_PIX_FMT_Y10) 7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 8 static_assert((V4L2_PIX_FMT_Y10) == (v4l2_fourcc('Y', '1', '0', ' ')), "V4L2_PIX_FMT_Y10 != v4l2_fourcc('Y', '1', '0', ' ')"); 9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 10 #else 11 # define V4L2_PIX_FMT_Y10 v4l2_fourcc('Y', '1', '0', ' ') 12 #endif 13 #if defined(V4L2_PIX_FMT_Y12) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y12) && HAVE_DECL_V4L2_PIX_FMT_Y12) 14 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 15 static_assert((V4L2_PIX_FMT_Y12) == (v4l2_fourcc('Y', '1', '2', ' ')), "V4L2_PIX_FMT_Y12 != v4l2_fourcc('Y', '1', '2', ' ')"); 16 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 17 #else 18 # define V4L2_PIX_FMT_Y12 v4l2_fourcc('Y', '1', '2', ' ') 19 #endif 20 #if defined(V4L2_PIX_FMT_Y4) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y4) && HAVE_DECL_V4L2_PIX_FMT_Y4) 21 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 22 static_assert((V4L2_PIX_FMT_Y4) == (v4l2_fourcc('Y', '0', '4', ' ')), "V4L2_PIX_FMT_Y4 != v4l2_fourcc('Y', '0', '4', ' ')"); 23 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 24 #else 25 # define V4L2_PIX_FMT_Y4 v4l2_fourcc('Y', '0', '4', ' ') 26 #endif 27 #if defined(V4L2_PIX_FMT_Y6) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y6) && HAVE_DECL_V4L2_PIX_FMT_Y6) 28 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 29 static_assert((V4L2_PIX_FMT_Y6) == (v4l2_fourcc('Y', '0', '6', ' ')), "V4L2_PIX_FMT_Y6 != v4l2_fourcc('Y', '0', '6', ' ')"); 30 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 31 #else 32 # define V4L2_PIX_FMT_Y6 v4l2_fourcc('Y', '0', '6', ' ') 33 #endif 34 #if defined(V4L2_PIX_FMT_Y16) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y16) && HAVE_DECL_V4L2_PIX_FMT_Y16) 35 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 36 static_assert((V4L2_PIX_FMT_Y16) == (v4l2_fourcc('Y', '1', '6', ' ')), "V4L2_PIX_FMT_Y16 != v4l2_fourcc('Y', '1', '6', ' ')"); 37 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 38 #else 39 # define V4L2_PIX_FMT_Y16 v4l2_fourcc('Y', '1', '6', ' ') 40 #endif 41 #if defined(V4L2_PIX_FMT_Z16) || (defined(HAVE_DECL_V4L2_PIX_FMT_Z16) && HAVE_DECL_V4L2_PIX_FMT_Z16) 42 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 43 static_assert((V4L2_PIX_FMT_Z16) == (v4l2_fourcc('Z', '1', '6', ' ')), "V4L2_PIX_FMT_Z16 != v4l2_fourcc('Z', '1', '6', ' ')"); 44 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 45 #else 46 # define V4L2_PIX_FMT_Z16 v4l2_fourcc('Z', '1', '6', ' ') 47 #endif 48 #if defined(V4L2_PIX_FMT_UV8) || (defined(HAVE_DECL_V4L2_PIX_FMT_UV8) && HAVE_DECL_V4L2_PIX_FMT_UV8) 49 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 50 static_assert((V4L2_PIX_FMT_UV8) == (v4l2_fourcc('U', 'V', '8', ' ')), "V4L2_PIX_FMT_UV8 != v4l2_fourcc('U', 'V', '8', ' ')"); 51 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 52 #else 53 # define V4L2_PIX_FMT_UV8 v4l2_fourcc('U', 'V', '8', ' ') 54 #endif 55 #if defined(V4L2_PIX_FMT_Y8I) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y8I) && HAVE_DECL_V4L2_PIX_FMT_Y8I) 56 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 57 static_assert((V4L2_PIX_FMT_Y8I) == (v4l2_fourcc('Y', '8', 'I', ' ')), "V4L2_PIX_FMT_Y8I != v4l2_fourcc('Y', '8', 'I', ' ')"); 58 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 59 #else 60 # define V4L2_PIX_FMT_Y8I v4l2_fourcc('Y', '8', 'I', ' ') 61 #endif 62 #if defined(V4L2_PIX_FMT_MR97310A) || (defined(HAVE_DECL_V4L2_PIX_FMT_MR97310A) && HAVE_DECL_V4L2_PIX_FMT_MR97310A) 63 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 64 static_assert((V4L2_PIX_FMT_MR97310A) == (v4l2_fourcc('M', '3', '1', '0')), "V4L2_PIX_FMT_MR97310A != v4l2_fourcc('M', '3', '1', '0')"); 65 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 66 #else 67 # define V4L2_PIX_FMT_MR97310A v4l2_fourcc('M', '3', '1', '0') 68 #endif 69 #if defined(V4L2_PIX_FMT_SN9C10X) || (defined(HAVE_DECL_V4L2_PIX_FMT_SN9C10X) && HAVE_DECL_V4L2_PIX_FMT_SN9C10X) 70 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 71 static_assert((V4L2_PIX_FMT_SN9C10X) == (v4l2_fourcc('S', '9', '1', '0')), "V4L2_PIX_FMT_SN9C10X != v4l2_fourcc('S', '9', '1', '0')"); 72 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 73 #else 74 # define V4L2_PIX_FMT_SN9C10X v4l2_fourcc('S', '9', '1', '0') 75 #endif 76 #if defined(V4L2_PIX_FMT_SGRBG10) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG10) && HAVE_DECL_V4L2_PIX_FMT_SGRBG10) 77 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 78 static_assert((V4L2_PIX_FMT_SGRBG10) == (v4l2_fourcc('B', 'A', '1', '0')), "V4L2_PIX_FMT_SGRBG10 != v4l2_fourcc('B', 'A', '1', '0')"); 79 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 80 #else 81 # define V4L2_PIX_FMT_SGRBG10 v4l2_fourcc('B', 'A', '1', '0') 82 #endif 83 #if defined(V4L2_PIX_FMT_SGBRG10) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG10) && HAVE_DECL_V4L2_PIX_FMT_SGBRG10) 84 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 85 static_assert((V4L2_PIX_FMT_SGBRG10) == (v4l2_fourcc('G', 'B', '1', '0')), "V4L2_PIX_FMT_SGBRG10 != v4l2_fourcc('G', 'B', '1', '0')"); 86 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 87 #else 88 # define V4L2_PIX_FMT_SGBRG10 v4l2_fourcc('G', 'B', '1', '0') 89 #endif 90 #if defined(V4L2_PIX_FMT_SGRBG10DPCM8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG10DPCM8) && HAVE_DECL_V4L2_PIX_FMT_SGRBG10DPCM8) 91 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 92 static_assert((V4L2_PIX_FMT_SGRBG10DPCM8) == (v4l2_fourcc('B', 'D', '1', '0')), "V4L2_PIX_FMT_SGRBG10DPCM8 != v4l2_fourcc('B', 'D', '1', '0')"); 93 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 94 #else 95 # define V4L2_PIX_FMT_SGRBG10DPCM8 v4l2_fourcc('B', 'D', '1', '0') 96 #endif 97 #if defined(V4L2_PIX_FMT_SBGGR10) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR10) && HAVE_DECL_V4L2_PIX_FMT_SBGGR10) 98 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 99 static_assert((V4L2_PIX_FMT_SBGGR10) == (v4l2_fourcc('B', 'G', '1', '0')), "V4L2_PIX_FMT_SBGGR10 != v4l2_fourcc('B', 'G', '1', '0')"); 100 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 101 #else 102 # define V4L2_PIX_FMT_SBGGR10 v4l2_fourcc('B', 'G', '1', '0') 103 #endif 104 #if defined(V4L2_PIX_FMT_SRGGB10) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB10) && HAVE_DECL_V4L2_PIX_FMT_SRGGB10) 105 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 106 static_assert((V4L2_PIX_FMT_SRGGB10) == (v4l2_fourcc('R', 'G', '1', '0')), "V4L2_PIX_FMT_SRGGB10 != v4l2_fourcc('R', 'G', '1', '0')"); 107 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 108 #else 109 # define V4L2_PIX_FMT_SRGGB10 v4l2_fourcc('R', 'G', '1', '0') 110 #endif 111 #if defined(V4L2_PIX_FMT_M420) || (defined(HAVE_DECL_V4L2_PIX_FMT_M420) && HAVE_DECL_V4L2_PIX_FMT_M420) 112 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 113 static_assert((V4L2_PIX_FMT_M420) == (v4l2_fourcc('M', '4', '2', '0')), "V4L2_PIX_FMT_M420 != v4l2_fourcc('M', '4', '2', '0')"); 114 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 115 #else 116 # define V4L2_PIX_FMT_M420 v4l2_fourcc('M', '4', '2', '0') 117 #endif 118 #if defined(V4L2_PIX_FMT_SN9C20X_I420) || (defined(HAVE_DECL_V4L2_PIX_FMT_SN9C20X_I420) && HAVE_DECL_V4L2_PIX_FMT_SN9C20X_I420) 119 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 120 static_assert((V4L2_PIX_FMT_SN9C20X_I420) == (v4l2_fourcc('S', '9', '2', '0')), "V4L2_PIX_FMT_SN9C20X_I420 != v4l2_fourcc('S', '9', '2', '0')"); 121 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 122 #else 123 # define V4L2_PIX_FMT_SN9C20X_I420 v4l2_fourcc('S', '9', '2', '0') 124 #endif 125 #if defined(V4L2_PIX_FMT_JL2005BCD) || (defined(HAVE_DECL_V4L2_PIX_FMT_JL2005BCD) && HAVE_DECL_V4L2_PIX_FMT_JL2005BCD) 126 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 127 static_assert((V4L2_PIX_FMT_JL2005BCD) == (v4l2_fourcc('J', 'L', '2', '0')), "V4L2_PIX_FMT_JL2005BCD != v4l2_fourcc('J', 'L', '2', '0')"); 128 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 129 #else 130 # define V4L2_PIX_FMT_JL2005BCD v4l2_fourcc('J', 'L', '2', '0') 131 #endif 132 #if defined(V4L2_PIX_FMT_TM6000) || (defined(HAVE_DECL_V4L2_PIX_FMT_TM6000) && HAVE_DECL_V4L2_PIX_FMT_TM6000) 133 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 134 static_assert((V4L2_PIX_FMT_TM6000) == (v4l2_fourcc('T', 'M', '6', '0')), "V4L2_PIX_FMT_TM6000 != v4l2_fourcc('T', 'M', '6', '0')"); 135 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 136 #else 137 # define V4L2_PIX_FMT_TM6000 v4l2_fourcc('T', 'M', '6', '0') 138 #endif 139 #if defined(V4L2_PIX_FMT_STV0680) || (defined(HAVE_DECL_V4L2_PIX_FMT_STV0680) && HAVE_DECL_V4L2_PIX_FMT_STV0680) 140 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 141 static_assert((V4L2_PIX_FMT_STV0680) == (v4l2_fourcc('S', '6', '8', '0')), "V4L2_PIX_FMT_STV0680 != v4l2_fourcc('S', '6', '8', '0')"); 142 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 143 #else 144 # define V4L2_PIX_FMT_STV0680 v4l2_fourcc('S', '6', '8', '0') 145 #endif 146 #if defined(V4L2_PIX_FMT_VP8) || (defined(HAVE_DECL_V4L2_PIX_FMT_VP8) && HAVE_DECL_V4L2_PIX_FMT_VP8) 147 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 148 static_assert((V4L2_PIX_FMT_VP8) == (v4l2_fourcc('V', 'P', '8', '0')), "V4L2_PIX_FMT_VP8 != v4l2_fourcc('V', 'P', '8', '0')"); 149 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 150 #else 151 # define V4L2_PIX_FMT_VP8 v4l2_fourcc('V', 'P', '8', '0') 152 #endif 153 #if defined(V4L2_PIX_FMT_VP9) || (defined(HAVE_DECL_V4L2_PIX_FMT_VP9) && HAVE_DECL_V4L2_PIX_FMT_VP9) 154 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 155 static_assert((V4L2_PIX_FMT_VP9) == (v4l2_fourcc('V', 'P', '9', '0')), "V4L2_PIX_FMT_VP9 != v4l2_fourcc('V', 'P', '9', '0')"); 156 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 157 #else 158 # define V4L2_PIX_FMT_VP9 v4l2_fourcc('V', 'P', '9', '0') 159 #endif 160 #if defined(V4L2_PIX_FMT_SE401) || (defined(HAVE_DECL_V4L2_PIX_FMT_SE401) && HAVE_DECL_V4L2_PIX_FMT_SE401) 161 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 162 static_assert((V4L2_PIX_FMT_SE401) == (v4l2_fourcc('S', '4', '0', '1')), "V4L2_PIX_FMT_SE401 != v4l2_fourcc('S', '4', '0', '1')"); 163 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 164 #else 165 # define V4L2_PIX_FMT_SE401 v4l2_fourcc('S', '4', '0', '1') 166 #endif 167 #if defined(V4L2_PIX_FMT_SPCA501) || (defined(HAVE_DECL_V4L2_PIX_FMT_SPCA501) && HAVE_DECL_V4L2_PIX_FMT_SPCA501) 168 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 169 static_assert((V4L2_PIX_FMT_SPCA501) == (v4l2_fourcc('S', '5', '0', '1')), "V4L2_PIX_FMT_SPCA501 != v4l2_fourcc('S', '5', '0', '1')"); 170 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 171 #else 172 # define V4L2_PIX_FMT_SPCA501 v4l2_fourcc('S', '5', '0', '1') 173 #endif 174 #if defined(V4L2_PIX_FMT_OV511) || (defined(HAVE_DECL_V4L2_PIX_FMT_OV511) && HAVE_DECL_V4L2_PIX_FMT_OV511) 175 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 176 static_assert((V4L2_PIX_FMT_OV511) == (v4l2_fourcc('O', '5', '1', '1')), "V4L2_PIX_FMT_OV511 != v4l2_fourcc('O', '5', '1', '1')"); 177 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 178 #else 179 # define V4L2_PIX_FMT_OV511 v4l2_fourcc('O', '5', '1', '1') 180 #endif 181 #if defined(V4L2_PIX_FMT_NV21M) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV21M) && HAVE_DECL_V4L2_PIX_FMT_NV21M) 182 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 183 static_assert((V4L2_PIX_FMT_NV21M) == (v4l2_fourcc('N', 'M', '2', '1')), "V4L2_PIX_FMT_NV21M != v4l2_fourcc('N', 'M', '2', '1')"); 184 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 185 #else 186 # define V4L2_PIX_FMT_NV21M v4l2_fourcc('N', 'M', '2', '1') 187 #endif 188 #if defined(V4L2_PIX_FMT_YVU420M) || (defined(HAVE_DECL_V4L2_PIX_FMT_YVU420M) && HAVE_DECL_V4L2_PIX_FMT_YVU420M) 189 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 190 static_assert((V4L2_PIX_FMT_YVU420M) == (v4l2_fourcc('Y', 'M', '2', '1')), "V4L2_PIX_FMT_YVU420M != v4l2_fourcc('Y', 'M', '2', '1')"); 191 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 192 #else 193 # define V4L2_PIX_FMT_YVU420M v4l2_fourcc('Y', 'M', '2', '1') 194 #endif 195 #if defined(V4L2_PIX_FMT_MT21C) || (defined(HAVE_DECL_V4L2_PIX_FMT_MT21C) && HAVE_DECL_V4L2_PIX_FMT_MT21C) 196 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 197 static_assert((V4L2_PIX_FMT_MT21C) == (v4l2_fourcc('M', 'T', '2', '1')), "V4L2_PIX_FMT_MT21C != v4l2_fourcc('M', 'T', '2', '1')"); 198 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 199 #else 200 # define V4L2_PIX_FMT_MT21C v4l2_fourcc('M', 'T', '2', '1') 201 #endif 202 #if defined(V4L2_PIX_FMT_NV21) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV21) && HAVE_DECL_V4L2_PIX_FMT_NV21) 203 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 204 static_assert((V4L2_PIX_FMT_NV21) == (v4l2_fourcc('N', 'V', '2', '1')), "V4L2_PIX_FMT_NV21 != v4l2_fourcc('N', 'V', '2', '1')"); 205 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 206 #else 207 # define V4L2_PIX_FMT_NV21 v4l2_fourcc('N', 'V', '2', '1') 208 #endif 209 #if defined(V4L2_PIX_FMT_SPCA561) || (defined(HAVE_DECL_V4L2_PIX_FMT_SPCA561) && HAVE_DECL_V4L2_PIX_FMT_SPCA561) 210 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 211 static_assert((V4L2_PIX_FMT_SPCA561) == (v4l2_fourcc('S', '5', '6', '1')), "V4L2_PIX_FMT_SPCA561 != v4l2_fourcc('S', '5', '6', '1')"); 212 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 213 #else 214 # define V4L2_PIX_FMT_SPCA561 v4l2_fourcc('S', '5', '6', '1') 215 #endif 216 #if defined(V4L2_PIX_FMT_NV61M) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV61M) && HAVE_DECL_V4L2_PIX_FMT_NV61M) 217 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 218 static_assert((V4L2_PIX_FMT_NV61M) == (v4l2_fourcc('N', 'M', '6', '1')), "V4L2_PIX_FMT_NV61M != v4l2_fourcc('N', 'M', '6', '1')"); 219 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 220 #else 221 # define V4L2_PIX_FMT_NV61M v4l2_fourcc('N', 'M', '6', '1') 222 #endif 223 #if defined(V4L2_PIX_FMT_YVU422M) || (defined(HAVE_DECL_V4L2_PIX_FMT_YVU422M) && HAVE_DECL_V4L2_PIX_FMT_YVU422M) 224 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 225 static_assert((V4L2_PIX_FMT_YVU422M) == (v4l2_fourcc('Y', 'M', '6', '1')), "V4L2_PIX_FMT_YVU422M != v4l2_fourcc('Y', 'M', '6', '1')"); 226 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 227 #else 228 # define V4L2_PIX_FMT_YVU422M v4l2_fourcc('Y', 'M', '6', '1') 229 #endif 230 #if defined(V4L2_PIX_FMT_NV61) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV61) && HAVE_DECL_V4L2_PIX_FMT_NV61) 231 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 232 static_assert((V4L2_PIX_FMT_NV61) == (v4l2_fourcc('N', 'V', '6', '1')), "V4L2_PIX_FMT_NV61 != v4l2_fourcc('N', 'V', '6', '1')"); 233 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 234 #else 235 # define V4L2_PIX_FMT_NV61 v4l2_fourcc('N', 'V', '6', '1') 236 #endif 237 #if defined(V4L2_PIX_FMT_SBGGR8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR8) && HAVE_DECL_V4L2_PIX_FMT_SBGGR8) 238 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 239 static_assert((V4L2_PIX_FMT_SBGGR8) == (v4l2_fourcc('B', 'A', '8', '1')), "V4L2_PIX_FMT_SBGGR8 != v4l2_fourcc('B', 'A', '8', '1')"); 240 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 241 #else 242 # define V4L2_PIX_FMT_SBGGR8 v4l2_fourcc('B', 'A', '8', '1') 243 #endif 244 #if defined(V4L2_PIX_FMT_RGB332) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB332) && HAVE_DECL_V4L2_PIX_FMT_RGB332) 245 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 246 static_assert((V4L2_PIX_FMT_RGB332) == (v4l2_fourcc('R', 'G', 'B', '1')), "V4L2_PIX_FMT_RGB332 != v4l2_fourcc('R', 'G', 'B', '1')"); 247 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 248 #else 249 # define V4L2_PIX_FMT_RGB332 v4l2_fourcc('R', 'G', 'B', '1') 250 #endif 251 #if defined(V4L2_PIX_FMT_H264_NO_SC) || (defined(HAVE_DECL_V4L2_PIX_FMT_H264_NO_SC) && HAVE_DECL_V4L2_PIX_FMT_H264_NO_SC) 252 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 253 static_assert((V4L2_PIX_FMT_H264_NO_SC) == (v4l2_fourcc('A', 'V', 'C', '1')), "V4L2_PIX_FMT_H264_NO_SC != v4l2_fourcc('A', 'V', 'C', '1')"); 254 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 255 #else 256 # define V4L2_PIX_FMT_H264_NO_SC v4l2_fourcc('A', 'V', 'C', '1') 257 #endif 258 #if defined(V4L2_PIX_FMT_PWC1) || (defined(HAVE_DECL_V4L2_PIX_FMT_PWC1) && HAVE_DECL_V4L2_PIX_FMT_PWC1) 259 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 260 static_assert((V4L2_PIX_FMT_PWC1) == (v4l2_fourcc('P', 'W', 'C', '1')), "V4L2_PIX_FMT_PWC1 != v4l2_fourcc('P', 'W', 'C', '1')"); 261 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 262 #else 263 # define V4L2_PIX_FMT_PWC1 v4l2_fourcc('P', 'W', 'C', '1') 264 #endif 265 #if defined(V4L2_PIX_FMT_MPEG1) || (defined(HAVE_DECL_V4L2_PIX_FMT_MPEG1) && HAVE_DECL_V4L2_PIX_FMT_MPEG1) 266 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 267 static_assert((V4L2_PIX_FMT_MPEG1) == (v4l2_fourcc('M', 'P', 'G', '1')), "V4L2_PIX_FMT_MPEG1 != v4l2_fourcc('M', 'P', 'G', '1')"); 268 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 269 #else 270 # define V4L2_PIX_FMT_MPEG1 v4l2_fourcc('M', 'P', 'G', '1') 271 #endif 272 #if defined(V4L2_PIX_FMT_SGRBG12) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG12) && HAVE_DECL_V4L2_PIX_FMT_SGRBG12) 273 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 274 static_assert((V4L2_PIX_FMT_SGRBG12) == (v4l2_fourcc('B', 'A', '1', '2')), "V4L2_PIX_FMT_SGRBG12 != v4l2_fourcc('B', 'A', '1', '2')"); 275 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 276 #else 277 # define V4L2_PIX_FMT_SGRBG12 v4l2_fourcc('B', 'A', '1', '2') 278 #endif 279 #if defined(V4L2_PIX_FMT_SGBRG12) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG12) && HAVE_DECL_V4L2_PIX_FMT_SGBRG12) 280 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 281 static_assert((V4L2_PIX_FMT_SGBRG12) == (v4l2_fourcc('G', 'B', '1', '2')), "V4L2_PIX_FMT_SGBRG12 != v4l2_fourcc('G', 'B', '1', '2')"); 282 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 283 #else 284 # define V4L2_PIX_FMT_SGBRG12 v4l2_fourcc('G', 'B', '1', '2') 285 #endif 286 #if defined(V4L2_PIX_FMT_SBGGR12) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR12) && HAVE_DECL_V4L2_PIX_FMT_SBGGR12) 287 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 288 static_assert((V4L2_PIX_FMT_SBGGR12) == (v4l2_fourcc('B', 'G', '1', '2')), "V4L2_PIX_FMT_SBGGR12 != v4l2_fourcc('B', 'G', '1', '2')"); 289 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 290 #else 291 # define V4L2_PIX_FMT_SBGGR12 v4l2_fourcc('B', 'G', '1', '2') 292 #endif 293 #if defined(V4L2_PIX_FMT_SRGGB12) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB12) && HAVE_DECL_V4L2_PIX_FMT_SRGGB12) 294 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 295 static_assert((V4L2_PIX_FMT_SRGGB12) == (v4l2_fourcc('R', 'G', '1', '2')), "V4L2_PIX_FMT_SRGGB12 != v4l2_fourcc('R', 'G', '1', '2')"); 296 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 297 #else 298 # define V4L2_PIX_FMT_SRGGB12 v4l2_fourcc('R', 'G', '1', '2') 299 #endif 300 #if defined(V4L2_PIX_FMT_HM12) || (defined(HAVE_DECL_V4L2_PIX_FMT_HM12) && HAVE_DECL_V4L2_PIX_FMT_HM12) 301 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 302 static_assert((V4L2_PIX_FMT_HM12) == (v4l2_fourcc('H', 'M', '1', '2')), "V4L2_PIX_FMT_HM12 != v4l2_fourcc('H', 'M', '1', '2')"); 303 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 304 #else 305 # define V4L2_PIX_FMT_HM12 v4l2_fourcc('H', 'M', '1', '2') 306 #endif 307 #if defined(V4L2_PIX_FMT_NV12M) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV12M) && HAVE_DECL_V4L2_PIX_FMT_NV12M) 308 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 309 static_assert((V4L2_PIX_FMT_NV12M) == (v4l2_fourcc('N', 'M', '1', '2')), "V4L2_PIX_FMT_NV12M != v4l2_fourcc('N', 'M', '1', '2')"); 310 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 311 #else 312 # define V4L2_PIX_FMT_NV12M v4l2_fourcc('N', 'M', '1', '2') 313 #endif 314 #if defined(V4L2_PIX_FMT_NV12MT) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV12MT) && HAVE_DECL_V4L2_PIX_FMT_NV12MT) 315 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 316 static_assert((V4L2_PIX_FMT_NV12MT) == (v4l2_fourcc('T', 'M', '1', '2')), "V4L2_PIX_FMT_NV12MT != v4l2_fourcc('T', 'M', '1', '2')"); 317 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 318 #else 319 # define V4L2_PIX_FMT_NV12MT v4l2_fourcc('T', 'M', '1', '2') 320 #endif 321 #if defined(V4L2_PIX_FMT_NV12MT_16X16) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV12MT_16X16) && HAVE_DECL_V4L2_PIX_FMT_NV12MT_16X16) 322 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 323 static_assert((V4L2_PIX_FMT_NV12MT_16X16) == (v4l2_fourcc('V', 'M', '1', '2')), "V4L2_PIX_FMT_NV12MT_16X16 != v4l2_fourcc('V', 'M', '1', '2')"); 324 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 325 #else 326 # define V4L2_PIX_FMT_NV12MT_16X16 v4l2_fourcc('V', 'M', '1', '2') 327 #endif 328 #if defined(V4L2_PIX_FMT_YUV420M) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV420M) && HAVE_DECL_V4L2_PIX_FMT_YUV420M) 329 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 330 static_assert((V4L2_PIX_FMT_YUV420M) == (v4l2_fourcc('Y', 'M', '1', '2')), "V4L2_PIX_FMT_YUV420M != v4l2_fourcc('Y', 'M', '1', '2')"); 331 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 332 #else 333 # define V4L2_PIX_FMT_YUV420M v4l2_fourcc('Y', 'M', '1', '2') 334 #endif 335 #if defined(V4L2_PIX_FMT_ARGB444) || (defined(HAVE_DECL_V4L2_PIX_FMT_ARGB444) && HAVE_DECL_V4L2_PIX_FMT_ARGB444) 336 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 337 static_assert((V4L2_PIX_FMT_ARGB444) == (v4l2_fourcc('A', 'R', '1', '2')), "V4L2_PIX_FMT_ARGB444 != v4l2_fourcc('A', 'R', '1', '2')"); 338 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 339 #else 340 # define V4L2_PIX_FMT_ARGB444 v4l2_fourcc('A', 'R', '1', '2') 341 #endif 342 #if defined(V4L2_PIX_FMT_XRGB444) || (defined(HAVE_DECL_V4L2_PIX_FMT_XRGB444) && HAVE_DECL_V4L2_PIX_FMT_XRGB444) 343 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 344 static_assert((V4L2_PIX_FMT_XRGB444) == (v4l2_fourcc('X', 'R', '1', '2')), "V4L2_PIX_FMT_XRGB444 != v4l2_fourcc('X', 'R', '1', '2')"); 345 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 346 #else 347 # define V4L2_PIX_FMT_XRGB444 v4l2_fourcc('X', 'R', '1', '2') 348 #endif 349 #if defined(V4L2_PIX_FMT_YUV420) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV420) && HAVE_DECL_V4L2_PIX_FMT_YUV420) 350 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 351 static_assert((V4L2_PIX_FMT_YUV420) == (v4l2_fourcc('Y', 'U', '1', '2')), "V4L2_PIX_FMT_YUV420 != v4l2_fourcc('Y', 'U', '1', '2')"); 352 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 353 #else 354 # define V4L2_PIX_FMT_YUV420 v4l2_fourcc('Y', 'U', '1', '2') 355 #endif 356 #if defined(V4L2_PIX_FMT_NV12) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV12) && HAVE_DECL_V4L2_PIX_FMT_NV12) 357 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 358 static_assert((V4L2_PIX_FMT_NV12) == (v4l2_fourcc('N', 'V', '1', '2')), "V4L2_PIX_FMT_NV12 != v4l2_fourcc('N', 'V', '1', '2')"); 359 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 360 #else 361 # define V4L2_PIX_FMT_NV12 v4l2_fourcc('N', 'V', '1', '2') 362 #endif 363 #if defined(V4L2_PIX_FMT_YVU420) || (defined(HAVE_DECL_V4L2_PIX_FMT_YVU420) && HAVE_DECL_V4L2_PIX_FMT_YVU420) 364 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 365 static_assert((V4L2_PIX_FMT_YVU420) == (v4l2_fourcc('Y', 'V', '1', '2')), "V4L2_PIX_FMT_YVU420 != v4l2_fourcc('Y', 'V', '1', '2')"); 366 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 367 #else 368 # define V4L2_PIX_FMT_YVU420 v4l2_fourcc('Y', 'V', '1', '2') 369 #endif 370 #if defined(V4L2_PIX_FMT_YVU444M) || (defined(HAVE_DECL_V4L2_PIX_FMT_YVU444M) && HAVE_DECL_V4L2_PIX_FMT_YVU444M) 371 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 372 static_assert((V4L2_PIX_FMT_YVU444M) == (v4l2_fourcc('Y', 'M', '4', '2')), "V4L2_PIX_FMT_YVU444M != v4l2_fourcc('Y', 'M', '4', '2')"); 373 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 374 #else 375 # define V4L2_PIX_FMT_YVU444M v4l2_fourcc('Y', 'M', '4', '2') 376 #endif 377 #if defined(V4L2_PIX_FMT_NV42) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV42) && HAVE_DECL_V4L2_PIX_FMT_NV42) 378 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 379 static_assert((V4L2_PIX_FMT_NV42) == (v4l2_fourcc('N', 'V', '4', '2')), "V4L2_PIX_FMT_NV42 != v4l2_fourcc('N', 'V', '4', '2')"); 380 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 381 #else 382 # define V4L2_PIX_FMT_NV42 v4l2_fourcc('N', 'V', '4', '2') 383 #endif 384 #if defined(V4L2_PIX_FMT_PWC2) || (defined(HAVE_DECL_V4L2_PIX_FMT_PWC2) && HAVE_DECL_V4L2_PIX_FMT_PWC2) 385 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 386 static_assert((V4L2_PIX_FMT_PWC2) == (v4l2_fourcc('P', 'W', 'C', '2')), "V4L2_PIX_FMT_PWC2 != v4l2_fourcc('P', 'W', 'C', '2')"); 387 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 388 #else 389 # define V4L2_PIX_FMT_PWC2 v4l2_fourcc('P', 'W', 'C', '2') 390 #endif 391 #if defined(V4L2_PIX_FMT_MPEG2) || (defined(HAVE_DECL_V4L2_PIX_FMT_MPEG2) && HAVE_DECL_V4L2_PIX_FMT_MPEG2) 392 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 393 static_assert((V4L2_PIX_FMT_MPEG2) == (v4l2_fourcc('M', 'P', 'G', '2')), "V4L2_PIX_FMT_MPEG2 != v4l2_fourcc('M', 'P', 'G', '2')"); 394 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 395 #else 396 # define V4L2_PIX_FMT_MPEG2 v4l2_fourcc('M', 'P', 'G', '2') 397 #endif 398 #if defined(V4L2_PIX_FMT_SBGGR16) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR16) && HAVE_DECL_V4L2_PIX_FMT_SBGGR16) 399 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 400 static_assert((V4L2_PIX_FMT_SBGGR16) == (v4l2_fourcc('B', 'Y', 'R', '2')), "V4L2_PIX_FMT_SBGGR16 != v4l2_fourcc('B', 'Y', 'R', '2')"); 401 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 402 #else 403 # define V4L2_PIX_FMT_SBGGR16 v4l2_fourcc('B', 'Y', 'R', '2') 404 #endif 405 #if defined(V4L2_PIX_FMT_H263) || (defined(HAVE_DECL_V4L2_PIX_FMT_H263) && HAVE_DECL_V4L2_PIX_FMT_H263) 406 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 407 static_assert((V4L2_PIX_FMT_H263) == (v4l2_fourcc('H', '2', '6', '3')), "V4L2_PIX_FMT_H263 != v4l2_fourcc('H', '2', '6', '3')"); 408 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 409 #else 410 # define V4L2_PIX_FMT_H263 v4l2_fourcc('H', '2', '6', '3') 411 #endif 412 #if defined(V4L2_PIX_FMT_RGB24) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB24) && HAVE_DECL_V4L2_PIX_FMT_RGB24) 413 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 414 static_assert((V4L2_PIX_FMT_RGB24) == (v4l2_fourcc('R', 'G', 'B', '3')), "V4L2_PIX_FMT_RGB24 != v4l2_fourcc('R', 'G', 'B', '3')"); 415 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 416 #else 417 # define V4L2_PIX_FMT_RGB24 v4l2_fourcc('R', 'G', 'B', '3') 418 #endif 419 #if defined(V4L2_PIX_FMT_BGR24) || (defined(HAVE_DECL_V4L2_PIX_FMT_BGR24) && HAVE_DECL_V4L2_PIX_FMT_BGR24) 420 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 421 static_assert((V4L2_PIX_FMT_BGR24) == (v4l2_fourcc('B', 'G', 'R', '3')), "V4L2_PIX_FMT_BGR24 != v4l2_fourcc('B', 'G', 'R', '3')"); 422 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 423 #else 424 # define V4L2_PIX_FMT_BGR24 v4l2_fourcc('B', 'G', 'R', '3') 425 #endif 426 #if defined(V4L2_PIX_FMT_HSV24) || (defined(HAVE_DECL_V4L2_PIX_FMT_HSV24) && HAVE_DECL_V4L2_PIX_FMT_HSV24) 427 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 428 static_assert((V4L2_PIX_FMT_HSV24) == (v4l2_fourcc('H', 'S', 'V', '3')), "V4L2_PIX_FMT_HSV24 != v4l2_fourcc('H', 'S', 'V', '3')"); 429 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 430 #else 431 # define V4L2_PIX_FMT_HSV24 v4l2_fourcc('H', 'S', 'V', '3') 432 #endif 433 #if defined(V4L2_PIX_FMT_ARGB32) || (defined(HAVE_DECL_V4L2_PIX_FMT_ARGB32) && HAVE_DECL_V4L2_PIX_FMT_ARGB32) 434 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 435 static_assert((V4L2_PIX_FMT_ARGB32) == (v4l2_fourcc('B', 'A', '2', '4')), "V4L2_PIX_FMT_ARGB32 != v4l2_fourcc('B', 'A', '2', '4')"); 436 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 437 #else 438 # define V4L2_PIX_FMT_ARGB32 v4l2_fourcc('B', 'A', '2', '4') 439 #endif 440 #if defined(V4L2_PIX_FMT_HI240) || (defined(HAVE_DECL_V4L2_PIX_FMT_HI240) && HAVE_DECL_V4L2_PIX_FMT_HI240) 441 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 442 static_assert((V4L2_PIX_FMT_HI240) == (v4l2_fourcc('H', 'I', '2', '4')), "V4L2_PIX_FMT_HI240 != v4l2_fourcc('H', 'I', '2', '4')"); 443 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 444 #else 445 # define V4L2_PIX_FMT_HI240 v4l2_fourcc('H', 'I', '2', '4') 446 #endif 447 #if defined(V4L2_PIX_FMT_YUV444M) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV444M) && HAVE_DECL_V4L2_PIX_FMT_YUV444M) 448 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 449 static_assert((V4L2_PIX_FMT_YUV444M) == (v4l2_fourcc('Y', 'M', '2', '4')), "V4L2_PIX_FMT_YUV444M != v4l2_fourcc('Y', 'M', '2', '4')"); 450 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 451 #else 452 # define V4L2_PIX_FMT_YUV444M v4l2_fourcc('Y', 'M', '2', '4') 453 #endif 454 #if defined(V4L2_PIX_FMT_ABGR32) || (defined(HAVE_DECL_V4L2_PIX_FMT_ABGR32) && HAVE_DECL_V4L2_PIX_FMT_ABGR32) 455 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 456 static_assert((V4L2_PIX_FMT_ABGR32) == (v4l2_fourcc('A', 'R', '2', '4')), "V4L2_PIX_FMT_ABGR32 != v4l2_fourcc('A', 'R', '2', '4')"); 457 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 458 #else 459 # define V4L2_PIX_FMT_ABGR32 v4l2_fourcc('A', 'R', '2', '4') 460 #endif 461 #if defined(V4L2_PIX_FMT_XBGR32) || (defined(HAVE_DECL_V4L2_PIX_FMT_XBGR32) && HAVE_DECL_V4L2_PIX_FMT_XBGR32) 462 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 463 static_assert((V4L2_PIX_FMT_XBGR32) == (v4l2_fourcc('X', 'R', '2', '4')), "V4L2_PIX_FMT_XBGR32 != v4l2_fourcc('X', 'R', '2', '4')"); 464 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 465 #else 466 # define V4L2_PIX_FMT_XBGR32 v4l2_fourcc('X', 'R', '2', '4') 467 #endif 468 #if defined(V4L2_PIX_FMT_NV24) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV24) && HAVE_DECL_V4L2_PIX_FMT_NV24) 469 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 470 static_assert((V4L2_PIX_FMT_NV24) == (v4l2_fourcc('N', 'V', '2', '4')), "V4L2_PIX_FMT_NV24 != v4l2_fourcc('N', 'V', '2', '4')"); 471 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 472 #else 473 # define V4L2_PIX_FMT_NV24 v4l2_fourcc('N', 'V', '2', '4') 474 #endif 475 #if defined(V4L2_PIX_FMT_XRGB32) || (defined(HAVE_DECL_V4L2_PIX_FMT_XRGB32) && HAVE_DECL_V4L2_PIX_FMT_XRGB32) 476 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 477 static_assert((V4L2_PIX_FMT_XRGB32) == (v4l2_fourcc('B', 'X', '2', '4')), "V4L2_PIX_FMT_XRGB32 != v4l2_fourcc('B', 'X', '2', '4')"); 478 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 479 #else 480 # define V4L2_PIX_FMT_XRGB32 v4l2_fourcc('B', 'X', '2', '4') 481 #endif 482 #if defined(V4L2_PIX_FMT_RGB444) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB444) && HAVE_DECL_V4L2_PIX_FMT_RGB444) 483 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 484 static_assert((V4L2_PIX_FMT_RGB444) == (v4l2_fourcc('R', '4', '4', '4')), "V4L2_PIX_FMT_RGB444 != v4l2_fourcc('R', '4', '4', '4')"); 485 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 486 #else 487 # define V4L2_PIX_FMT_RGB444 v4l2_fourcc('R', '4', '4', '4') 488 #endif 489 #if defined(V4L2_PIX_FMT_YUV444) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV444) && HAVE_DECL_V4L2_PIX_FMT_YUV444) 490 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 491 static_assert((V4L2_PIX_FMT_YUV444) == (v4l2_fourcc('Y', '4', '4', '4')), "V4L2_PIX_FMT_YUV444 != v4l2_fourcc('Y', '4', '4', '4')"); 492 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 493 #else 494 # define V4L2_PIX_FMT_YUV444 v4l2_fourcc('Y', '4', '4', '4') 495 #endif 496 #if defined(V4L2_PIX_FMT_H264) || (defined(HAVE_DECL_V4L2_PIX_FMT_H264) && HAVE_DECL_V4L2_PIX_FMT_H264) 497 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 498 static_assert((V4L2_PIX_FMT_H264) == (v4l2_fourcc('H', '2', '6', '4')), "V4L2_PIX_FMT_H264 != v4l2_fourcc('H', '2', '6', '4')"); 499 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 500 #else 501 # define V4L2_PIX_FMT_H264 v4l2_fourcc('H', '2', '6', '4') 502 #endif 503 #if defined(V4L2_PIX_FMT_H264_MVC) || (defined(HAVE_DECL_V4L2_PIX_FMT_H264_MVC) && HAVE_DECL_V4L2_PIX_FMT_H264_MVC) 504 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 505 static_assert((V4L2_PIX_FMT_H264_MVC) == (v4l2_fourcc('M', '2', '6', '4')), "V4L2_PIX_FMT_H264_MVC != v4l2_fourcc('M', '2', '6', '4')"); 506 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 507 #else 508 # define V4L2_PIX_FMT_H264_MVC v4l2_fourcc('M', '2', '6', '4') 509 #endif 510 #if defined(V4L2_PIX_FMT_RGB32) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB32) && HAVE_DECL_V4L2_PIX_FMT_RGB32) 511 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 512 static_assert((V4L2_PIX_FMT_RGB32) == (v4l2_fourcc('R', 'G', 'B', '4')), "V4L2_PIX_FMT_RGB32 != v4l2_fourcc('R', 'G', 'B', '4')"); 513 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 514 #else 515 # define V4L2_PIX_FMT_RGB32 v4l2_fourcc('R', 'G', 'B', '4') 516 #endif 517 #if defined(V4L2_PIX_FMT_MPEG4) || (defined(HAVE_DECL_V4L2_PIX_FMT_MPEG4) && HAVE_DECL_V4L2_PIX_FMT_MPEG4) 518 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 519 static_assert((V4L2_PIX_FMT_MPEG4) == (v4l2_fourcc('M', 'P', 'G', '4')), "V4L2_PIX_FMT_MPEG4 != v4l2_fourcc('M', 'P', 'G', '4')"); 520 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 521 #else 522 # define V4L2_PIX_FMT_MPEG4 v4l2_fourcc('M', 'P', 'G', '4') 523 #endif 524 #if defined(V4L2_PIX_FMT_BGR32) || (defined(HAVE_DECL_V4L2_PIX_FMT_BGR32) && HAVE_DECL_V4L2_PIX_FMT_BGR32) 525 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 526 static_assert((V4L2_PIX_FMT_BGR32) == (v4l2_fourcc('B', 'G', 'R', '4')), "V4L2_PIX_FMT_BGR32 != v4l2_fourcc('B', 'G', 'R', '4')"); 527 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 528 #else 529 # define V4L2_PIX_FMT_BGR32 v4l2_fourcc('B', 'G', 'R', '4') 530 #endif 531 #if defined(V4L2_PIX_FMT_HSV32) || (defined(HAVE_DECL_V4L2_PIX_FMT_HSV32) && HAVE_DECL_V4L2_PIX_FMT_HSV32) 532 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 533 static_assert((V4L2_PIX_FMT_HSV32) == (v4l2_fourcc('H', 'S', 'V', '4')), "V4L2_PIX_FMT_HSV32 != v4l2_fourcc('H', 'S', 'V', '4')"); 534 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 535 #else 536 # define V4L2_PIX_FMT_HSV32 v4l2_fourcc('H', 'S', 'V', '4') 537 #endif 538 #if defined(V4L2_PIX_FMT_YUV32) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV32) && HAVE_DECL_V4L2_PIX_FMT_YUV32) 539 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 540 static_assert((V4L2_PIX_FMT_YUV32) == (v4l2_fourcc('Y', 'U', 'V', '4')), "V4L2_PIX_FMT_YUV32 != v4l2_fourcc('Y', 'U', 'V', '4')"); 541 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 542 #else 543 # define V4L2_PIX_FMT_YUV32 v4l2_fourcc('Y', 'U', 'V', '4') 544 #endif 545 #if defined(V4L2_PIX_FMT_SPCA505) || (defined(HAVE_DECL_V4L2_PIX_FMT_SPCA505) && HAVE_DECL_V4L2_PIX_FMT_SPCA505) 546 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 547 static_assert((V4L2_PIX_FMT_SPCA505) == (v4l2_fourcc('S', '5', '0', '5')), "V4L2_PIX_FMT_SPCA505 != v4l2_fourcc('S', '5', '0', '5')"); 548 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 549 #else 550 # define V4L2_PIX_FMT_SPCA505 v4l2_fourcc('S', '5', '0', '5') 551 #endif 552 #if defined(V4L2_PIX_FMT_ARGB555) || (defined(HAVE_DECL_V4L2_PIX_FMT_ARGB555) && HAVE_DECL_V4L2_PIX_FMT_ARGB555) 553 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 554 static_assert((V4L2_PIX_FMT_ARGB555) == (v4l2_fourcc('A', 'R', '1', '5')), "V4L2_PIX_FMT_ARGB555 != v4l2_fourcc('A', 'R', '1', '5')"); 555 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 556 #else 557 # define V4L2_PIX_FMT_ARGB555 v4l2_fourcc('A', 'R', '1', '5') 558 #endif 559 #if defined(V4L2_PIX_FMT_XRGB555) || (defined(HAVE_DECL_V4L2_PIX_FMT_XRGB555) && HAVE_DECL_V4L2_PIX_FMT_XRGB555) 560 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 561 static_assert((V4L2_PIX_FMT_XRGB555) == (v4l2_fourcc('X', 'R', '1', '5')), "V4L2_PIX_FMT_XRGB555 != v4l2_fourcc('X', 'R', '1', '5')"); 562 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 563 #else 564 # define V4L2_PIX_FMT_XRGB555 v4l2_fourcc('X', 'R', '1', '5') 565 #endif 566 #if defined(V4L2_PIX_FMT_ET61X251) || (defined(HAVE_DECL_V4L2_PIX_FMT_ET61X251) && HAVE_DECL_V4L2_PIX_FMT_ET61X251) 567 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 568 static_assert((V4L2_PIX_FMT_ET61X251) == (v4l2_fourcc('E', '6', '2', '5')), "V4L2_PIX_FMT_ET61X251 != v4l2_fourcc('E', '6', '2', '5')"); 569 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 570 #else 571 # define V4L2_PIX_FMT_ET61X251 v4l2_fourcc('E', '6', '2', '5') 572 #endif 573 #if defined(V4L2_PIX_FMT_SGBRG16) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG16) && HAVE_DECL_V4L2_PIX_FMT_SGBRG16) 574 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 575 static_assert((V4L2_PIX_FMT_SGBRG16) == (v4l2_fourcc('G', 'B', '1', '6')), "V4L2_PIX_FMT_SGBRG16 != v4l2_fourcc('G', 'B', '1', '6')"); 576 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 577 #else 578 # define V4L2_PIX_FMT_SGBRG16 v4l2_fourcc('G', 'B', '1', '6') 579 #endif 580 #if defined(V4L2_PIX_FMT_SRGGB16) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB16) && HAVE_DECL_V4L2_PIX_FMT_SRGGB16) 581 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 582 static_assert((V4L2_PIX_FMT_SRGGB16) == (v4l2_fourcc('R', 'G', '1', '6')), "V4L2_PIX_FMT_SRGGB16 != v4l2_fourcc('R', 'G', '1', '6')"); 583 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 584 #else 585 # define V4L2_PIX_FMT_SRGGB16 v4l2_fourcc('R', 'G', '1', '6') 586 #endif 587 #if defined(V4L2_PIX_FMT_NV16M) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV16M) && HAVE_DECL_V4L2_PIX_FMT_NV16M) 588 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 589 static_assert((V4L2_PIX_FMT_NV16M) == (v4l2_fourcc('N', 'M', '1', '6')), "V4L2_PIX_FMT_NV16M != v4l2_fourcc('N', 'M', '1', '6')"); 590 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 591 #else 592 # define V4L2_PIX_FMT_NV16M v4l2_fourcc('N', 'M', '1', '6') 593 #endif 594 #if defined(V4L2_PIX_FMT_YUV422M) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV422M) && HAVE_DECL_V4L2_PIX_FMT_YUV422M) 595 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 596 static_assert((V4L2_PIX_FMT_YUV422M) == (v4l2_fourcc('Y', 'M', '1', '6')), "V4L2_PIX_FMT_YUV422M != v4l2_fourcc('Y', 'M', '1', '6')"); 597 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 598 #else 599 # define V4L2_PIX_FMT_YUV422M v4l2_fourcc('Y', 'M', '1', '6') 600 #endif 601 #if defined(V4L2_PIX_FMT_SGRBG16) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG16) && HAVE_DECL_V4L2_PIX_FMT_SGRBG16) 602 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 603 static_assert((V4L2_PIX_FMT_SGRBG16) == (v4l2_fourcc('G', 'R', '1', '6')), "V4L2_PIX_FMT_SGRBG16 != v4l2_fourcc('G', 'R', '1', '6')"); 604 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 605 #else 606 # define V4L2_PIX_FMT_SGRBG16 v4l2_fourcc('G', 'R', '1', '6') 607 #endif 608 #if defined(V4L2_PIX_FMT_NV16) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV16) && HAVE_DECL_V4L2_PIX_FMT_NV16) 609 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 610 static_assert((V4L2_PIX_FMT_NV16) == (v4l2_fourcc('N', 'V', '1', '6')), "V4L2_PIX_FMT_NV16 != v4l2_fourcc('N', 'V', '1', '6')"); 611 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 612 #else 613 # define V4L2_PIX_FMT_NV16 v4l2_fourcc('N', 'V', '1', '6') 614 #endif 615 #if defined(V4L2_PIX_FMT_PAC207) || (defined(HAVE_DECL_V4L2_PIX_FMT_PAC207) && HAVE_DECL_V4L2_PIX_FMT_PAC207) 616 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 617 static_assert((V4L2_PIX_FMT_PAC207) == (v4l2_fourcc('P', '2', '0', '7')), "V4L2_PIX_FMT_PAC207 != v4l2_fourcc('P', '2', '0', '7')"); 618 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 619 #else 620 # define V4L2_PIX_FMT_PAC207 v4l2_fourcc('P', '2', '0', '7') 621 #endif 622 #if defined(V4L2_PIX_FMT_SPCA508) || (defined(HAVE_DECL_V4L2_PIX_FMT_SPCA508) && HAVE_DECL_V4L2_PIX_FMT_SPCA508) 623 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 624 static_assert((V4L2_PIX_FMT_SPCA508) == (v4l2_fourcc('S', '5', '0', '8')), "V4L2_PIX_FMT_SPCA508 != v4l2_fourcc('S', '5', '0', '8')"); 625 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 626 #else 627 # define V4L2_PIX_FMT_SPCA508 v4l2_fourcc('S', '5', '0', '8') 628 #endif 629 #if defined(V4L2_PIX_FMT_OV518) || (defined(HAVE_DECL_V4L2_PIX_FMT_OV518) && HAVE_DECL_V4L2_PIX_FMT_OV518) 630 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 631 static_assert((V4L2_PIX_FMT_OV518) == (v4l2_fourcc('O', '5', '1', '8')), "V4L2_PIX_FMT_OV518 != v4l2_fourcc('O', '5', '1', '8')"); 632 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 633 #else 634 # define V4L2_PIX_FMT_OV518 v4l2_fourcc('O', '5', '1', '8') 635 #endif 636 #if defined(V4L2_PIX_FMT_SBGGR10ALAW8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR10ALAW8) && HAVE_DECL_V4L2_PIX_FMT_SBGGR10ALAW8) 637 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 638 static_assert((V4L2_PIX_FMT_SBGGR10ALAW8) == (v4l2_fourcc('a', 'B', 'A', '8')), "V4L2_PIX_FMT_SBGGR10ALAW8 != v4l2_fourcc('a', 'B', 'A', '8')"); 639 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 640 #else 641 # define V4L2_PIX_FMT_SBGGR10ALAW8 v4l2_fourcc('a', 'B', 'A', '8') 642 #endif 643 #if defined(V4L2_PIX_FMT_SBGGR10DPCM8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR10DPCM8) && HAVE_DECL_V4L2_PIX_FMT_SBGGR10DPCM8) 644 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 645 static_assert((V4L2_PIX_FMT_SBGGR10DPCM8) == (v4l2_fourcc('b', 'B', 'A', '8')), "V4L2_PIX_FMT_SBGGR10DPCM8 != v4l2_fourcc('b', 'B', 'A', '8')"); 646 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 647 #else 648 # define V4L2_PIX_FMT_SBGGR10DPCM8 v4l2_fourcc('b', 'B', 'A', '8') 649 #endif 650 #if defined(V4L2_PIX_FMT_SGBRG10ALAW8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG10ALAW8) && HAVE_DECL_V4L2_PIX_FMT_SGBRG10ALAW8) 651 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 652 static_assert((V4L2_PIX_FMT_SGBRG10ALAW8) == (v4l2_fourcc('a', 'G', 'A', '8')), "V4L2_PIX_FMT_SGBRG10ALAW8 != v4l2_fourcc('a', 'G', 'A', '8')"); 653 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 654 #else 655 # define V4L2_PIX_FMT_SGBRG10ALAW8 v4l2_fourcc('a', 'G', 'A', '8') 656 #endif 657 #if defined(V4L2_PIX_FMT_SGBRG10DPCM8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG10DPCM8) && HAVE_DECL_V4L2_PIX_FMT_SGBRG10DPCM8) 658 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 659 static_assert((V4L2_PIX_FMT_SGBRG10DPCM8) == (v4l2_fourcc('b', 'G', 'A', '8')), "V4L2_PIX_FMT_SGBRG10DPCM8 != v4l2_fourcc('b', 'G', 'A', '8')"); 660 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 661 #else 662 # define V4L2_PIX_FMT_SGBRG10DPCM8 v4l2_fourcc('b', 'G', 'A', '8') 663 #endif 664 #if defined(V4L2_PIX_FMT_SRGGB10ALAW8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB10ALAW8) && HAVE_DECL_V4L2_PIX_FMT_SRGGB10ALAW8) 665 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 666 static_assert((V4L2_PIX_FMT_SRGGB10ALAW8) == (v4l2_fourcc('a', 'R', 'A', '8')), "V4L2_PIX_FMT_SRGGB10ALAW8 != v4l2_fourcc('a', 'R', 'A', '8')"); 667 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 668 #else 669 # define V4L2_PIX_FMT_SRGGB10ALAW8 v4l2_fourcc('a', 'R', 'A', '8') 670 #endif 671 #if defined(V4L2_PIX_FMT_SRGGB10DPCM8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB10DPCM8) && HAVE_DECL_V4L2_PIX_FMT_SRGGB10DPCM8) 672 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 673 static_assert((V4L2_PIX_FMT_SRGGB10DPCM8) == (v4l2_fourcc('b', 'R', 'A', '8')), "V4L2_PIX_FMT_SRGGB10DPCM8 != v4l2_fourcc('b', 'R', 'A', '8')"); 674 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 675 #else 676 # define V4L2_PIX_FMT_SRGGB10DPCM8 v4l2_fourcc('b', 'R', 'A', '8') 677 #endif 678 #if defined(V4L2_PIX_FMT_SGRBG10ALAW8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG10ALAW8) && HAVE_DECL_V4L2_PIX_FMT_SGRBG10ALAW8) 679 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 680 static_assert((V4L2_PIX_FMT_SGRBG10ALAW8) == (v4l2_fourcc('a', 'g', 'A', '8')), "V4L2_PIX_FMT_SGRBG10ALAW8 != v4l2_fourcc('a', 'g', 'A', '8')"); 681 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 682 #else 683 # define V4L2_PIX_FMT_SGRBG10ALAW8 v4l2_fourcc('a', 'g', 'A', '8') 684 #endif 685 #if defined(V4L2_PIX_FMT_PAL8) || (defined(HAVE_DECL_V4L2_PIX_FMT_PAL8) && HAVE_DECL_V4L2_PIX_FMT_PAL8) 686 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 687 static_assert((V4L2_PIX_FMT_PAL8) == (v4l2_fourcc('P', 'A', 'L', '8')), "V4L2_PIX_FMT_PAL8 != v4l2_fourcc('P', 'A', 'L', '8')"); 688 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 689 #else 690 # define V4L2_PIX_FMT_PAL8 v4l2_fourcc('P', 'A', 'L', '8') 691 #endif 692 #if defined(V4L2_PIX_FMT_YVU410) || (defined(HAVE_DECL_V4L2_PIX_FMT_YVU410) && HAVE_DECL_V4L2_PIX_FMT_YVU410) 693 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 694 static_assert((V4L2_PIX_FMT_YVU410) == (v4l2_fourcc('Y', 'V', 'U', '9')), "V4L2_PIX_FMT_YVU410 != v4l2_fourcc('Y', 'V', 'U', '9')"); 695 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 696 #else 697 # define V4L2_PIX_FMT_YVU410 v4l2_fourcc('Y', 'V', 'U', '9') 698 #endif 699 #if defined(V4L2_PIX_FMT_YUV410) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV410) && HAVE_DECL_V4L2_PIX_FMT_YUV410) 700 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 701 static_assert((V4L2_PIX_FMT_YUV410) == (v4l2_fourcc('Y', 'U', 'V', '9')), "V4L2_PIX_FMT_YUV410 != v4l2_fourcc('Y', 'U', 'V', '9')"); 702 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 703 #else 704 # define V4L2_PIX_FMT_YUV410 v4l2_fourcc('Y', 'U', 'V', '9') 705 #endif 706 #if defined(V4L2_PIX_FMT_SBGGR10P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR10P) && HAVE_DECL_V4L2_PIX_FMT_SBGGR10P) 707 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 708 static_assert((V4L2_PIX_FMT_SBGGR10P) == (v4l2_fourcc('p', 'B', 'A', 'A')), "V4L2_PIX_FMT_SBGGR10P != v4l2_fourcc('p', 'B', 'A', 'A')"); 709 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 710 #else 711 # define V4L2_PIX_FMT_SBGGR10P v4l2_fourcc('p', 'B', 'A', 'A') 712 #endif 713 #if defined(V4L2_PIX_FMT_SGBRG10P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG10P) && HAVE_DECL_V4L2_PIX_FMT_SGBRG10P) 714 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 715 static_assert((V4L2_PIX_FMT_SGBRG10P) == (v4l2_fourcc('p', 'G', 'A', 'A')), "V4L2_PIX_FMT_SGBRG10P != v4l2_fourcc('p', 'G', 'A', 'A')"); 716 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 717 #else 718 # define V4L2_PIX_FMT_SGBRG10P v4l2_fourcc('p', 'G', 'A', 'A') 719 #endif 720 #if defined(V4L2_PIX_FMT_SRGGB10P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB10P) && HAVE_DECL_V4L2_PIX_FMT_SRGGB10P) 721 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 722 static_assert((V4L2_PIX_FMT_SRGGB10P) == (v4l2_fourcc('p', 'R', 'A', 'A')), "V4L2_PIX_FMT_SRGGB10P != v4l2_fourcc('p', 'R', 'A', 'A')"); 723 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 724 #else 725 # define V4L2_PIX_FMT_SRGGB10P v4l2_fourcc('p', 'R', 'A', 'A') 726 #endif 727 #if defined(V4L2_PIX_FMT_SGRBG10P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG10P) && HAVE_DECL_V4L2_PIX_FMT_SGRBG10P) 728 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 729 static_assert((V4L2_PIX_FMT_SGRBG10P) == (v4l2_fourcc('p', 'g', 'A', 'A')), "V4L2_PIX_FMT_SGRBG10P != v4l2_fourcc('p', 'g', 'A', 'A')"); 730 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 731 #else 732 # define V4L2_PIX_FMT_SGRBG10P v4l2_fourcc('p', 'g', 'A', 'A') 733 #endif 734 #if defined(V4L2_PIX_FMT_CPIA1) || (defined(HAVE_DECL_V4L2_PIX_FMT_CPIA1) && HAVE_DECL_V4L2_PIX_FMT_CPIA1) 735 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 736 static_assert((V4L2_PIX_FMT_CPIA1) == (v4l2_fourcc('C', 'P', 'I', 'A')), "V4L2_PIX_FMT_CPIA1 != v4l2_fourcc('C', 'P', 'I', 'A')"); 737 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 738 #else 739 # define V4L2_PIX_FMT_CPIA1 v4l2_fourcc('C', 'P', 'I', 'A') 740 #endif 741 #if defined(V4L2_PIX_FMT_WNVA) || (defined(HAVE_DECL_V4L2_PIX_FMT_WNVA) && HAVE_DECL_V4L2_PIX_FMT_WNVA) 742 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 743 static_assert((V4L2_PIX_FMT_WNVA) == (v4l2_fourcc('W', 'N', 'V', 'A')), "V4L2_PIX_FMT_WNVA != v4l2_fourcc('W', 'N', 'V', 'A')"); 744 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 745 #else 746 # define V4L2_PIX_FMT_WNVA v4l2_fourcc('W', 'N', 'V', 'A') 747 #endif 748 #if defined(V4L2_PIX_FMT_Y10BPACK) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y10BPACK) && HAVE_DECL_V4L2_PIX_FMT_Y10BPACK) 749 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 750 static_assert((V4L2_PIX_FMT_Y10BPACK) == (v4l2_fourcc('Y', '1', '0', 'B')), "V4L2_PIX_FMT_Y10BPACK != v4l2_fourcc('Y', '1', '0', 'B')"); 751 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 752 #else 753 # define V4L2_PIX_FMT_Y10BPACK v4l2_fourcc('Y', '1', '0', 'B') 754 #endif 755 #if defined(V4L2_PIX_FMT_SRGGB8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB8) && HAVE_DECL_V4L2_PIX_FMT_SRGGB8) 756 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 757 static_assert((V4L2_PIX_FMT_SRGGB8) == (v4l2_fourcc('R', 'G', 'G', 'B')), "V4L2_PIX_FMT_SRGGB8 != v4l2_fourcc('R', 'G', 'G', 'B')"); 758 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 759 #else 760 # define V4L2_PIX_FMT_SRGGB8 v4l2_fourcc('R', 'G', 'G', 'B') 761 #endif 762 #if defined(V4L2_PIX_FMT_SQ905C) || (defined(HAVE_DECL_V4L2_PIX_FMT_SQ905C) && HAVE_DECL_V4L2_PIX_FMT_SQ905C) 763 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 764 static_assert((V4L2_PIX_FMT_SQ905C) == (v4l2_fourcc('9', '0', '5', 'C')), "V4L2_PIX_FMT_SQ905C != v4l2_fourcc('9', '0', '5', 'C')"); 765 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 766 #else 767 # define V4L2_PIX_FMT_SQ905C v4l2_fourcc('9', '0', '5', 'C') 768 #endif 769 #if defined(V4L2_PIX_FMT_SBGGR12P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR12P) && HAVE_DECL_V4L2_PIX_FMT_SBGGR12P) 770 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 771 static_assert((V4L2_PIX_FMT_SBGGR12P) == (v4l2_fourcc('p', 'B', 'C', 'C')), "V4L2_PIX_FMT_SBGGR12P != v4l2_fourcc('p', 'B', 'C', 'C')"); 772 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 773 #else 774 # define V4L2_PIX_FMT_SBGGR12P v4l2_fourcc('p', 'B', 'C', 'C') 775 #endif 776 #if defined(V4L2_PIX_FMT_SGBRG12P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG12P) && HAVE_DECL_V4L2_PIX_FMT_SGBRG12P) 777 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 778 static_assert((V4L2_PIX_FMT_SGBRG12P) == (v4l2_fourcc('p', 'G', 'C', 'C')), "V4L2_PIX_FMT_SGBRG12P != v4l2_fourcc('p', 'G', 'C', 'C')"); 779 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 780 #else 781 # define V4L2_PIX_FMT_SGBRG12P v4l2_fourcc('p', 'G', 'C', 'C') 782 #endif 783 #if defined(V4L2_PIX_FMT_SRGGB12P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB12P) && HAVE_DECL_V4L2_PIX_FMT_SRGGB12P) 784 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 785 static_assert((V4L2_PIX_FMT_SRGGB12P) == (v4l2_fourcc('p', 'R', 'C', 'C')), "V4L2_PIX_FMT_SRGGB12P != v4l2_fourcc('p', 'R', 'C', 'C')"); 786 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 787 #else 788 # define V4L2_PIX_FMT_SRGGB12P v4l2_fourcc('p', 'R', 'C', 'C') 789 #endif 790 #if defined(V4L2_PIX_FMT_SGRBG12P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG12P) && HAVE_DECL_V4L2_PIX_FMT_SGRBG12P) 791 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 792 static_assert((V4L2_PIX_FMT_SGRBG12P) == (v4l2_fourcc('p', 'g', 'C', 'C')), "V4L2_PIX_FMT_SGRBG12P != v4l2_fourcc('p', 'g', 'C', 'C')"); 793 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 794 #else 795 # define V4L2_PIX_FMT_SGRBG12P v4l2_fourcc('p', 'g', 'C', 'C') 796 #endif 797 #if defined(V4L2_PIX_FMT_HEVC) || (defined(HAVE_DECL_V4L2_PIX_FMT_HEVC) && HAVE_DECL_V4L2_PIX_FMT_HEVC) 798 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 799 static_assert((V4L2_PIX_FMT_HEVC) == (v4l2_fourcc('H', 'E', 'V', 'C')), "V4L2_PIX_FMT_HEVC != v4l2_fourcc('H', 'E', 'V', 'C')"); 800 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 801 #else 802 # define V4L2_PIX_FMT_HEVC v4l2_fourcc('H', 'E', 'V', 'C') 803 #endif 804 #if defined(V4L2_PIX_FMT_XVID) || (defined(HAVE_DECL_V4L2_PIX_FMT_XVID) && HAVE_DECL_V4L2_PIX_FMT_XVID) 805 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 806 static_assert((V4L2_PIX_FMT_XVID) == (v4l2_fourcc('X', 'V', 'I', 'D')), "V4L2_PIX_FMT_XVID != v4l2_fourcc('X', 'V', 'I', 'D')"); 807 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 808 #else 809 # define V4L2_PIX_FMT_XVID v4l2_fourcc('X', 'V', 'I', 'D') 810 #endif 811 #if defined(V4L2_PIX_FMT_SBGGR14P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR14P) && HAVE_DECL_V4L2_PIX_FMT_SBGGR14P) 812 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 813 static_assert((V4L2_PIX_FMT_SBGGR14P) == (v4l2_fourcc('p', 'B', 'E', 'E')), "V4L2_PIX_FMT_SBGGR14P != v4l2_fourcc('p', 'B', 'E', 'E')"); 814 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 815 #else 816 # define V4L2_PIX_FMT_SBGGR14P v4l2_fourcc('p', 'B', 'E', 'E') 817 #endif 818 #if defined(V4L2_PIX_FMT_SGBRG14P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG14P) && HAVE_DECL_V4L2_PIX_FMT_SGBRG14P) 819 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 820 static_assert((V4L2_PIX_FMT_SGBRG14P) == (v4l2_fourcc('p', 'G', 'E', 'E')), "V4L2_PIX_FMT_SGBRG14P != v4l2_fourcc('p', 'G', 'E', 'E')"); 821 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 822 #else 823 # define V4L2_PIX_FMT_SGBRG14P v4l2_fourcc('p', 'G', 'E', 'E') 824 #endif 825 #if defined(V4L2_PIX_FMT_SGRBG14P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG14P) && HAVE_DECL_V4L2_PIX_FMT_SGRBG14P) 826 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 827 static_assert((V4L2_PIX_FMT_SGRBG14P) == (v4l2_fourcc('p', 'g', 'E', 'E')), "V4L2_PIX_FMT_SGRBG14P != v4l2_fourcc('p', 'g', 'E', 'E')"); 828 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 829 #else 830 # define V4L2_PIX_FMT_SGRBG14P v4l2_fourcc('p', 'g', 'E', 'E') 831 #endif 832 #if defined(V4L2_PIX_FMT_SRGGB14P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB14P) && HAVE_DECL_V4L2_PIX_FMT_SRGGB14P) 833 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 834 static_assert((V4L2_PIX_FMT_SRGGB14P) == (v4l2_fourcc('p', 'R', 'E', 'E')), "V4L2_PIX_FMT_SRGGB14P != v4l2_fourcc('p', 'R', 'E', 'E')"); 835 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 836 #else 837 # define V4L2_PIX_FMT_SRGGB14P v4l2_fourcc('p', 'R', 'E', 'E') 838 #endif 839 #if defined(V4L2_PIX_FMT_VC1_ANNEX_G) || (defined(HAVE_DECL_V4L2_PIX_FMT_VC1_ANNEX_G) && HAVE_DECL_V4L2_PIX_FMT_VC1_ANNEX_G) 840 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 841 static_assert((V4L2_PIX_FMT_VC1_ANNEX_G) == (v4l2_fourcc('V', 'C', '1', 'G')), "V4L2_PIX_FMT_VC1_ANNEX_G != v4l2_fourcc('V', 'C', '1', 'G')"); 842 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 843 #else 844 # define V4L2_PIX_FMT_VC1_ANNEX_G v4l2_fourcc('V', 'C', '1', 'G') 845 #endif 846 #if defined(V4L2_PIX_FMT_IPU3_SGRBG10) || (defined(HAVE_DECL_V4L2_PIX_FMT_IPU3_SGRBG10) && HAVE_DECL_V4L2_PIX_FMT_IPU3_SGRBG10) 847 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 848 static_assert((V4L2_PIX_FMT_IPU3_SGRBG10) == (v4l2_fourcc('i', 'p', '3', 'G')), "V4L2_PIX_FMT_IPU3_SGRBG10 != v4l2_fourcc('i', 'p', '3', 'G')"); 849 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 850 #else 851 # define V4L2_PIX_FMT_IPU3_SGRBG10 v4l2_fourcc('i', 'p', '3', 'G') 852 #endif 853 #if defined(V4L2_PIX_FMT_SGRBG8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG8) && HAVE_DECL_V4L2_PIX_FMT_SGRBG8) 854 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 855 static_assert((V4L2_PIX_FMT_SGRBG8) == (v4l2_fourcc('G', 'R', 'B', 'G')), "V4L2_PIX_FMT_SGRBG8 != v4l2_fourcc('G', 'R', 'B', 'G')"); 856 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 857 #else 858 # define V4L2_PIX_FMT_SGRBG8 v4l2_fourcc('G', 'R', 'B', 'G') 859 #endif 860 #if defined(V4L2_PIX_FMT_JPEG) || (defined(HAVE_DECL_V4L2_PIX_FMT_JPEG) && HAVE_DECL_V4L2_PIX_FMT_JPEG) 861 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 862 static_assert((V4L2_PIX_FMT_JPEG) == (v4l2_fourcc('J', 'P', 'E', 'G')), "V4L2_PIX_FMT_JPEG != v4l2_fourcc('J', 'P', 'E', 'G')"); 863 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 864 #else 865 # define V4L2_PIX_FMT_JPEG v4l2_fourcc('J', 'P', 'E', 'G') 866 #endif 867 #if defined(V4L2_PIX_FMT_MPEG) || (defined(HAVE_DECL_V4L2_PIX_FMT_MPEG) && HAVE_DECL_V4L2_PIX_FMT_MPEG) 868 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 869 static_assert((V4L2_PIX_FMT_MPEG) == (v4l2_fourcc('M', 'P', 'E', 'G')), "V4L2_PIX_FMT_MPEG != v4l2_fourcc('M', 'P', 'E', 'G')"); 870 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 871 #else 872 # define V4L2_PIX_FMT_MPEG v4l2_fourcc('M', 'P', 'E', 'G') 873 #endif 874 #if defined(V4L2_PIX_FMT_MJPEG) || (defined(HAVE_DECL_V4L2_PIX_FMT_MJPEG) && HAVE_DECL_V4L2_PIX_FMT_MJPEG) 875 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 876 static_assert((V4L2_PIX_FMT_MJPEG) == (v4l2_fourcc('M', 'J', 'P', 'G')), "V4L2_PIX_FMT_MJPEG != v4l2_fourcc('M', 'J', 'P', 'G')"); 877 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 878 #else 879 # define V4L2_PIX_FMT_MJPEG v4l2_fourcc('M', 'J', 'P', 'G') 880 #endif 881 #if defined(V4L2_PIX_FMT_PJPG) || (defined(HAVE_DECL_V4L2_PIX_FMT_PJPG) && HAVE_DECL_V4L2_PIX_FMT_PJPG) 882 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 883 static_assert((V4L2_PIX_FMT_PJPG) == (v4l2_fourcc('P', 'J', 'P', 'G')), "V4L2_PIX_FMT_PJPG != v4l2_fourcc('P', 'J', 'P', 'G')"); 884 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 885 #else 886 # define V4L2_PIX_FMT_PJPG v4l2_fourcc('P', 'J', 'P', 'G') 887 #endif 888 #if defined(V4L2_PIX_FMT_SGBRG8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG8) && HAVE_DECL_V4L2_PIX_FMT_SGBRG8) 889 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 890 static_assert((V4L2_PIX_FMT_SGBRG8) == (v4l2_fourcc('G', 'B', 'R', 'G')), "V4L2_PIX_FMT_SGBRG8 != v4l2_fourcc('G', 'B', 'R', 'G')"); 891 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 892 #else 893 # define V4L2_PIX_FMT_SGBRG8 v4l2_fourcc('G', 'B', 'R', 'G') 894 #endif 895 #if defined(V4L2_PIX_FMT_BGR666) || (defined(HAVE_DECL_V4L2_PIX_FMT_BGR666) && HAVE_DECL_V4L2_PIX_FMT_BGR666) 896 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 897 static_assert((V4L2_PIX_FMT_BGR666) == (v4l2_fourcc('B', 'G', 'R', 'H')), "V4L2_PIX_FMT_BGR666 != v4l2_fourcc('B', 'G', 'R', 'H')"); 898 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 899 #else 900 # define V4L2_PIX_FMT_BGR666 v4l2_fourcc('B', 'G', 'R', 'H') 901 #endif 902 #if defined(V4L2_PIX_FMT_Y12I) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y12I) && HAVE_DECL_V4L2_PIX_FMT_Y12I) 903 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 904 static_assert((V4L2_PIX_FMT_Y12I) == (v4l2_fourcc('Y', '1', '2', 'I')), "V4L2_PIX_FMT_Y12I != v4l2_fourcc('Y', '1', '2', 'I')"); 905 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 906 #else 907 # define V4L2_PIX_FMT_Y12I v4l2_fourcc('Y', '1', '2', 'I') 908 #endif 909 #if defined(V4L2_PIX_FMT_S5C_UYVY_JPG) || (defined(HAVE_DECL_V4L2_PIX_FMT_S5C_UYVY_JPG) && HAVE_DECL_V4L2_PIX_FMT_S5C_UYVY_JPG) 910 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 911 static_assert((V4L2_PIX_FMT_S5C_UYVY_JPG) == (v4l2_fourcc('S', '5', 'C', 'I')), "V4L2_PIX_FMT_S5C_UYVY_JPG != v4l2_fourcc('S', '5', 'C', 'I')"); 912 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 913 #else 914 # define V4L2_PIX_FMT_S5C_UYVY_JPG v4l2_fourcc('S', '5', 'C', 'I') 915 #endif 916 #if defined(V4L2_PIX_FMT_KONICA420) || (defined(HAVE_DECL_V4L2_PIX_FMT_KONICA420) && HAVE_DECL_V4L2_PIX_FMT_KONICA420) 917 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 918 static_assert((V4L2_PIX_FMT_KONICA420) == (v4l2_fourcc('K', 'O', 'N', 'I')), "V4L2_PIX_FMT_KONICA420 != v4l2_fourcc('K', 'O', 'N', 'I')"); 919 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 920 #else 921 # define V4L2_PIX_FMT_KONICA420 v4l2_fourcc('K', 'O', 'N', 'I') 922 #endif 923 #if defined(V4L2_PIX_FMT_INZI) || (defined(HAVE_DECL_V4L2_PIX_FMT_INZI) && HAVE_DECL_V4L2_PIX_FMT_INZI) 924 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 925 static_assert((V4L2_PIX_FMT_INZI) == (v4l2_fourcc('I', 'N', 'Z', 'I')), "V4L2_PIX_FMT_INZI != v4l2_fourcc('I', 'N', 'Z', 'I')"); 926 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 927 #else 928 # define V4L2_PIX_FMT_INZI v4l2_fourcc('I', 'N', 'Z', 'I') 929 #endif 930 #if defined(V4L2_PIX_FMT_VC1_ANNEX_L) || (defined(HAVE_DECL_V4L2_PIX_FMT_VC1_ANNEX_L) && HAVE_DECL_V4L2_PIX_FMT_VC1_ANNEX_L) 931 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 932 static_assert((V4L2_PIX_FMT_VC1_ANNEX_L) == (v4l2_fourcc('V', 'C', '1', 'L')), "V4L2_PIX_FMT_VC1_ANNEX_L != v4l2_fourcc('V', 'C', '1', 'L')"); 933 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 934 #else 935 # define V4L2_PIX_FMT_VC1_ANNEX_L v4l2_fourcc('V', 'C', '1', 'L') 936 #endif 937 #if defined(V4L2_PIX_FMT_JPGL) || (defined(HAVE_DECL_V4L2_PIX_FMT_JPGL) && HAVE_DECL_V4L2_PIX_FMT_JPGL) 938 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 939 static_assert((V4L2_PIX_FMT_JPGL) == (v4l2_fourcc('J', 'P', 'G', 'L')), "V4L2_PIX_FMT_JPGL != v4l2_fourcc('J', 'P', 'G', 'L')"); 940 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 941 #else 942 # define V4L2_PIX_FMT_JPGL v4l2_fourcc('J', 'P', 'G', 'L') 943 #endif 944 #if defined(V4L2_PIX_FMT_RGB555) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB555) && HAVE_DECL_V4L2_PIX_FMT_RGB555) 945 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 946 static_assert((V4L2_PIX_FMT_RGB555) == (v4l2_fourcc('R', 'G', 'B', 'O')), "V4L2_PIX_FMT_RGB555 != v4l2_fourcc('R', 'G', 'B', 'O')"); 947 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 948 #else 949 # define V4L2_PIX_FMT_RGB555 v4l2_fourcc('R', 'G', 'B', 'O') 950 #endif 951 #if defined(V4L2_PIX_FMT_YUV555) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV555) && HAVE_DECL_V4L2_PIX_FMT_YUV555) 952 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 953 static_assert((V4L2_PIX_FMT_YUV555) == (v4l2_fourcc('Y', 'U', 'V', 'O')), "V4L2_PIX_FMT_YUV555 != v4l2_fourcc('Y', 'U', 'V', 'O')"); 954 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 955 #else 956 # define V4L2_PIX_FMT_YUV555 v4l2_fourcc('Y', 'U', 'V', 'O') 957 #endif 958 #if defined(V4L2_PIX_FMT_Y10P) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y10P) && HAVE_DECL_V4L2_PIX_FMT_Y10P) 959 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 960 static_assert((V4L2_PIX_FMT_Y10P) == (v4l2_fourcc('Y', '1', '0', 'P')), "V4L2_PIX_FMT_Y10P != v4l2_fourcc('Y', '1', '0', 'P')"); 961 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 962 #else 963 # define V4L2_PIX_FMT_Y10P v4l2_fourcc('Y', '1', '0', 'P') 964 #endif 965 #if defined(V4L2_PIX_FMT_YUV411P) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV411P) && HAVE_DECL_V4L2_PIX_FMT_YUV411P) 966 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 967 static_assert((V4L2_PIX_FMT_YUV411P) == (v4l2_fourcc('4', '1', '1', 'P')), "V4L2_PIX_FMT_YUV411P != v4l2_fourcc('4', '1', '1', 'P')"); 968 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 969 #else 970 # define V4L2_PIX_FMT_YUV411P v4l2_fourcc('4', '1', '1', 'P') 971 #endif 972 #if defined(V4L2_PIX_FMT_Y41P) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y41P) && HAVE_DECL_V4L2_PIX_FMT_Y41P) 973 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 974 static_assert((V4L2_PIX_FMT_Y41P) == (v4l2_fourcc('Y', '4', '1', 'P')), "V4L2_PIX_FMT_Y41P != v4l2_fourcc('Y', '4', '1', 'P')"); 975 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 976 #else 977 # define V4L2_PIX_FMT_Y41P v4l2_fourcc('Y', '4', '1', 'P') 978 #endif 979 #if defined(V4L2_PIX_FMT_YUV422P) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV422P) && HAVE_DECL_V4L2_PIX_FMT_YUV422P) 980 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 981 static_assert((V4L2_PIX_FMT_YUV422P) == (v4l2_fourcc('4', '2', '2', 'P')), "V4L2_PIX_FMT_YUV422P != v4l2_fourcc('4', '2', '2', 'P')"); 982 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 983 #else 984 # define V4L2_PIX_FMT_YUV422P v4l2_fourcc('4', '2', '2', 'P') 985 #endif 986 #if defined(V4L2_PIX_FMT_RGB565) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB565) && HAVE_DECL_V4L2_PIX_FMT_RGB565) 987 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 988 static_assert((V4L2_PIX_FMT_RGB565) == (v4l2_fourcc('R', 'G', 'B', 'P')), "V4L2_PIX_FMT_RGB565 != v4l2_fourcc('R', 'G', 'B', 'P')"); 989 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 990 #else 991 # define V4L2_PIX_FMT_RGB565 v4l2_fourcc('R', 'G', 'B', 'P') 992 #endif 993 #if defined(V4L2_PIX_FMT_YUV565) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV565) && HAVE_DECL_V4L2_PIX_FMT_YUV565) 994 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 995 static_assert((V4L2_PIX_FMT_YUV565) == (v4l2_fourcc('Y', 'U', 'V', 'P')), "V4L2_PIX_FMT_YUV565 != v4l2_fourcc('Y', 'U', 'V', 'P')"); 996 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 997 #else 998 # define V4L2_PIX_FMT_YUV565 v4l2_fourcc('Y', 'U', 'V', 'P') 999 #endif 1000 #if defined(V4L2_PIX_FMT_RGB555X) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB555X) && HAVE_DECL_V4L2_PIX_FMT_RGB555X) 1001 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1002 static_assert((V4L2_PIX_FMT_RGB555X) == (v4l2_fourcc('R', 'G', 'B', 'Q')), "V4L2_PIX_FMT_RGB555X != v4l2_fourcc('R', 'G', 'B', 'Q')"); 1003 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1004 #else 1005 # define V4L2_PIX_FMT_RGB555X v4l2_fourcc('R', 'G', 'B', 'Q') 1006 #endif 1007 #if defined(V4L2_PIX_FMT_RGB565X) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB565X) && HAVE_DECL_V4L2_PIX_FMT_RGB565X) 1008 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1009 static_assert((V4L2_PIX_FMT_RGB565X) == (v4l2_fourcc('R', 'G', 'B', 'R')), "V4L2_PIX_FMT_RGB565X != v4l2_fourcc('R', 'G', 'B', 'R')"); 1010 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1011 #else 1012 # define V4L2_PIX_FMT_RGB565X v4l2_fourcc('R', 'G', 'B', 'R') 1013 #endif 1014 #if defined(V4L2_PIX_FMT_FWHT) || (defined(HAVE_DECL_V4L2_PIX_FMT_FWHT) && HAVE_DECL_V4L2_PIX_FMT_FWHT) 1015 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1016 static_assert((V4L2_PIX_FMT_FWHT) == (v4l2_fourcc('F', 'W', 'H', 'T')), "V4L2_PIX_FMT_FWHT != v4l2_fourcc('F', 'W', 'H', 'T')"); 1017 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1018 #else 1019 # define V4L2_PIX_FMT_FWHT v4l2_fourcc('F', 'W', 'H', 'T') 1020 #endif 1021 #if defined(V4L2_PIX_FMT_YVYU) || (defined(HAVE_DECL_V4L2_PIX_FMT_YVYU) && HAVE_DECL_V4L2_PIX_FMT_YVYU) 1022 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1023 static_assert((V4L2_PIX_FMT_YVYU) == (v4l2_fourcc('Y', 'V', 'Y', 'U')), "V4L2_PIX_FMT_YVYU != v4l2_fourcc('Y', 'V', 'Y', 'U')"); 1024 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1025 #else 1026 # define V4L2_PIX_FMT_YVYU v4l2_fourcc('Y', 'V', 'Y', 'U') 1027 #endif 1028 #if defined(V4L2_PIX_FMT_CIT_YYVYUY) || (defined(HAVE_DECL_V4L2_PIX_FMT_CIT_YYVYUY) && HAVE_DECL_V4L2_PIX_FMT_CIT_YYVYUY) 1029 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1030 static_assert((V4L2_PIX_FMT_CIT_YYVYUY) == (v4l2_fourcc('C', 'I', 'T', 'V')), "V4L2_PIX_FMT_CIT_YYVYUY != v4l2_fourcc('C', 'I', 'T', 'V')"); 1031 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1032 #else 1033 # define V4L2_PIX_FMT_CIT_YYVYUY v4l2_fourcc('C', 'I', 'T', 'V') 1034 #endif 1035 #if defined(V4L2_PIX_FMT_YYUV) || (defined(HAVE_DECL_V4L2_PIX_FMT_YYUV) && HAVE_DECL_V4L2_PIX_FMT_YYUV) 1036 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1037 static_assert((V4L2_PIX_FMT_YYUV) == (v4l2_fourcc('Y', 'Y', 'U', 'V')), "V4L2_PIX_FMT_YYUV != v4l2_fourcc('Y', 'Y', 'U', 'V')"); 1038 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1039 #else 1040 # define V4L2_PIX_FMT_YYUV v4l2_fourcc('Y', 'Y', 'U', 'V') 1041 #endif 1042 #if defined(V4L2_PIX_FMT_YUYV) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUYV) && HAVE_DECL_V4L2_PIX_FMT_YUYV) 1043 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1044 static_assert((V4L2_PIX_FMT_YUYV) == (v4l2_fourcc('Y', 'U', 'Y', 'V')), "V4L2_PIX_FMT_YUYV != v4l2_fourcc('Y', 'U', 'Y', 'V')"); 1045 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1046 #else 1047 # define V4L2_PIX_FMT_YUYV v4l2_fourcc('Y', 'U', 'Y', 'V') 1048 #endif 1049 #if defined(V4L2_PIX_FMT_SN9C2028) || (defined(HAVE_DECL_V4L2_PIX_FMT_SN9C2028) && HAVE_DECL_V4L2_PIX_FMT_SN9C2028) 1050 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1051 static_assert((V4L2_PIX_FMT_SN9C2028) == (v4l2_fourcc('S', 'O', 'N', 'X')), "V4L2_PIX_FMT_SN9C2028 != v4l2_fourcc('S', 'O', 'N', 'X')"); 1052 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1053 #else 1054 # define V4L2_PIX_FMT_SN9C2028 v4l2_fourcc('S', 'O', 'N', 'X') 1055 #endif 1056 #if defined(V4L2_PIX_FMT_GREY) || (defined(HAVE_DECL_V4L2_PIX_FMT_GREY) && HAVE_DECL_V4L2_PIX_FMT_GREY) 1057 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1058 static_assert((V4L2_PIX_FMT_GREY) == (v4l2_fourcc('G', 'R', 'E', 'Y')), "V4L2_PIX_FMT_GREY != v4l2_fourcc('G', 'R', 'E', 'Y')"); 1059 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1060 #else 1061 # define V4L2_PIX_FMT_GREY v4l2_fourcc('G', 'R', 'E', 'Y') 1062 #endif 1063 #if defined(V4L2_PIX_FMT_VYUY) || (defined(HAVE_DECL_V4L2_PIX_FMT_VYUY) && HAVE_DECL_V4L2_PIX_FMT_VYUY) 1064 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1065 static_assert((V4L2_PIX_FMT_VYUY) == (v4l2_fourcc('V', 'Y', 'U', 'Y')), "V4L2_PIX_FMT_VYUY != v4l2_fourcc('V', 'Y', 'U', 'Y')"); 1066 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1067 #else 1068 # define V4L2_PIX_FMT_VYUY v4l2_fourcc('V', 'Y', 'U', 'Y') 1069 #endif 1070 #if defined(V4L2_PIX_FMT_UYVY) || (defined(HAVE_DECL_V4L2_PIX_FMT_UYVY) && HAVE_DECL_V4L2_PIX_FMT_UYVY) 1071 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1072 static_assert((V4L2_PIX_FMT_UYVY) == (v4l2_fourcc('U', 'Y', 'V', 'Y')), "V4L2_PIX_FMT_UYVY != v4l2_fourcc('U', 'Y', 'V', 'Y')"); 1073 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1074 #else 1075 # define V4L2_PIX_FMT_UYVY v4l2_fourcc('U', 'Y', 'V', 'Y') 1076 #endif 1077 #if defined(V4L2_PIX_FMT_IPU3_SBGGR10) || (defined(HAVE_DECL_V4L2_PIX_FMT_IPU3_SBGGR10) && HAVE_DECL_V4L2_PIX_FMT_IPU3_SBGGR10) 1078 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1079 static_assert((V4L2_PIX_FMT_IPU3_SBGGR10) == (v4l2_fourcc('i', 'p', '3', 'b')), "V4L2_PIX_FMT_IPU3_SBGGR10 != v4l2_fourcc('i', 'p', '3', 'b')"); 1080 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1081 #else 1082 # define V4L2_PIX_FMT_IPU3_SBGGR10 v4l2_fourcc('i', 'p', '3', 'b') 1083 #endif 1084 #if defined(V4L2_PIX_FMT_DV) || (defined(HAVE_DECL_V4L2_PIX_FMT_DV) && HAVE_DECL_V4L2_PIX_FMT_DV) 1085 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1086 static_assert((V4L2_PIX_FMT_DV) == (v4l2_fourcc('d', 'v', 's', 'd')), "V4L2_PIX_FMT_DV != v4l2_fourcc('d', 'v', 's', 'd')"); 1087 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1088 #else 1089 # define V4L2_PIX_FMT_DV v4l2_fourcc('d', 'v', 's', 'd') 1090 #endif 1091 #if defined(V4L2_PIX_FMT_IPU3_SGBRG10) || (defined(HAVE_DECL_V4L2_PIX_FMT_IPU3_SGBRG10) && HAVE_DECL_V4L2_PIX_FMT_IPU3_SGBRG10) 1092 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1093 static_assert((V4L2_PIX_FMT_IPU3_SGBRG10) == (v4l2_fourcc('i', 'p', '3', 'g')), "V4L2_PIX_FMT_IPU3_SGBRG10 != v4l2_fourcc('i', 'p', '3', 'g')"); 1094 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1095 #else 1096 # define V4L2_PIX_FMT_IPU3_SGBRG10 v4l2_fourcc('i', 'p', '3', 'g') 1097 #endif 1098 #if defined(V4L2_PIX_FMT_IPU3_SRGGB10) || (defined(HAVE_DECL_V4L2_PIX_FMT_IPU3_SRGGB10) && HAVE_DECL_V4L2_PIX_FMT_IPU3_SRGGB10) 1099 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1100 static_assert((V4L2_PIX_FMT_IPU3_SRGGB10) == (v4l2_fourcc('i', 'p', '3', 'r')), "V4L2_PIX_FMT_IPU3_SRGGB10 != v4l2_fourcc('i', 'p', '3', 'r')"); 1101 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1102 #else 1103 # define V4L2_PIX_FMT_IPU3_SRGGB10 v4l2_fourcc('i', 'p', '3', 'r') 1104 #endif 1105 #if defined(V4L2_PIX_FMT_Y16_BE) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y16_BE) && HAVE_DECL_V4L2_PIX_FMT_Y16_BE) 1106 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1107 static_assert((V4L2_PIX_FMT_Y16_BE) == (v4l2_fourcc_be('Y', '1', '6', ' ')), "V4L2_PIX_FMT_Y16_BE != v4l2_fourcc_be('Y', '1', '6', ' ')"); 1108 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1109 #else 1110 # define V4L2_PIX_FMT_Y16_BE v4l2_fourcc_be('Y', '1', '6', ' ') 1111 #endif 1112 #if defined(V4L2_PIX_FMT_ARGB555X) || (defined(HAVE_DECL_V4L2_PIX_FMT_ARGB555X) && HAVE_DECL_V4L2_PIX_FMT_ARGB555X) 1113 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1114 static_assert((V4L2_PIX_FMT_ARGB555X) == (v4l2_fourcc_be('A', 'R', '1', '5')), "V4L2_PIX_FMT_ARGB555X != v4l2_fourcc_be('A', 'R', '1', '5')"); 1115 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1116 #else 1117 # define V4L2_PIX_FMT_ARGB555X v4l2_fourcc_be('A', 'R', '1', '5') 1118 #endif 1119 #if defined(V4L2_PIX_FMT_XRGB555X) || (defined(HAVE_DECL_V4L2_PIX_FMT_XRGB555X) && HAVE_DECL_V4L2_PIX_FMT_XRGB555X) 1120 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1121 static_assert((V4L2_PIX_FMT_XRGB555X) == (v4l2_fourcc_be('X', 'R', '1', '5')), "V4L2_PIX_FMT_XRGB555X != v4l2_fourcc_be('X', 'R', '1', '5')"); 1122 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1123 #else 1124 # define V4L2_PIX_FMT_XRGB555X v4l2_fourcc_be('X', 'R', '1', '5') 1125 #endif 1126 1127 #ifndef XLAT_MACROS_ONLY 1128 1129 # ifdef IN_MPERS 1130 1131 extern const struct xlat v4l2_pix_fmts[]; 1132 1133 # else 1134 1135 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) 1136 static 1137 # endif 1138 const struct xlat v4l2_pix_fmts[] = { 1139 1140 XLAT(V4L2_PIX_FMT_Y10), 1141 XLAT(V4L2_PIX_FMT_Y12), 1142 XLAT(V4L2_PIX_FMT_Y4), 1143 XLAT(V4L2_PIX_FMT_Y6), 1144 XLAT(V4L2_PIX_FMT_Y16), 1145 XLAT(V4L2_PIX_FMT_Z16), 1146 XLAT(V4L2_PIX_FMT_UV8), 1147 XLAT(V4L2_PIX_FMT_Y8I), 1148 XLAT(V4L2_PIX_FMT_MR97310A), 1149 XLAT(V4L2_PIX_FMT_SN9C10X), 1150 XLAT(V4L2_PIX_FMT_SGRBG10), 1151 XLAT(V4L2_PIX_FMT_SGBRG10), 1152 XLAT(V4L2_PIX_FMT_SGRBG10DPCM8), 1153 XLAT(V4L2_PIX_FMT_SBGGR10), 1154 XLAT(V4L2_PIX_FMT_SRGGB10), 1155 XLAT(V4L2_PIX_FMT_M420), 1156 XLAT(V4L2_PIX_FMT_SN9C20X_I420), 1157 XLAT(V4L2_PIX_FMT_JL2005BCD), 1158 XLAT(V4L2_PIX_FMT_TM6000), 1159 XLAT(V4L2_PIX_FMT_STV0680), 1160 XLAT(V4L2_PIX_FMT_VP8), 1161 XLAT(V4L2_PIX_FMT_VP9), 1162 XLAT(V4L2_PIX_FMT_SE401), 1163 XLAT(V4L2_PIX_FMT_SPCA501), 1164 XLAT(V4L2_PIX_FMT_OV511), 1165 XLAT(V4L2_PIX_FMT_NV21M), 1166 XLAT(V4L2_PIX_FMT_YVU420M), 1167 XLAT(V4L2_PIX_FMT_MT21C), 1168 XLAT(V4L2_PIX_FMT_NV21), 1169 XLAT(V4L2_PIX_FMT_SPCA561), 1170 XLAT(V4L2_PIX_FMT_NV61M), 1171 XLAT(V4L2_PIX_FMT_YVU422M), 1172 XLAT(V4L2_PIX_FMT_NV61), 1173 XLAT(V4L2_PIX_FMT_SBGGR8), 1174 XLAT(V4L2_PIX_FMT_RGB332), 1175 XLAT(V4L2_PIX_FMT_H264_NO_SC), 1176 XLAT(V4L2_PIX_FMT_PWC1), 1177 XLAT(V4L2_PIX_FMT_MPEG1), 1178 XLAT(V4L2_PIX_FMT_SGRBG12), 1179 XLAT(V4L2_PIX_FMT_SGBRG12), 1180 XLAT(V4L2_PIX_FMT_SBGGR12), 1181 XLAT(V4L2_PIX_FMT_SRGGB12), 1182 XLAT(V4L2_PIX_FMT_HM12), 1183 XLAT(V4L2_PIX_FMT_NV12M), 1184 XLAT(V4L2_PIX_FMT_NV12MT), 1185 XLAT(V4L2_PIX_FMT_NV12MT_16X16), 1186 XLAT(V4L2_PIX_FMT_YUV420M), 1187 XLAT(V4L2_PIX_FMT_ARGB444), 1188 XLAT(V4L2_PIX_FMT_XRGB444), 1189 XLAT(V4L2_PIX_FMT_YUV420), 1190 XLAT(V4L2_PIX_FMT_NV12), 1191 XLAT(V4L2_PIX_FMT_YVU420), 1192 XLAT(V4L2_PIX_FMT_YVU444M), 1193 XLAT(V4L2_PIX_FMT_NV42), 1194 XLAT(V4L2_PIX_FMT_PWC2), 1195 XLAT(V4L2_PIX_FMT_MPEG2), 1196 XLAT(V4L2_PIX_FMT_SBGGR16), 1197 XLAT(V4L2_PIX_FMT_H263), 1198 XLAT(V4L2_PIX_FMT_RGB24), 1199 XLAT(V4L2_PIX_FMT_BGR24), 1200 XLAT(V4L2_PIX_FMT_HSV24), 1201 XLAT(V4L2_PIX_FMT_ARGB32), 1202 XLAT(V4L2_PIX_FMT_HI240), 1203 XLAT(V4L2_PIX_FMT_YUV444M), 1204 XLAT(V4L2_PIX_FMT_ABGR32), 1205 XLAT(V4L2_PIX_FMT_XBGR32), 1206 XLAT(V4L2_PIX_FMT_NV24), 1207 XLAT(V4L2_PIX_FMT_XRGB32), 1208 XLAT(V4L2_PIX_FMT_RGB444), 1209 XLAT(V4L2_PIX_FMT_YUV444), 1210 XLAT(V4L2_PIX_FMT_H264), 1211 XLAT(V4L2_PIX_FMT_H264_MVC), 1212 XLAT(V4L2_PIX_FMT_RGB32), 1213 XLAT(V4L2_PIX_FMT_MPEG4), 1214 XLAT(V4L2_PIX_FMT_BGR32), 1215 XLAT(V4L2_PIX_FMT_HSV32), 1216 XLAT(V4L2_PIX_FMT_YUV32), 1217 XLAT(V4L2_PIX_FMT_SPCA505), 1218 XLAT(V4L2_PIX_FMT_ARGB555), 1219 XLAT(V4L2_PIX_FMT_XRGB555), 1220 XLAT(V4L2_PIX_FMT_ET61X251), 1221 XLAT(V4L2_PIX_FMT_SGBRG16), 1222 XLAT(V4L2_PIX_FMT_SRGGB16), 1223 XLAT(V4L2_PIX_FMT_NV16M), 1224 XLAT(V4L2_PIX_FMT_YUV422M), 1225 XLAT(V4L2_PIX_FMT_SGRBG16), 1226 XLAT(V4L2_PIX_FMT_NV16), 1227 XLAT(V4L2_PIX_FMT_PAC207), 1228 XLAT(V4L2_PIX_FMT_SPCA508), 1229 XLAT(V4L2_PIX_FMT_OV518), 1230 XLAT(V4L2_PIX_FMT_SBGGR10ALAW8), 1231 XLAT(V4L2_PIX_FMT_SBGGR10DPCM8), 1232 XLAT(V4L2_PIX_FMT_SGBRG10ALAW8), 1233 XLAT(V4L2_PIX_FMT_SGBRG10DPCM8), 1234 XLAT(V4L2_PIX_FMT_SRGGB10ALAW8), 1235 XLAT(V4L2_PIX_FMT_SRGGB10DPCM8), 1236 XLAT(V4L2_PIX_FMT_SGRBG10ALAW8), 1237 XLAT(V4L2_PIX_FMT_PAL8), 1238 XLAT(V4L2_PIX_FMT_YVU410), 1239 XLAT(V4L2_PIX_FMT_YUV410), 1240 XLAT(V4L2_PIX_FMT_SBGGR10P), 1241 XLAT(V4L2_PIX_FMT_SGBRG10P), 1242 XLAT(V4L2_PIX_FMT_SRGGB10P), 1243 XLAT(V4L2_PIX_FMT_SGRBG10P), 1244 XLAT(V4L2_PIX_FMT_CPIA1), 1245 XLAT(V4L2_PIX_FMT_WNVA), 1246 XLAT(V4L2_PIX_FMT_Y10BPACK), 1247 XLAT(V4L2_PIX_FMT_SRGGB8), 1248 XLAT(V4L2_PIX_FMT_SQ905C), 1249 XLAT(V4L2_PIX_FMT_SBGGR12P), 1250 XLAT(V4L2_PIX_FMT_SGBRG12P), 1251 XLAT(V4L2_PIX_FMT_SRGGB12P), 1252 XLAT(V4L2_PIX_FMT_SGRBG12P), 1253 XLAT(V4L2_PIX_FMT_HEVC), 1254 XLAT(V4L2_PIX_FMT_XVID), 1255 XLAT(V4L2_PIX_FMT_SBGGR14P), 1256 XLAT(V4L2_PIX_FMT_SGBRG14P), 1257 XLAT(V4L2_PIX_FMT_SGRBG14P), 1258 XLAT(V4L2_PIX_FMT_SRGGB14P), 1259 XLAT(V4L2_PIX_FMT_VC1_ANNEX_G), 1260 XLAT(V4L2_PIX_FMT_IPU3_SGRBG10), 1261 XLAT(V4L2_PIX_FMT_SGRBG8), 1262 XLAT(V4L2_PIX_FMT_JPEG), 1263 XLAT(V4L2_PIX_FMT_MPEG), 1264 XLAT(V4L2_PIX_FMT_MJPEG), 1265 XLAT(V4L2_PIX_FMT_PJPG), 1266 XLAT(V4L2_PIX_FMT_SGBRG8), 1267 XLAT(V4L2_PIX_FMT_BGR666), 1268 XLAT(V4L2_PIX_FMT_Y12I), 1269 XLAT(V4L2_PIX_FMT_S5C_UYVY_JPG), 1270 XLAT(V4L2_PIX_FMT_KONICA420), 1271 XLAT(V4L2_PIX_FMT_INZI), 1272 XLAT(V4L2_PIX_FMT_VC1_ANNEX_L), 1273 XLAT(V4L2_PIX_FMT_JPGL), 1274 XLAT(V4L2_PIX_FMT_RGB555), 1275 XLAT(V4L2_PIX_FMT_YUV555), 1276 XLAT(V4L2_PIX_FMT_Y10P), 1277 XLAT(V4L2_PIX_FMT_YUV411P), 1278 XLAT(V4L2_PIX_FMT_Y41P), 1279 XLAT(V4L2_PIX_FMT_YUV422P), 1280 XLAT(V4L2_PIX_FMT_RGB565), 1281 XLAT(V4L2_PIX_FMT_YUV565), 1282 XLAT(V4L2_PIX_FMT_RGB555X), 1283 XLAT(V4L2_PIX_FMT_RGB565X), 1284 XLAT(V4L2_PIX_FMT_FWHT), 1285 XLAT(V4L2_PIX_FMT_YVYU), 1286 XLAT(V4L2_PIX_FMT_CIT_YYVYUY), 1287 XLAT(V4L2_PIX_FMT_YYUV), 1288 XLAT(V4L2_PIX_FMT_YUYV), 1289 XLAT(V4L2_PIX_FMT_SN9C2028), 1290 XLAT(V4L2_PIX_FMT_GREY), 1291 XLAT(V4L2_PIX_FMT_VYUY), 1292 XLAT(V4L2_PIX_FMT_UYVY), 1293 XLAT(V4L2_PIX_FMT_IPU3_SBGGR10), 1294 XLAT(V4L2_PIX_FMT_DV), 1295 XLAT(V4L2_PIX_FMT_IPU3_SGBRG10), 1296 XLAT(V4L2_PIX_FMT_IPU3_SRGGB10), 1297 XLAT(V4L2_PIX_FMT_Y16_BE), 1298 XLAT(V4L2_PIX_FMT_ARGB555X), 1299 XLAT(V4L2_PIX_FMT_XRGB555X), 1300 XLAT_END 1301 }; 1302 1303 # endif /* !IN_MPERS */ 1304 1305 #endif /* !XLAT_MACROS_ONLY */ 1306