/* Generated by ./xlat/gen.sh from ./xlat/v4l2_pix_fmts.in; do not edit. */ #include "gcc_compat.h" #include "static_assert.h" #if defined(V4L2_PIX_FMT_Y10) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y10) && HAVE_DECL_V4L2_PIX_FMT_Y10) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_Y10) == (v4l2_fourcc('Y', '1', '0', ' ')), "V4L2_PIX_FMT_Y10 != v4l2_fourcc('Y', '1', '0', ' ')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_Y10 v4l2_fourcc('Y', '1', '0', ' ') #endif #if defined(V4L2_PIX_FMT_Y12) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y12) && HAVE_DECL_V4L2_PIX_FMT_Y12) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_Y12) == (v4l2_fourcc('Y', '1', '2', ' ')), "V4L2_PIX_FMT_Y12 != v4l2_fourcc('Y', '1', '2', ' ')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_Y12 v4l2_fourcc('Y', '1', '2', ' ') #endif #if defined(V4L2_PIX_FMT_Y4) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y4) && HAVE_DECL_V4L2_PIX_FMT_Y4) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_Y4) == (v4l2_fourcc('Y', '0', '4', ' ')), "V4L2_PIX_FMT_Y4 != v4l2_fourcc('Y', '0', '4', ' ')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_Y4 v4l2_fourcc('Y', '0', '4', ' ') #endif #if defined(V4L2_PIX_FMT_Y6) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y6) && HAVE_DECL_V4L2_PIX_FMT_Y6) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_Y6) == (v4l2_fourcc('Y', '0', '6', ' ')), "V4L2_PIX_FMT_Y6 != v4l2_fourcc('Y', '0', '6', ' ')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_Y6 v4l2_fourcc('Y', '0', '6', ' ') #endif #if defined(V4L2_PIX_FMT_Y16) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y16) && HAVE_DECL_V4L2_PIX_FMT_Y16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_Y16) == (v4l2_fourcc('Y', '1', '6', ' ')), "V4L2_PIX_FMT_Y16 != v4l2_fourcc('Y', '1', '6', ' ')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_Y16 v4l2_fourcc('Y', '1', '6', ' ') #endif #if defined(V4L2_PIX_FMT_Z16) || (defined(HAVE_DECL_V4L2_PIX_FMT_Z16) && HAVE_DECL_V4L2_PIX_FMT_Z16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_Z16) == (v4l2_fourcc('Z', '1', '6', ' ')), "V4L2_PIX_FMT_Z16 != v4l2_fourcc('Z', '1', '6', ' ')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_Z16 v4l2_fourcc('Z', '1', '6', ' ') #endif #if defined(V4L2_PIX_FMT_UV8) || (defined(HAVE_DECL_V4L2_PIX_FMT_UV8) && HAVE_DECL_V4L2_PIX_FMT_UV8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_UV8) == (v4l2_fourcc('U', 'V', '8', ' ')), "V4L2_PIX_FMT_UV8 != v4l2_fourcc('U', 'V', '8', ' ')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_UV8 v4l2_fourcc('U', 'V', '8', ' ') #endif #if defined(V4L2_PIX_FMT_Y8I) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y8I) && HAVE_DECL_V4L2_PIX_FMT_Y8I) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_Y8I) == (v4l2_fourcc('Y', '8', 'I', ' ')), "V4L2_PIX_FMT_Y8I != v4l2_fourcc('Y', '8', 'I', ' ')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_Y8I v4l2_fourcc('Y', '8', 'I', ' ') #endif #if defined(V4L2_PIX_FMT_MR97310A) || (defined(HAVE_DECL_V4L2_PIX_FMT_MR97310A) && HAVE_DECL_V4L2_PIX_FMT_MR97310A) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_MR97310A) == (v4l2_fourcc('M', '3', '1', '0')), "V4L2_PIX_FMT_MR97310A != v4l2_fourcc('M', '3', '1', '0')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_MR97310A v4l2_fourcc('M', '3', '1', '0') #endif #if defined(V4L2_PIX_FMT_SN9C10X) || (defined(HAVE_DECL_V4L2_PIX_FMT_SN9C10X) && HAVE_DECL_V4L2_PIX_FMT_SN9C10X) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SN9C10X) == (v4l2_fourcc('S', '9', '1', '0')), "V4L2_PIX_FMT_SN9C10X != v4l2_fourcc('S', '9', '1', '0')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SN9C10X v4l2_fourcc('S', '9', '1', '0') #endif #if defined(V4L2_PIX_FMT_SGRBG10) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG10) && HAVE_DECL_V4L2_PIX_FMT_SGRBG10) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGRBG10) == (v4l2_fourcc('B', 'A', '1', '0')), "V4L2_PIX_FMT_SGRBG10 != v4l2_fourcc('B', 'A', '1', '0')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGRBG10 v4l2_fourcc('B', 'A', '1', '0') #endif #if defined(V4L2_PIX_FMT_SGBRG10) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG10) && HAVE_DECL_V4L2_PIX_FMT_SGBRG10) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGBRG10) == (v4l2_fourcc('G', 'B', '1', '0')), "V4L2_PIX_FMT_SGBRG10 != v4l2_fourcc('G', 'B', '1', '0')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGBRG10 v4l2_fourcc('G', 'B', '1', '0') #endif #if defined(V4L2_PIX_FMT_SGRBG10DPCM8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG10DPCM8) && HAVE_DECL_V4L2_PIX_FMT_SGRBG10DPCM8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGRBG10DPCM8) == (v4l2_fourcc('B', 'D', '1', '0')), "V4L2_PIX_FMT_SGRBG10DPCM8 != v4l2_fourcc('B', 'D', '1', '0')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGRBG10DPCM8 v4l2_fourcc('B', 'D', '1', '0') #endif #if defined(V4L2_PIX_FMT_SBGGR10) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR10) && HAVE_DECL_V4L2_PIX_FMT_SBGGR10) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SBGGR10) == (v4l2_fourcc('B', 'G', '1', '0')), "V4L2_PIX_FMT_SBGGR10 != v4l2_fourcc('B', 'G', '1', '0')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SBGGR10 v4l2_fourcc('B', 'G', '1', '0') #endif #if defined(V4L2_PIX_FMT_SRGGB10) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB10) && HAVE_DECL_V4L2_PIX_FMT_SRGGB10) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SRGGB10) == (v4l2_fourcc('R', 'G', '1', '0')), "V4L2_PIX_FMT_SRGGB10 != v4l2_fourcc('R', 'G', '1', '0')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SRGGB10 v4l2_fourcc('R', 'G', '1', '0') #endif #if defined(V4L2_PIX_FMT_M420) || (defined(HAVE_DECL_V4L2_PIX_FMT_M420) && HAVE_DECL_V4L2_PIX_FMT_M420) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_M420) == (v4l2_fourcc('M', '4', '2', '0')), "V4L2_PIX_FMT_M420 != v4l2_fourcc('M', '4', '2', '0')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_M420 v4l2_fourcc('M', '4', '2', '0') #endif #if defined(V4L2_PIX_FMT_SN9C20X_I420) || (defined(HAVE_DECL_V4L2_PIX_FMT_SN9C20X_I420) && HAVE_DECL_V4L2_PIX_FMT_SN9C20X_I420) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SN9C20X_I420) == (v4l2_fourcc('S', '9', '2', '0')), "V4L2_PIX_FMT_SN9C20X_I420 != v4l2_fourcc('S', '9', '2', '0')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SN9C20X_I420 v4l2_fourcc('S', '9', '2', '0') #endif #if defined(V4L2_PIX_FMT_JL2005BCD) || (defined(HAVE_DECL_V4L2_PIX_FMT_JL2005BCD) && HAVE_DECL_V4L2_PIX_FMT_JL2005BCD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_JL2005BCD) == (v4l2_fourcc('J', 'L', '2', '0')), "V4L2_PIX_FMT_JL2005BCD != v4l2_fourcc('J', 'L', '2', '0')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_JL2005BCD v4l2_fourcc('J', 'L', '2', '0') #endif #if defined(V4L2_PIX_FMT_TM6000) || (defined(HAVE_DECL_V4L2_PIX_FMT_TM6000) && HAVE_DECL_V4L2_PIX_FMT_TM6000) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_TM6000) == (v4l2_fourcc('T', 'M', '6', '0')), "V4L2_PIX_FMT_TM6000 != v4l2_fourcc('T', 'M', '6', '0')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_TM6000 v4l2_fourcc('T', 'M', '6', '0') #endif #if defined(V4L2_PIX_FMT_STV0680) || (defined(HAVE_DECL_V4L2_PIX_FMT_STV0680) && HAVE_DECL_V4L2_PIX_FMT_STV0680) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_STV0680) == (v4l2_fourcc('S', '6', '8', '0')), "V4L2_PIX_FMT_STV0680 != v4l2_fourcc('S', '6', '8', '0')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_STV0680 v4l2_fourcc('S', '6', '8', '0') #endif #if defined(V4L2_PIX_FMT_VP8) || (defined(HAVE_DECL_V4L2_PIX_FMT_VP8) && HAVE_DECL_V4L2_PIX_FMT_VP8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_VP8) == (v4l2_fourcc('V', 'P', '8', '0')), "V4L2_PIX_FMT_VP8 != v4l2_fourcc('V', 'P', '8', '0')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_VP8 v4l2_fourcc('V', 'P', '8', '0') #endif #if defined(V4L2_PIX_FMT_VP9) || (defined(HAVE_DECL_V4L2_PIX_FMT_VP9) && HAVE_DECL_V4L2_PIX_FMT_VP9) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_VP9) == (v4l2_fourcc('V', 'P', '9', '0')), "V4L2_PIX_FMT_VP9 != v4l2_fourcc('V', 'P', '9', '0')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_VP9 v4l2_fourcc('V', 'P', '9', '0') #endif #if defined(V4L2_PIX_FMT_SE401) || (defined(HAVE_DECL_V4L2_PIX_FMT_SE401) && HAVE_DECL_V4L2_PIX_FMT_SE401) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SE401) == (v4l2_fourcc('S', '4', '0', '1')), "V4L2_PIX_FMT_SE401 != v4l2_fourcc('S', '4', '0', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SE401 v4l2_fourcc('S', '4', '0', '1') #endif #if defined(V4L2_PIX_FMT_SPCA501) || (defined(HAVE_DECL_V4L2_PIX_FMT_SPCA501) && HAVE_DECL_V4L2_PIX_FMT_SPCA501) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SPCA501) == (v4l2_fourcc('S', '5', '0', '1')), "V4L2_PIX_FMT_SPCA501 != v4l2_fourcc('S', '5', '0', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SPCA501 v4l2_fourcc('S', '5', '0', '1') #endif #if defined(V4L2_PIX_FMT_OV511) || (defined(HAVE_DECL_V4L2_PIX_FMT_OV511) && HAVE_DECL_V4L2_PIX_FMT_OV511) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_OV511) == (v4l2_fourcc('O', '5', '1', '1')), "V4L2_PIX_FMT_OV511 != v4l2_fourcc('O', '5', '1', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_OV511 v4l2_fourcc('O', '5', '1', '1') #endif #if defined(V4L2_PIX_FMT_NV21M) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV21M) && HAVE_DECL_V4L2_PIX_FMT_NV21M) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_NV21M) == (v4l2_fourcc('N', 'M', '2', '1')), "V4L2_PIX_FMT_NV21M != v4l2_fourcc('N', 'M', '2', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_NV21M v4l2_fourcc('N', 'M', '2', '1') #endif #if defined(V4L2_PIX_FMT_YVU420M) || (defined(HAVE_DECL_V4L2_PIX_FMT_YVU420M) && HAVE_DECL_V4L2_PIX_FMT_YVU420M) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YVU420M) == (v4l2_fourcc('Y', 'M', '2', '1')), "V4L2_PIX_FMT_YVU420M != v4l2_fourcc('Y', 'M', '2', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YVU420M v4l2_fourcc('Y', 'M', '2', '1') #endif #if defined(V4L2_PIX_FMT_MT21C) || (defined(HAVE_DECL_V4L2_PIX_FMT_MT21C) && HAVE_DECL_V4L2_PIX_FMT_MT21C) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_MT21C) == (v4l2_fourcc('M', 'T', '2', '1')), "V4L2_PIX_FMT_MT21C != v4l2_fourcc('M', 'T', '2', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_MT21C v4l2_fourcc('M', 'T', '2', '1') #endif #if defined(V4L2_PIX_FMT_NV21) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV21) && HAVE_DECL_V4L2_PIX_FMT_NV21) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_NV21) == (v4l2_fourcc('N', 'V', '2', '1')), "V4L2_PIX_FMT_NV21 != v4l2_fourcc('N', 'V', '2', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_NV21 v4l2_fourcc('N', 'V', '2', '1') #endif #if defined(V4L2_PIX_FMT_SPCA561) || (defined(HAVE_DECL_V4L2_PIX_FMT_SPCA561) && HAVE_DECL_V4L2_PIX_FMT_SPCA561) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SPCA561) == (v4l2_fourcc('S', '5', '6', '1')), "V4L2_PIX_FMT_SPCA561 != v4l2_fourcc('S', '5', '6', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SPCA561 v4l2_fourcc('S', '5', '6', '1') #endif #if defined(V4L2_PIX_FMT_NV61M) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV61M) && HAVE_DECL_V4L2_PIX_FMT_NV61M) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_NV61M) == (v4l2_fourcc('N', 'M', '6', '1')), "V4L2_PIX_FMT_NV61M != v4l2_fourcc('N', 'M', '6', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_NV61M v4l2_fourcc('N', 'M', '6', '1') #endif #if defined(V4L2_PIX_FMT_YVU422M) || (defined(HAVE_DECL_V4L2_PIX_FMT_YVU422M) && HAVE_DECL_V4L2_PIX_FMT_YVU422M) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YVU422M) == (v4l2_fourcc('Y', 'M', '6', '1')), "V4L2_PIX_FMT_YVU422M != v4l2_fourcc('Y', 'M', '6', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YVU422M v4l2_fourcc('Y', 'M', '6', '1') #endif #if defined(V4L2_PIX_FMT_NV61) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV61) && HAVE_DECL_V4L2_PIX_FMT_NV61) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_NV61) == (v4l2_fourcc('N', 'V', '6', '1')), "V4L2_PIX_FMT_NV61 != v4l2_fourcc('N', 'V', '6', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_NV61 v4l2_fourcc('N', 'V', '6', '1') #endif #if defined(V4L2_PIX_FMT_SBGGR8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR8) && HAVE_DECL_V4L2_PIX_FMT_SBGGR8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SBGGR8) == (v4l2_fourcc('B', 'A', '8', '1')), "V4L2_PIX_FMT_SBGGR8 != v4l2_fourcc('B', 'A', '8', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SBGGR8 v4l2_fourcc('B', 'A', '8', '1') #endif #if defined(V4L2_PIX_FMT_RGB332) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB332) && HAVE_DECL_V4L2_PIX_FMT_RGB332) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_RGB332) == (v4l2_fourcc('R', 'G', 'B', '1')), "V4L2_PIX_FMT_RGB332 != v4l2_fourcc('R', 'G', 'B', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_RGB332 v4l2_fourcc('R', 'G', 'B', '1') #endif #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) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 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')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_H264_NO_SC v4l2_fourcc('A', 'V', 'C', '1') #endif #if defined(V4L2_PIX_FMT_PWC1) || (defined(HAVE_DECL_V4L2_PIX_FMT_PWC1) && HAVE_DECL_V4L2_PIX_FMT_PWC1) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_PWC1) == (v4l2_fourcc('P', 'W', 'C', '1')), "V4L2_PIX_FMT_PWC1 != v4l2_fourcc('P', 'W', 'C', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_PWC1 v4l2_fourcc('P', 'W', 'C', '1') #endif #if defined(V4L2_PIX_FMT_MPEG1) || (defined(HAVE_DECL_V4L2_PIX_FMT_MPEG1) && HAVE_DECL_V4L2_PIX_FMT_MPEG1) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_MPEG1) == (v4l2_fourcc('M', 'P', 'G', '1')), "V4L2_PIX_FMT_MPEG1 != v4l2_fourcc('M', 'P', 'G', '1')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_MPEG1 v4l2_fourcc('M', 'P', 'G', '1') #endif #if defined(V4L2_PIX_FMT_SGRBG12) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG12) && HAVE_DECL_V4L2_PIX_FMT_SGRBG12) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGRBG12) == (v4l2_fourcc('B', 'A', '1', '2')), "V4L2_PIX_FMT_SGRBG12 != v4l2_fourcc('B', 'A', '1', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGRBG12 v4l2_fourcc('B', 'A', '1', '2') #endif #if defined(V4L2_PIX_FMT_SGBRG12) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG12) && HAVE_DECL_V4L2_PIX_FMT_SGBRG12) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGBRG12) == (v4l2_fourcc('G', 'B', '1', '2')), "V4L2_PIX_FMT_SGBRG12 != v4l2_fourcc('G', 'B', '1', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGBRG12 v4l2_fourcc('G', 'B', '1', '2') #endif #if defined(V4L2_PIX_FMT_SBGGR12) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR12) && HAVE_DECL_V4L2_PIX_FMT_SBGGR12) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SBGGR12) == (v4l2_fourcc('B', 'G', '1', '2')), "V4L2_PIX_FMT_SBGGR12 != v4l2_fourcc('B', 'G', '1', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SBGGR12 v4l2_fourcc('B', 'G', '1', '2') #endif #if defined(V4L2_PIX_FMT_SRGGB12) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB12) && HAVE_DECL_V4L2_PIX_FMT_SRGGB12) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SRGGB12) == (v4l2_fourcc('R', 'G', '1', '2')), "V4L2_PIX_FMT_SRGGB12 != v4l2_fourcc('R', 'G', '1', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SRGGB12 v4l2_fourcc('R', 'G', '1', '2') #endif #if defined(V4L2_PIX_FMT_HM12) || (defined(HAVE_DECL_V4L2_PIX_FMT_HM12) && HAVE_DECL_V4L2_PIX_FMT_HM12) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_HM12) == (v4l2_fourcc('H', 'M', '1', '2')), "V4L2_PIX_FMT_HM12 != v4l2_fourcc('H', 'M', '1', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_HM12 v4l2_fourcc('H', 'M', '1', '2') #endif #if defined(V4L2_PIX_FMT_NV12M) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV12M) && HAVE_DECL_V4L2_PIX_FMT_NV12M) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_NV12M) == (v4l2_fourcc('N', 'M', '1', '2')), "V4L2_PIX_FMT_NV12M != v4l2_fourcc('N', 'M', '1', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_NV12M v4l2_fourcc('N', 'M', '1', '2') #endif #if defined(V4L2_PIX_FMT_NV12MT) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV12MT) && HAVE_DECL_V4L2_PIX_FMT_NV12MT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_NV12MT) == (v4l2_fourcc('T', 'M', '1', '2')), "V4L2_PIX_FMT_NV12MT != v4l2_fourcc('T', 'M', '1', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_NV12MT v4l2_fourcc('T', 'M', '1', '2') #endif #if defined(V4L2_PIX_FMT_NV12MT_16X16) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV12MT_16X16) && HAVE_DECL_V4L2_PIX_FMT_NV12MT_16X16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_NV12MT_16X16) == (v4l2_fourcc('V', 'M', '1', '2')), "V4L2_PIX_FMT_NV12MT_16X16 != v4l2_fourcc('V', 'M', '1', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_NV12MT_16X16 v4l2_fourcc('V', 'M', '1', '2') #endif #if defined(V4L2_PIX_FMT_YUV420M) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV420M) && HAVE_DECL_V4L2_PIX_FMT_YUV420M) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YUV420M) == (v4l2_fourcc('Y', 'M', '1', '2')), "V4L2_PIX_FMT_YUV420M != v4l2_fourcc('Y', 'M', '1', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YUV420M v4l2_fourcc('Y', 'M', '1', '2') #endif #if defined(V4L2_PIX_FMT_ARGB444) || (defined(HAVE_DECL_V4L2_PIX_FMT_ARGB444) && HAVE_DECL_V4L2_PIX_FMT_ARGB444) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_ARGB444) == (v4l2_fourcc('A', 'R', '1', '2')), "V4L2_PIX_FMT_ARGB444 != v4l2_fourcc('A', 'R', '1', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_ARGB444 v4l2_fourcc('A', 'R', '1', '2') #endif #if defined(V4L2_PIX_FMT_XRGB444) || (defined(HAVE_DECL_V4L2_PIX_FMT_XRGB444) && HAVE_DECL_V4L2_PIX_FMT_XRGB444) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_XRGB444) == (v4l2_fourcc('X', 'R', '1', '2')), "V4L2_PIX_FMT_XRGB444 != v4l2_fourcc('X', 'R', '1', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_XRGB444 v4l2_fourcc('X', 'R', '1', '2') #endif #if defined(V4L2_PIX_FMT_YUV420) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV420) && HAVE_DECL_V4L2_PIX_FMT_YUV420) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YUV420) == (v4l2_fourcc('Y', 'U', '1', '2')), "V4L2_PIX_FMT_YUV420 != v4l2_fourcc('Y', 'U', '1', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YUV420 v4l2_fourcc('Y', 'U', '1', '2') #endif #if defined(V4L2_PIX_FMT_NV12) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV12) && HAVE_DECL_V4L2_PIX_FMT_NV12) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_NV12) == (v4l2_fourcc('N', 'V', '1', '2')), "V4L2_PIX_FMT_NV12 != v4l2_fourcc('N', 'V', '1', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_NV12 v4l2_fourcc('N', 'V', '1', '2') #endif #if defined(V4L2_PIX_FMT_YVU420) || (defined(HAVE_DECL_V4L2_PIX_FMT_YVU420) && HAVE_DECL_V4L2_PIX_FMT_YVU420) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YVU420) == (v4l2_fourcc('Y', 'V', '1', '2')), "V4L2_PIX_FMT_YVU420 != v4l2_fourcc('Y', 'V', '1', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YVU420 v4l2_fourcc('Y', 'V', '1', '2') #endif #if defined(V4L2_PIX_FMT_YVU444M) || (defined(HAVE_DECL_V4L2_PIX_FMT_YVU444M) && HAVE_DECL_V4L2_PIX_FMT_YVU444M) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YVU444M) == (v4l2_fourcc('Y', 'M', '4', '2')), "V4L2_PIX_FMT_YVU444M != v4l2_fourcc('Y', 'M', '4', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YVU444M v4l2_fourcc('Y', 'M', '4', '2') #endif #if defined(V4L2_PIX_FMT_NV42) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV42) && HAVE_DECL_V4L2_PIX_FMT_NV42) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_NV42) == (v4l2_fourcc('N', 'V', '4', '2')), "V4L2_PIX_FMT_NV42 != v4l2_fourcc('N', 'V', '4', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_NV42 v4l2_fourcc('N', 'V', '4', '2') #endif #if defined(V4L2_PIX_FMT_PWC2) || (defined(HAVE_DECL_V4L2_PIX_FMT_PWC2) && HAVE_DECL_V4L2_PIX_FMT_PWC2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_PWC2) == (v4l2_fourcc('P', 'W', 'C', '2')), "V4L2_PIX_FMT_PWC2 != v4l2_fourcc('P', 'W', 'C', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_PWC2 v4l2_fourcc('P', 'W', 'C', '2') #endif #if defined(V4L2_PIX_FMT_MPEG2) || (defined(HAVE_DECL_V4L2_PIX_FMT_MPEG2) && HAVE_DECL_V4L2_PIX_FMT_MPEG2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_MPEG2) == (v4l2_fourcc('M', 'P', 'G', '2')), "V4L2_PIX_FMT_MPEG2 != v4l2_fourcc('M', 'P', 'G', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_MPEG2 v4l2_fourcc('M', 'P', 'G', '2') #endif #if defined(V4L2_PIX_FMT_SBGGR16) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR16) && HAVE_DECL_V4L2_PIX_FMT_SBGGR16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SBGGR16) == (v4l2_fourcc('B', 'Y', 'R', '2')), "V4L2_PIX_FMT_SBGGR16 != v4l2_fourcc('B', 'Y', 'R', '2')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SBGGR16 v4l2_fourcc('B', 'Y', 'R', '2') #endif #if defined(V4L2_PIX_FMT_H263) || (defined(HAVE_DECL_V4L2_PIX_FMT_H263) && HAVE_DECL_V4L2_PIX_FMT_H263) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_H263) == (v4l2_fourcc('H', '2', '6', '3')), "V4L2_PIX_FMT_H263 != v4l2_fourcc('H', '2', '6', '3')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_H263 v4l2_fourcc('H', '2', '6', '3') #endif #if defined(V4L2_PIX_FMT_RGB24) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB24) && HAVE_DECL_V4L2_PIX_FMT_RGB24) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_RGB24) == (v4l2_fourcc('R', 'G', 'B', '3')), "V4L2_PIX_FMT_RGB24 != v4l2_fourcc('R', 'G', 'B', '3')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_RGB24 v4l2_fourcc('R', 'G', 'B', '3') #endif #if defined(V4L2_PIX_FMT_BGR24) || (defined(HAVE_DECL_V4L2_PIX_FMT_BGR24) && HAVE_DECL_V4L2_PIX_FMT_BGR24) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_BGR24) == (v4l2_fourcc('B', 'G', 'R', '3')), "V4L2_PIX_FMT_BGR24 != v4l2_fourcc('B', 'G', 'R', '3')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_BGR24 v4l2_fourcc('B', 'G', 'R', '3') #endif #if defined(V4L2_PIX_FMT_HSV24) || (defined(HAVE_DECL_V4L2_PIX_FMT_HSV24) && HAVE_DECL_V4L2_PIX_FMT_HSV24) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_HSV24) == (v4l2_fourcc('H', 'S', 'V', '3')), "V4L2_PIX_FMT_HSV24 != v4l2_fourcc('H', 'S', 'V', '3')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_HSV24 v4l2_fourcc('H', 'S', 'V', '3') #endif #if defined(V4L2_PIX_FMT_ARGB32) || (defined(HAVE_DECL_V4L2_PIX_FMT_ARGB32) && HAVE_DECL_V4L2_PIX_FMT_ARGB32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_ARGB32) == (v4l2_fourcc('B', 'A', '2', '4')), "V4L2_PIX_FMT_ARGB32 != v4l2_fourcc('B', 'A', '2', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_ARGB32 v4l2_fourcc('B', 'A', '2', '4') #endif #if defined(V4L2_PIX_FMT_HI240) || (defined(HAVE_DECL_V4L2_PIX_FMT_HI240) && HAVE_DECL_V4L2_PIX_FMT_HI240) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_HI240) == (v4l2_fourcc('H', 'I', '2', '4')), "V4L2_PIX_FMT_HI240 != v4l2_fourcc('H', 'I', '2', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_HI240 v4l2_fourcc('H', 'I', '2', '4') #endif #if defined(V4L2_PIX_FMT_YUV444M) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV444M) && HAVE_DECL_V4L2_PIX_FMT_YUV444M) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YUV444M) == (v4l2_fourcc('Y', 'M', '2', '4')), "V4L2_PIX_FMT_YUV444M != v4l2_fourcc('Y', 'M', '2', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YUV444M v4l2_fourcc('Y', 'M', '2', '4') #endif #if defined(V4L2_PIX_FMT_ABGR32) || (defined(HAVE_DECL_V4L2_PIX_FMT_ABGR32) && HAVE_DECL_V4L2_PIX_FMT_ABGR32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_ABGR32) == (v4l2_fourcc('A', 'R', '2', '4')), "V4L2_PIX_FMT_ABGR32 != v4l2_fourcc('A', 'R', '2', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_ABGR32 v4l2_fourcc('A', 'R', '2', '4') #endif #if defined(V4L2_PIX_FMT_XBGR32) || (defined(HAVE_DECL_V4L2_PIX_FMT_XBGR32) && HAVE_DECL_V4L2_PIX_FMT_XBGR32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_XBGR32) == (v4l2_fourcc('X', 'R', '2', '4')), "V4L2_PIX_FMT_XBGR32 != v4l2_fourcc('X', 'R', '2', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_XBGR32 v4l2_fourcc('X', 'R', '2', '4') #endif #if defined(V4L2_PIX_FMT_NV24) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV24) && HAVE_DECL_V4L2_PIX_FMT_NV24) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_NV24) == (v4l2_fourcc('N', 'V', '2', '4')), "V4L2_PIX_FMT_NV24 != v4l2_fourcc('N', 'V', '2', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_NV24 v4l2_fourcc('N', 'V', '2', '4') #endif #if defined(V4L2_PIX_FMT_XRGB32) || (defined(HAVE_DECL_V4L2_PIX_FMT_XRGB32) && HAVE_DECL_V4L2_PIX_FMT_XRGB32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_XRGB32) == (v4l2_fourcc('B', 'X', '2', '4')), "V4L2_PIX_FMT_XRGB32 != v4l2_fourcc('B', 'X', '2', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_XRGB32 v4l2_fourcc('B', 'X', '2', '4') #endif #if defined(V4L2_PIX_FMT_RGB444) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB444) && HAVE_DECL_V4L2_PIX_FMT_RGB444) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_RGB444) == (v4l2_fourcc('R', '4', '4', '4')), "V4L2_PIX_FMT_RGB444 != v4l2_fourcc('R', '4', '4', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_RGB444 v4l2_fourcc('R', '4', '4', '4') #endif #if defined(V4L2_PIX_FMT_YUV444) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV444) && HAVE_DECL_V4L2_PIX_FMT_YUV444) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YUV444) == (v4l2_fourcc('Y', '4', '4', '4')), "V4L2_PIX_FMT_YUV444 != v4l2_fourcc('Y', '4', '4', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YUV444 v4l2_fourcc('Y', '4', '4', '4') #endif #if defined(V4L2_PIX_FMT_H264) || (defined(HAVE_DECL_V4L2_PIX_FMT_H264) && HAVE_DECL_V4L2_PIX_FMT_H264) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_H264) == (v4l2_fourcc('H', '2', '6', '4')), "V4L2_PIX_FMT_H264 != v4l2_fourcc('H', '2', '6', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_H264 v4l2_fourcc('H', '2', '6', '4') #endif #if defined(V4L2_PIX_FMT_H264_MVC) || (defined(HAVE_DECL_V4L2_PIX_FMT_H264_MVC) && HAVE_DECL_V4L2_PIX_FMT_H264_MVC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_H264_MVC) == (v4l2_fourcc('M', '2', '6', '4')), "V4L2_PIX_FMT_H264_MVC != v4l2_fourcc('M', '2', '6', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_H264_MVC v4l2_fourcc('M', '2', '6', '4') #endif #if defined(V4L2_PIX_FMT_RGB32) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB32) && HAVE_DECL_V4L2_PIX_FMT_RGB32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_RGB32) == (v4l2_fourcc('R', 'G', 'B', '4')), "V4L2_PIX_FMT_RGB32 != v4l2_fourcc('R', 'G', 'B', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_RGB32 v4l2_fourcc('R', 'G', 'B', '4') #endif #if defined(V4L2_PIX_FMT_MPEG4) || (defined(HAVE_DECL_V4L2_PIX_FMT_MPEG4) && HAVE_DECL_V4L2_PIX_FMT_MPEG4) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_MPEG4) == (v4l2_fourcc('M', 'P', 'G', '4')), "V4L2_PIX_FMT_MPEG4 != v4l2_fourcc('M', 'P', 'G', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_MPEG4 v4l2_fourcc('M', 'P', 'G', '4') #endif #if defined(V4L2_PIX_FMT_BGR32) || (defined(HAVE_DECL_V4L2_PIX_FMT_BGR32) && HAVE_DECL_V4L2_PIX_FMT_BGR32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_BGR32) == (v4l2_fourcc('B', 'G', 'R', '4')), "V4L2_PIX_FMT_BGR32 != v4l2_fourcc('B', 'G', 'R', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_BGR32 v4l2_fourcc('B', 'G', 'R', '4') #endif #if defined(V4L2_PIX_FMT_HSV32) || (defined(HAVE_DECL_V4L2_PIX_FMT_HSV32) && HAVE_DECL_V4L2_PIX_FMT_HSV32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_HSV32) == (v4l2_fourcc('H', 'S', 'V', '4')), "V4L2_PIX_FMT_HSV32 != v4l2_fourcc('H', 'S', 'V', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_HSV32 v4l2_fourcc('H', 'S', 'V', '4') #endif #if defined(V4L2_PIX_FMT_YUV32) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV32) && HAVE_DECL_V4L2_PIX_FMT_YUV32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YUV32) == (v4l2_fourcc('Y', 'U', 'V', '4')), "V4L2_PIX_FMT_YUV32 != v4l2_fourcc('Y', 'U', 'V', '4')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YUV32 v4l2_fourcc('Y', 'U', 'V', '4') #endif #if defined(V4L2_PIX_FMT_SPCA505) || (defined(HAVE_DECL_V4L2_PIX_FMT_SPCA505) && HAVE_DECL_V4L2_PIX_FMT_SPCA505) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SPCA505) == (v4l2_fourcc('S', '5', '0', '5')), "V4L2_PIX_FMT_SPCA505 != v4l2_fourcc('S', '5', '0', '5')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SPCA505 v4l2_fourcc('S', '5', '0', '5') #endif #if defined(V4L2_PIX_FMT_ARGB555) || (defined(HAVE_DECL_V4L2_PIX_FMT_ARGB555) && HAVE_DECL_V4L2_PIX_FMT_ARGB555) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_ARGB555) == (v4l2_fourcc('A', 'R', '1', '5')), "V4L2_PIX_FMT_ARGB555 != v4l2_fourcc('A', 'R', '1', '5')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_ARGB555 v4l2_fourcc('A', 'R', '1', '5') #endif #if defined(V4L2_PIX_FMT_XRGB555) || (defined(HAVE_DECL_V4L2_PIX_FMT_XRGB555) && HAVE_DECL_V4L2_PIX_FMT_XRGB555) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_XRGB555) == (v4l2_fourcc('X', 'R', '1', '5')), "V4L2_PIX_FMT_XRGB555 != v4l2_fourcc('X', 'R', '1', '5')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_XRGB555 v4l2_fourcc('X', 'R', '1', '5') #endif #if defined(V4L2_PIX_FMT_ET61X251) || (defined(HAVE_DECL_V4L2_PIX_FMT_ET61X251) && HAVE_DECL_V4L2_PIX_FMT_ET61X251) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_ET61X251) == (v4l2_fourcc('E', '6', '2', '5')), "V4L2_PIX_FMT_ET61X251 != v4l2_fourcc('E', '6', '2', '5')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_ET61X251 v4l2_fourcc('E', '6', '2', '5') #endif #if defined(V4L2_PIX_FMT_SGBRG16) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG16) && HAVE_DECL_V4L2_PIX_FMT_SGBRG16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGBRG16) == (v4l2_fourcc('G', 'B', '1', '6')), "V4L2_PIX_FMT_SGBRG16 != v4l2_fourcc('G', 'B', '1', '6')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGBRG16 v4l2_fourcc('G', 'B', '1', '6') #endif #if defined(V4L2_PIX_FMT_SRGGB16) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB16) && HAVE_DECL_V4L2_PIX_FMT_SRGGB16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SRGGB16) == (v4l2_fourcc('R', 'G', '1', '6')), "V4L2_PIX_FMT_SRGGB16 != v4l2_fourcc('R', 'G', '1', '6')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SRGGB16 v4l2_fourcc('R', 'G', '1', '6') #endif #if defined(V4L2_PIX_FMT_NV16M) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV16M) && HAVE_DECL_V4L2_PIX_FMT_NV16M) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_NV16M) == (v4l2_fourcc('N', 'M', '1', '6')), "V4L2_PIX_FMT_NV16M != v4l2_fourcc('N', 'M', '1', '6')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_NV16M v4l2_fourcc('N', 'M', '1', '6') #endif #if defined(V4L2_PIX_FMT_YUV422M) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV422M) && HAVE_DECL_V4L2_PIX_FMT_YUV422M) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YUV422M) == (v4l2_fourcc('Y', 'M', '1', '6')), "V4L2_PIX_FMT_YUV422M != v4l2_fourcc('Y', 'M', '1', '6')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YUV422M v4l2_fourcc('Y', 'M', '1', '6') #endif #if defined(V4L2_PIX_FMT_SGRBG16) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG16) && HAVE_DECL_V4L2_PIX_FMT_SGRBG16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGRBG16) == (v4l2_fourcc('G', 'R', '1', '6')), "V4L2_PIX_FMT_SGRBG16 != v4l2_fourcc('G', 'R', '1', '6')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGRBG16 v4l2_fourcc('G', 'R', '1', '6') #endif #if defined(V4L2_PIX_FMT_NV16) || (defined(HAVE_DECL_V4L2_PIX_FMT_NV16) && HAVE_DECL_V4L2_PIX_FMT_NV16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_NV16) == (v4l2_fourcc('N', 'V', '1', '6')), "V4L2_PIX_FMT_NV16 != v4l2_fourcc('N', 'V', '1', '6')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_NV16 v4l2_fourcc('N', 'V', '1', '6') #endif #if defined(V4L2_PIX_FMT_PAC207) || (defined(HAVE_DECL_V4L2_PIX_FMT_PAC207) && HAVE_DECL_V4L2_PIX_FMT_PAC207) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_PAC207) == (v4l2_fourcc('P', '2', '0', '7')), "V4L2_PIX_FMT_PAC207 != v4l2_fourcc('P', '2', '0', '7')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_PAC207 v4l2_fourcc('P', '2', '0', '7') #endif #if defined(V4L2_PIX_FMT_SPCA508) || (defined(HAVE_DECL_V4L2_PIX_FMT_SPCA508) && HAVE_DECL_V4L2_PIX_FMT_SPCA508) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SPCA508) == (v4l2_fourcc('S', '5', '0', '8')), "V4L2_PIX_FMT_SPCA508 != v4l2_fourcc('S', '5', '0', '8')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SPCA508 v4l2_fourcc('S', '5', '0', '8') #endif #if defined(V4L2_PIX_FMT_OV518) || (defined(HAVE_DECL_V4L2_PIX_FMT_OV518) && HAVE_DECL_V4L2_PIX_FMT_OV518) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_OV518) == (v4l2_fourcc('O', '5', '1', '8')), "V4L2_PIX_FMT_OV518 != v4l2_fourcc('O', '5', '1', '8')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_OV518 v4l2_fourcc('O', '5', '1', '8') #endif #if defined(V4L2_PIX_FMT_SBGGR10ALAW8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR10ALAW8) && HAVE_DECL_V4L2_PIX_FMT_SBGGR10ALAW8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SBGGR10ALAW8) == (v4l2_fourcc('a', 'B', 'A', '8')), "V4L2_PIX_FMT_SBGGR10ALAW8 != v4l2_fourcc('a', 'B', 'A', '8')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SBGGR10ALAW8 v4l2_fourcc('a', 'B', 'A', '8') #endif #if defined(V4L2_PIX_FMT_SBGGR10DPCM8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR10DPCM8) && HAVE_DECL_V4L2_PIX_FMT_SBGGR10DPCM8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SBGGR10DPCM8) == (v4l2_fourcc('b', 'B', 'A', '8')), "V4L2_PIX_FMT_SBGGR10DPCM8 != v4l2_fourcc('b', 'B', 'A', '8')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SBGGR10DPCM8 v4l2_fourcc('b', 'B', 'A', '8') #endif #if defined(V4L2_PIX_FMT_SGBRG10ALAW8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG10ALAW8) && HAVE_DECL_V4L2_PIX_FMT_SGBRG10ALAW8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGBRG10ALAW8) == (v4l2_fourcc('a', 'G', 'A', '8')), "V4L2_PIX_FMT_SGBRG10ALAW8 != v4l2_fourcc('a', 'G', 'A', '8')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGBRG10ALAW8 v4l2_fourcc('a', 'G', 'A', '8') #endif #if defined(V4L2_PIX_FMT_SGBRG10DPCM8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG10DPCM8) && HAVE_DECL_V4L2_PIX_FMT_SGBRG10DPCM8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGBRG10DPCM8) == (v4l2_fourcc('b', 'G', 'A', '8')), "V4L2_PIX_FMT_SGBRG10DPCM8 != v4l2_fourcc('b', 'G', 'A', '8')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGBRG10DPCM8 v4l2_fourcc('b', 'G', 'A', '8') #endif #if defined(V4L2_PIX_FMT_SRGGB10ALAW8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB10ALAW8) && HAVE_DECL_V4L2_PIX_FMT_SRGGB10ALAW8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SRGGB10ALAW8) == (v4l2_fourcc('a', 'R', 'A', '8')), "V4L2_PIX_FMT_SRGGB10ALAW8 != v4l2_fourcc('a', 'R', 'A', '8')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SRGGB10ALAW8 v4l2_fourcc('a', 'R', 'A', '8') #endif #if defined(V4L2_PIX_FMT_SRGGB10DPCM8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB10DPCM8) && HAVE_DECL_V4L2_PIX_FMT_SRGGB10DPCM8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SRGGB10DPCM8) == (v4l2_fourcc('b', 'R', 'A', '8')), "V4L2_PIX_FMT_SRGGB10DPCM8 != v4l2_fourcc('b', 'R', 'A', '8')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SRGGB10DPCM8 v4l2_fourcc('b', 'R', 'A', '8') #endif #if defined(V4L2_PIX_FMT_SGRBG10ALAW8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG10ALAW8) && HAVE_DECL_V4L2_PIX_FMT_SGRBG10ALAW8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGRBG10ALAW8) == (v4l2_fourcc('a', 'g', 'A', '8')), "V4L2_PIX_FMT_SGRBG10ALAW8 != v4l2_fourcc('a', 'g', 'A', '8')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGRBG10ALAW8 v4l2_fourcc('a', 'g', 'A', '8') #endif #if defined(V4L2_PIX_FMT_PAL8) || (defined(HAVE_DECL_V4L2_PIX_FMT_PAL8) && HAVE_DECL_V4L2_PIX_FMT_PAL8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_PAL8) == (v4l2_fourcc('P', 'A', 'L', '8')), "V4L2_PIX_FMT_PAL8 != v4l2_fourcc('P', 'A', 'L', '8')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_PAL8 v4l2_fourcc('P', 'A', 'L', '8') #endif #if defined(V4L2_PIX_FMT_YVU410) || (defined(HAVE_DECL_V4L2_PIX_FMT_YVU410) && HAVE_DECL_V4L2_PIX_FMT_YVU410) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YVU410) == (v4l2_fourcc('Y', 'V', 'U', '9')), "V4L2_PIX_FMT_YVU410 != v4l2_fourcc('Y', 'V', 'U', '9')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YVU410 v4l2_fourcc('Y', 'V', 'U', '9') #endif #if defined(V4L2_PIX_FMT_YUV410) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV410) && HAVE_DECL_V4L2_PIX_FMT_YUV410) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YUV410) == (v4l2_fourcc('Y', 'U', 'V', '9')), "V4L2_PIX_FMT_YUV410 != v4l2_fourcc('Y', 'U', 'V', '9')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YUV410 v4l2_fourcc('Y', 'U', 'V', '9') #endif #if defined(V4L2_PIX_FMT_SBGGR10P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR10P) && HAVE_DECL_V4L2_PIX_FMT_SBGGR10P) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SBGGR10P) == (v4l2_fourcc('p', 'B', 'A', 'A')), "V4L2_PIX_FMT_SBGGR10P != v4l2_fourcc('p', 'B', 'A', 'A')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SBGGR10P v4l2_fourcc('p', 'B', 'A', 'A') #endif #if defined(V4L2_PIX_FMT_SGBRG10P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG10P) && HAVE_DECL_V4L2_PIX_FMT_SGBRG10P) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGBRG10P) == (v4l2_fourcc('p', 'G', 'A', 'A')), "V4L2_PIX_FMT_SGBRG10P != v4l2_fourcc('p', 'G', 'A', 'A')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGBRG10P v4l2_fourcc('p', 'G', 'A', 'A') #endif #if defined(V4L2_PIX_FMT_SRGGB10P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB10P) && HAVE_DECL_V4L2_PIX_FMT_SRGGB10P) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SRGGB10P) == (v4l2_fourcc('p', 'R', 'A', 'A')), "V4L2_PIX_FMT_SRGGB10P != v4l2_fourcc('p', 'R', 'A', 'A')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SRGGB10P v4l2_fourcc('p', 'R', 'A', 'A') #endif #if defined(V4L2_PIX_FMT_SGRBG10P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG10P) && HAVE_DECL_V4L2_PIX_FMT_SGRBG10P) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGRBG10P) == (v4l2_fourcc('p', 'g', 'A', 'A')), "V4L2_PIX_FMT_SGRBG10P != v4l2_fourcc('p', 'g', 'A', 'A')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGRBG10P v4l2_fourcc('p', 'g', 'A', 'A') #endif #if defined(V4L2_PIX_FMT_CPIA1) || (defined(HAVE_DECL_V4L2_PIX_FMT_CPIA1) && HAVE_DECL_V4L2_PIX_FMT_CPIA1) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_CPIA1) == (v4l2_fourcc('C', 'P', 'I', 'A')), "V4L2_PIX_FMT_CPIA1 != v4l2_fourcc('C', 'P', 'I', 'A')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_CPIA1 v4l2_fourcc('C', 'P', 'I', 'A') #endif #if defined(V4L2_PIX_FMT_WNVA) || (defined(HAVE_DECL_V4L2_PIX_FMT_WNVA) && HAVE_DECL_V4L2_PIX_FMT_WNVA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_WNVA) == (v4l2_fourcc('W', 'N', 'V', 'A')), "V4L2_PIX_FMT_WNVA != v4l2_fourcc('W', 'N', 'V', 'A')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_WNVA v4l2_fourcc('W', 'N', 'V', 'A') #endif #if defined(V4L2_PIX_FMT_Y10BPACK) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y10BPACK) && HAVE_DECL_V4L2_PIX_FMT_Y10BPACK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_Y10BPACK) == (v4l2_fourcc('Y', '1', '0', 'B')), "V4L2_PIX_FMT_Y10BPACK != v4l2_fourcc('Y', '1', '0', 'B')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_Y10BPACK v4l2_fourcc('Y', '1', '0', 'B') #endif #if defined(V4L2_PIX_FMT_SRGGB8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB8) && HAVE_DECL_V4L2_PIX_FMT_SRGGB8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SRGGB8) == (v4l2_fourcc('R', 'G', 'G', 'B')), "V4L2_PIX_FMT_SRGGB8 != v4l2_fourcc('R', 'G', 'G', 'B')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SRGGB8 v4l2_fourcc('R', 'G', 'G', 'B') #endif #if defined(V4L2_PIX_FMT_SQ905C) || (defined(HAVE_DECL_V4L2_PIX_FMT_SQ905C) && HAVE_DECL_V4L2_PIX_FMT_SQ905C) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SQ905C) == (v4l2_fourcc('9', '0', '5', 'C')), "V4L2_PIX_FMT_SQ905C != v4l2_fourcc('9', '0', '5', 'C')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SQ905C v4l2_fourcc('9', '0', '5', 'C') #endif #if defined(V4L2_PIX_FMT_SBGGR12P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SBGGR12P) && HAVE_DECL_V4L2_PIX_FMT_SBGGR12P) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SBGGR12P) == (v4l2_fourcc('p', 'B', 'C', 'C')), "V4L2_PIX_FMT_SBGGR12P != v4l2_fourcc('p', 'B', 'C', 'C')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SBGGR12P v4l2_fourcc('p', 'B', 'C', 'C') #endif #if defined(V4L2_PIX_FMT_SGBRG12P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG12P) && HAVE_DECL_V4L2_PIX_FMT_SGBRG12P) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGBRG12P) == (v4l2_fourcc('p', 'G', 'C', 'C')), "V4L2_PIX_FMT_SGBRG12P != v4l2_fourcc('p', 'G', 'C', 'C')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGBRG12P v4l2_fourcc('p', 'G', 'C', 'C') #endif #if defined(V4L2_PIX_FMT_SRGGB12P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SRGGB12P) && HAVE_DECL_V4L2_PIX_FMT_SRGGB12P) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SRGGB12P) == (v4l2_fourcc('p', 'R', 'C', 'C')), "V4L2_PIX_FMT_SRGGB12P != v4l2_fourcc('p', 'R', 'C', 'C')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SRGGB12P v4l2_fourcc('p', 'R', 'C', 'C') #endif #if defined(V4L2_PIX_FMT_SGRBG12P) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG12P) && HAVE_DECL_V4L2_PIX_FMT_SGRBG12P) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGRBG12P) == (v4l2_fourcc('p', 'g', 'C', 'C')), "V4L2_PIX_FMT_SGRBG12P != v4l2_fourcc('p', 'g', 'C', 'C')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGRBG12P v4l2_fourcc('p', 'g', 'C', 'C') #endif #if defined(V4L2_PIX_FMT_HEVC) || (defined(HAVE_DECL_V4L2_PIX_FMT_HEVC) && HAVE_DECL_V4L2_PIX_FMT_HEVC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_HEVC) == (v4l2_fourcc('H', 'E', 'V', 'C')), "V4L2_PIX_FMT_HEVC != v4l2_fourcc('H', 'E', 'V', 'C')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_HEVC v4l2_fourcc('H', 'E', 'V', 'C') #endif #if defined(V4L2_PIX_FMT_XVID) || (defined(HAVE_DECL_V4L2_PIX_FMT_XVID) && HAVE_DECL_V4L2_PIX_FMT_XVID) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_XVID) == (v4l2_fourcc('X', 'V', 'I', 'D')), "V4L2_PIX_FMT_XVID != v4l2_fourcc('X', 'V', 'I', 'D')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_XVID v4l2_fourcc('X', 'V', 'I', 'D') #endif #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) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 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')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_VC1_ANNEX_G v4l2_fourcc('V', 'C', '1', 'G') #endif #if defined(V4L2_PIX_FMT_IPU3_SGRBG10) || (defined(HAVE_DECL_V4L2_PIX_FMT_IPU3_SGRBG10) && HAVE_DECL_V4L2_PIX_FMT_IPU3_SGRBG10) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_IPU3_SGRBG10) == (v4l2_fourcc('i', 'p', '3', 'G')), "V4L2_PIX_FMT_IPU3_SGRBG10 != v4l2_fourcc('i', 'p', '3', 'G')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_IPU3_SGRBG10 v4l2_fourcc('i', 'p', '3', 'G') #endif #if defined(V4L2_PIX_FMT_SGRBG8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGRBG8) && HAVE_DECL_V4L2_PIX_FMT_SGRBG8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGRBG8) == (v4l2_fourcc('G', 'R', 'B', 'G')), "V4L2_PIX_FMT_SGRBG8 != v4l2_fourcc('G', 'R', 'B', 'G')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGRBG8 v4l2_fourcc('G', 'R', 'B', 'G') #endif #if defined(V4L2_PIX_FMT_JPEG) || (defined(HAVE_DECL_V4L2_PIX_FMT_JPEG) && HAVE_DECL_V4L2_PIX_FMT_JPEG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_JPEG) == (v4l2_fourcc('J', 'P', 'E', 'G')), "V4L2_PIX_FMT_JPEG != v4l2_fourcc('J', 'P', 'E', 'G')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_JPEG v4l2_fourcc('J', 'P', 'E', 'G') #endif #if defined(V4L2_PIX_FMT_MPEG) || (defined(HAVE_DECL_V4L2_PIX_FMT_MPEG) && HAVE_DECL_V4L2_PIX_FMT_MPEG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_MPEG) == (v4l2_fourcc('M', 'P', 'E', 'G')), "V4L2_PIX_FMT_MPEG != v4l2_fourcc('M', 'P', 'E', 'G')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_MPEG v4l2_fourcc('M', 'P', 'E', 'G') #endif #if defined(V4L2_PIX_FMT_MJPEG) || (defined(HAVE_DECL_V4L2_PIX_FMT_MJPEG) && HAVE_DECL_V4L2_PIX_FMT_MJPEG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_MJPEG) == (v4l2_fourcc('M', 'J', 'P', 'G')), "V4L2_PIX_FMT_MJPEG != v4l2_fourcc('M', 'J', 'P', 'G')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_MJPEG v4l2_fourcc('M', 'J', 'P', 'G') #endif #if defined(V4L2_PIX_FMT_PJPG) || (defined(HAVE_DECL_V4L2_PIX_FMT_PJPG) && HAVE_DECL_V4L2_PIX_FMT_PJPG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_PJPG) == (v4l2_fourcc('P', 'J', 'P', 'G')), "V4L2_PIX_FMT_PJPG != v4l2_fourcc('P', 'J', 'P', 'G')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_PJPG v4l2_fourcc('P', 'J', 'P', 'G') #endif #if defined(V4L2_PIX_FMT_SGBRG8) || (defined(HAVE_DECL_V4L2_PIX_FMT_SGBRG8) && HAVE_DECL_V4L2_PIX_FMT_SGBRG8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SGBRG8) == (v4l2_fourcc('G', 'B', 'R', 'G')), "V4L2_PIX_FMT_SGBRG8 != v4l2_fourcc('G', 'B', 'R', 'G')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SGBRG8 v4l2_fourcc('G', 'B', 'R', 'G') #endif #if defined(V4L2_PIX_FMT_BGR666) || (defined(HAVE_DECL_V4L2_PIX_FMT_BGR666) && HAVE_DECL_V4L2_PIX_FMT_BGR666) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_BGR666) == (v4l2_fourcc('B', 'G', 'R', 'H')), "V4L2_PIX_FMT_BGR666 != v4l2_fourcc('B', 'G', 'R', 'H')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_BGR666 v4l2_fourcc('B', 'G', 'R', 'H') #endif #if defined(V4L2_PIX_FMT_Y12I) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y12I) && HAVE_DECL_V4L2_PIX_FMT_Y12I) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_Y12I) == (v4l2_fourcc('Y', '1', '2', 'I')), "V4L2_PIX_FMT_Y12I != v4l2_fourcc('Y', '1', '2', 'I')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_Y12I v4l2_fourcc('Y', '1', '2', 'I') #endif #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) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 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')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_S5C_UYVY_JPG v4l2_fourcc('S', '5', 'C', 'I') #endif #if defined(V4L2_PIX_FMT_KONICA420) || (defined(HAVE_DECL_V4L2_PIX_FMT_KONICA420) && HAVE_DECL_V4L2_PIX_FMT_KONICA420) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_KONICA420) == (v4l2_fourcc('K', 'O', 'N', 'I')), "V4L2_PIX_FMT_KONICA420 != v4l2_fourcc('K', 'O', 'N', 'I')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_KONICA420 v4l2_fourcc('K', 'O', 'N', 'I') #endif #if defined(V4L2_PIX_FMT_INZI) || (defined(HAVE_DECL_V4L2_PIX_FMT_INZI) && HAVE_DECL_V4L2_PIX_FMT_INZI) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_INZI) == (v4l2_fourcc('I', 'N', 'Z', 'I')), "V4L2_PIX_FMT_INZI != v4l2_fourcc('I', 'N', 'Z', 'I')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_INZI v4l2_fourcc('I', 'N', 'Z', 'I') #endif #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) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 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')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_VC1_ANNEX_L v4l2_fourcc('V', 'C', '1', 'L') #endif #if defined(V4L2_PIX_FMT_JPGL) || (defined(HAVE_DECL_V4L2_PIX_FMT_JPGL) && HAVE_DECL_V4L2_PIX_FMT_JPGL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_JPGL) == (v4l2_fourcc('J', 'P', 'G', 'L')), "V4L2_PIX_FMT_JPGL != v4l2_fourcc('J', 'P', 'G', 'L')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_JPGL v4l2_fourcc('J', 'P', 'G', 'L') #endif #if defined(V4L2_PIX_FMT_RGB555) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB555) && HAVE_DECL_V4L2_PIX_FMT_RGB555) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_RGB555) == (v4l2_fourcc('R', 'G', 'B', 'O')), "V4L2_PIX_FMT_RGB555 != v4l2_fourcc('R', 'G', 'B', 'O')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_RGB555 v4l2_fourcc('R', 'G', 'B', 'O') #endif #if defined(V4L2_PIX_FMT_YUV555) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV555) && HAVE_DECL_V4L2_PIX_FMT_YUV555) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YUV555) == (v4l2_fourcc('Y', 'U', 'V', 'O')), "V4L2_PIX_FMT_YUV555 != v4l2_fourcc('Y', 'U', 'V', 'O')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YUV555 v4l2_fourcc('Y', 'U', 'V', 'O') #endif #if defined(V4L2_PIX_FMT_YUV411P) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV411P) && HAVE_DECL_V4L2_PIX_FMT_YUV411P) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YUV411P) == (v4l2_fourcc('4', '1', '1', 'P')), "V4L2_PIX_FMT_YUV411P != v4l2_fourcc('4', '1', '1', 'P')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YUV411P v4l2_fourcc('4', '1', '1', 'P') #endif #if defined(V4L2_PIX_FMT_Y41P) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y41P) && HAVE_DECL_V4L2_PIX_FMT_Y41P) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_Y41P) == (v4l2_fourcc('Y', '4', '1', 'P')), "V4L2_PIX_FMT_Y41P != v4l2_fourcc('Y', '4', '1', 'P')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_Y41P v4l2_fourcc('Y', '4', '1', 'P') #endif #if defined(V4L2_PIX_FMT_YUV422P) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV422P) && HAVE_DECL_V4L2_PIX_FMT_YUV422P) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YUV422P) == (v4l2_fourcc('4', '2', '2', 'P')), "V4L2_PIX_FMT_YUV422P != v4l2_fourcc('4', '2', '2', 'P')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YUV422P v4l2_fourcc('4', '2', '2', 'P') #endif #if defined(V4L2_PIX_FMT_RGB565) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB565) && HAVE_DECL_V4L2_PIX_FMT_RGB565) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_RGB565) == (v4l2_fourcc('R', 'G', 'B', 'P')), "V4L2_PIX_FMT_RGB565 != v4l2_fourcc('R', 'G', 'B', 'P')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_RGB565 v4l2_fourcc('R', 'G', 'B', 'P') #endif #if defined(V4L2_PIX_FMT_YUV565) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUV565) && HAVE_DECL_V4L2_PIX_FMT_YUV565) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YUV565) == (v4l2_fourcc('Y', 'U', 'V', 'P')), "V4L2_PIX_FMT_YUV565 != v4l2_fourcc('Y', 'U', 'V', 'P')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YUV565 v4l2_fourcc('Y', 'U', 'V', 'P') #endif #if defined(V4L2_PIX_FMT_RGB555X) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB555X) && HAVE_DECL_V4L2_PIX_FMT_RGB555X) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_RGB555X) == (v4l2_fourcc('R', 'G', 'B', 'Q')), "V4L2_PIX_FMT_RGB555X != v4l2_fourcc('R', 'G', 'B', 'Q')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_RGB555X v4l2_fourcc('R', 'G', 'B', 'Q') #endif #if defined(V4L2_PIX_FMT_RGB565X) || (defined(HAVE_DECL_V4L2_PIX_FMT_RGB565X) && HAVE_DECL_V4L2_PIX_FMT_RGB565X) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_RGB565X) == (v4l2_fourcc('R', 'G', 'B', 'R')), "V4L2_PIX_FMT_RGB565X != v4l2_fourcc('R', 'G', 'B', 'R')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_RGB565X v4l2_fourcc('R', 'G', 'B', 'R') #endif #if defined(V4L2_PIX_FMT_YVYU) || (defined(HAVE_DECL_V4L2_PIX_FMT_YVYU) && HAVE_DECL_V4L2_PIX_FMT_YVYU) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YVYU) == (v4l2_fourcc('Y', 'V', 'Y', 'U')), "V4L2_PIX_FMT_YVYU != v4l2_fourcc('Y', 'V', 'Y', 'U')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YVYU v4l2_fourcc('Y', 'V', 'Y', 'U') #endif #if defined(V4L2_PIX_FMT_CIT_YYVYUY) || (defined(HAVE_DECL_V4L2_PIX_FMT_CIT_YYVYUY) && HAVE_DECL_V4L2_PIX_FMT_CIT_YYVYUY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_CIT_YYVYUY) == (v4l2_fourcc('C', 'I', 'T', 'V')), "V4L2_PIX_FMT_CIT_YYVYUY != v4l2_fourcc('C', 'I', 'T', 'V')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_CIT_YYVYUY v4l2_fourcc('C', 'I', 'T', 'V') #endif #if defined(V4L2_PIX_FMT_YYUV) || (defined(HAVE_DECL_V4L2_PIX_FMT_YYUV) && HAVE_DECL_V4L2_PIX_FMT_YYUV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YYUV) == (v4l2_fourcc('Y', 'Y', 'U', 'V')), "V4L2_PIX_FMT_YYUV != v4l2_fourcc('Y', 'Y', 'U', 'V')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YYUV v4l2_fourcc('Y', 'Y', 'U', 'V') #endif #if defined(V4L2_PIX_FMT_YUYV) || (defined(HAVE_DECL_V4L2_PIX_FMT_YUYV) && HAVE_DECL_V4L2_PIX_FMT_YUYV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_YUYV) == (v4l2_fourcc('Y', 'U', 'Y', 'V')), "V4L2_PIX_FMT_YUYV != v4l2_fourcc('Y', 'U', 'Y', 'V')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_YUYV v4l2_fourcc('Y', 'U', 'Y', 'V') #endif #if defined(V4L2_PIX_FMT_SN9C2028) || (defined(HAVE_DECL_V4L2_PIX_FMT_SN9C2028) && HAVE_DECL_V4L2_PIX_FMT_SN9C2028) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_SN9C2028) == (v4l2_fourcc('S', 'O', 'N', 'X')), "V4L2_PIX_FMT_SN9C2028 != v4l2_fourcc('S', 'O', 'N', 'X')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_SN9C2028 v4l2_fourcc('S', 'O', 'N', 'X') #endif #if defined(V4L2_PIX_FMT_GREY) || (defined(HAVE_DECL_V4L2_PIX_FMT_GREY) && HAVE_DECL_V4L2_PIX_FMT_GREY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_GREY) == (v4l2_fourcc('G', 'R', 'E', 'Y')), "V4L2_PIX_FMT_GREY != v4l2_fourcc('G', 'R', 'E', 'Y')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_GREY v4l2_fourcc('G', 'R', 'E', 'Y') #endif #if defined(V4L2_PIX_FMT_VYUY) || (defined(HAVE_DECL_V4L2_PIX_FMT_VYUY) && HAVE_DECL_V4L2_PIX_FMT_VYUY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_VYUY) == (v4l2_fourcc('V', 'Y', 'U', 'Y')), "V4L2_PIX_FMT_VYUY != v4l2_fourcc('V', 'Y', 'U', 'Y')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_VYUY v4l2_fourcc('V', 'Y', 'U', 'Y') #endif #if defined(V4L2_PIX_FMT_UYVY) || (defined(HAVE_DECL_V4L2_PIX_FMT_UYVY) && HAVE_DECL_V4L2_PIX_FMT_UYVY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_UYVY) == (v4l2_fourcc('U', 'Y', 'V', 'Y')), "V4L2_PIX_FMT_UYVY != v4l2_fourcc('U', 'Y', 'V', 'Y')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_UYVY v4l2_fourcc('U', 'Y', 'V', 'Y') #endif #if defined(V4L2_PIX_FMT_IPU3_SBGGR10) || (defined(HAVE_DECL_V4L2_PIX_FMT_IPU3_SBGGR10) && HAVE_DECL_V4L2_PIX_FMT_IPU3_SBGGR10) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_IPU3_SBGGR10) == (v4l2_fourcc('i', 'p', '3', 'b')), "V4L2_PIX_FMT_IPU3_SBGGR10 != v4l2_fourcc('i', 'p', '3', 'b')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_IPU3_SBGGR10 v4l2_fourcc('i', 'p', '3', 'b') #endif #if defined(V4L2_PIX_FMT_DV) || (defined(HAVE_DECL_V4L2_PIX_FMT_DV) && HAVE_DECL_V4L2_PIX_FMT_DV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_DV) == (v4l2_fourcc('d', 'v', 's', 'd')), "V4L2_PIX_FMT_DV != v4l2_fourcc('d', 'v', 's', 'd')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_DV v4l2_fourcc('d', 'v', 's', 'd') #endif #if defined(V4L2_PIX_FMT_IPU3_SGBRG10) || (defined(HAVE_DECL_V4L2_PIX_FMT_IPU3_SGBRG10) && HAVE_DECL_V4L2_PIX_FMT_IPU3_SGBRG10) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_IPU3_SGBRG10) == (v4l2_fourcc('i', 'p', '3', 'g')), "V4L2_PIX_FMT_IPU3_SGBRG10 != v4l2_fourcc('i', 'p', '3', 'g')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_IPU3_SGBRG10 v4l2_fourcc('i', 'p', '3', 'g') #endif #if defined(V4L2_PIX_FMT_IPU3_SRGGB10) || (defined(HAVE_DECL_V4L2_PIX_FMT_IPU3_SRGGB10) && HAVE_DECL_V4L2_PIX_FMT_IPU3_SRGGB10) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_IPU3_SRGGB10) == (v4l2_fourcc('i', 'p', '3', 'r')), "V4L2_PIX_FMT_IPU3_SRGGB10 != v4l2_fourcc('i', 'p', '3', 'r')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_IPU3_SRGGB10 v4l2_fourcc('i', 'p', '3', 'r') #endif #if defined(V4L2_PIX_FMT_Y16_BE) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y16_BE) && HAVE_DECL_V4L2_PIX_FMT_Y16_BE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_Y16_BE) == (v4l2_fourcc_be('Y', '1', '6', ' ')), "V4L2_PIX_FMT_Y16_BE != v4l2_fourcc_be('Y', '1', '6', ' ')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_Y16_BE v4l2_fourcc_be('Y', '1', '6', ' ') #endif #if defined(V4L2_PIX_FMT_ARGB555X) || (defined(HAVE_DECL_V4L2_PIX_FMT_ARGB555X) && HAVE_DECL_V4L2_PIX_FMT_ARGB555X) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_ARGB555X) == (v4l2_fourcc_be('A', 'R', '1', '5')), "V4L2_PIX_FMT_ARGB555X != v4l2_fourcc_be('A', 'R', '1', '5')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_ARGB555X v4l2_fourcc_be('A', 'R', '1', '5') #endif #if defined(V4L2_PIX_FMT_XRGB555X) || (defined(HAVE_DECL_V4L2_PIX_FMT_XRGB555X) && HAVE_DECL_V4L2_PIX_FMT_XRGB555X) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V4L2_PIX_FMT_XRGB555X) == (v4l2_fourcc_be('X', 'R', '1', '5')), "V4L2_PIX_FMT_XRGB555X != v4l2_fourcc_be('X', 'R', '1', '5')"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else # define V4L2_PIX_FMT_XRGB555X v4l2_fourcc_be('X', 'R', '1', '5') #endif #ifndef XLAT_MACROS_ONLY # ifdef IN_MPERS extern const struct xlat v4l2_pix_fmts[]; # else # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) static # endif const struct xlat v4l2_pix_fmts[] = { XLAT(V4L2_PIX_FMT_Y10), XLAT(V4L2_PIX_FMT_Y12), XLAT(V4L2_PIX_FMT_Y4), XLAT(V4L2_PIX_FMT_Y6), XLAT(V4L2_PIX_FMT_Y16), XLAT(V4L2_PIX_FMT_Z16), XLAT(V4L2_PIX_FMT_UV8), XLAT(V4L2_PIX_FMT_Y8I), XLAT(V4L2_PIX_FMT_MR97310A), XLAT(V4L2_PIX_FMT_SN9C10X), XLAT(V4L2_PIX_FMT_SGRBG10), XLAT(V4L2_PIX_FMT_SGBRG10), XLAT(V4L2_PIX_FMT_SGRBG10DPCM8), XLAT(V4L2_PIX_FMT_SBGGR10), XLAT(V4L2_PIX_FMT_SRGGB10), XLAT(V4L2_PIX_FMT_M420), XLAT(V4L2_PIX_FMT_SN9C20X_I420), XLAT(V4L2_PIX_FMT_JL2005BCD), XLAT(V4L2_PIX_FMT_TM6000), XLAT(V4L2_PIX_FMT_STV0680), XLAT(V4L2_PIX_FMT_VP8), XLAT(V4L2_PIX_FMT_VP9), XLAT(V4L2_PIX_FMT_SE401), XLAT(V4L2_PIX_FMT_SPCA501), XLAT(V4L2_PIX_FMT_OV511), XLAT(V4L2_PIX_FMT_NV21M), XLAT(V4L2_PIX_FMT_YVU420M), XLAT(V4L2_PIX_FMT_MT21C), XLAT(V4L2_PIX_FMT_NV21), XLAT(V4L2_PIX_FMT_SPCA561), XLAT(V4L2_PIX_FMT_NV61M), XLAT(V4L2_PIX_FMT_YVU422M), XLAT(V4L2_PIX_FMT_NV61), XLAT(V4L2_PIX_FMT_SBGGR8), XLAT(V4L2_PIX_FMT_RGB332), XLAT(V4L2_PIX_FMT_H264_NO_SC), XLAT(V4L2_PIX_FMT_PWC1), XLAT(V4L2_PIX_FMT_MPEG1), XLAT(V4L2_PIX_FMT_SGRBG12), XLAT(V4L2_PIX_FMT_SGBRG12), XLAT(V4L2_PIX_FMT_SBGGR12), XLAT(V4L2_PIX_FMT_SRGGB12), XLAT(V4L2_PIX_FMT_HM12), XLAT(V4L2_PIX_FMT_NV12M), XLAT(V4L2_PIX_FMT_NV12MT), XLAT(V4L2_PIX_FMT_NV12MT_16X16), XLAT(V4L2_PIX_FMT_YUV420M), XLAT(V4L2_PIX_FMT_ARGB444), XLAT(V4L2_PIX_FMT_XRGB444), XLAT(V4L2_PIX_FMT_YUV420), XLAT(V4L2_PIX_FMT_NV12), XLAT(V4L2_PIX_FMT_YVU420), XLAT(V4L2_PIX_FMT_YVU444M), XLAT(V4L2_PIX_FMT_NV42), XLAT(V4L2_PIX_FMT_PWC2), XLAT(V4L2_PIX_FMT_MPEG2), XLAT(V4L2_PIX_FMT_SBGGR16), XLAT(V4L2_PIX_FMT_H263), XLAT(V4L2_PIX_FMT_RGB24), XLAT(V4L2_PIX_FMT_BGR24), XLAT(V4L2_PIX_FMT_HSV24), XLAT(V4L2_PIX_FMT_ARGB32), XLAT(V4L2_PIX_FMT_HI240), XLAT(V4L2_PIX_FMT_YUV444M), XLAT(V4L2_PIX_FMT_ABGR32), XLAT(V4L2_PIX_FMT_XBGR32), XLAT(V4L2_PIX_FMT_NV24), XLAT(V4L2_PIX_FMT_XRGB32), XLAT(V4L2_PIX_FMT_RGB444), XLAT(V4L2_PIX_FMT_YUV444), XLAT(V4L2_PIX_FMT_H264), XLAT(V4L2_PIX_FMT_H264_MVC), XLAT(V4L2_PIX_FMT_RGB32), XLAT(V4L2_PIX_FMT_MPEG4), XLAT(V4L2_PIX_FMT_BGR32), XLAT(V4L2_PIX_FMT_HSV32), XLAT(V4L2_PIX_FMT_YUV32), XLAT(V4L2_PIX_FMT_SPCA505), XLAT(V4L2_PIX_FMT_ARGB555), XLAT(V4L2_PIX_FMT_XRGB555), XLAT(V4L2_PIX_FMT_ET61X251), XLAT(V4L2_PIX_FMT_SGBRG16), XLAT(V4L2_PIX_FMT_SRGGB16), XLAT(V4L2_PIX_FMT_NV16M), XLAT(V4L2_PIX_FMT_YUV422M), XLAT(V4L2_PIX_FMT_SGRBG16), XLAT(V4L2_PIX_FMT_NV16), XLAT(V4L2_PIX_FMT_PAC207), XLAT(V4L2_PIX_FMT_SPCA508), XLAT(V4L2_PIX_FMT_OV518), XLAT(V4L2_PIX_FMT_SBGGR10ALAW8), XLAT(V4L2_PIX_FMT_SBGGR10DPCM8), XLAT(V4L2_PIX_FMT_SGBRG10ALAW8), XLAT(V4L2_PIX_FMT_SGBRG10DPCM8), XLAT(V4L2_PIX_FMT_SRGGB10ALAW8), XLAT(V4L2_PIX_FMT_SRGGB10DPCM8), XLAT(V4L2_PIX_FMT_SGRBG10ALAW8), XLAT(V4L2_PIX_FMT_PAL8), XLAT(V4L2_PIX_FMT_YVU410), XLAT(V4L2_PIX_FMT_YUV410), XLAT(V4L2_PIX_FMT_SBGGR10P), XLAT(V4L2_PIX_FMT_SGBRG10P), XLAT(V4L2_PIX_FMT_SRGGB10P), XLAT(V4L2_PIX_FMT_SGRBG10P), XLAT(V4L2_PIX_FMT_CPIA1), XLAT(V4L2_PIX_FMT_WNVA), XLAT(V4L2_PIX_FMT_Y10BPACK), XLAT(V4L2_PIX_FMT_SRGGB8), XLAT(V4L2_PIX_FMT_SQ905C), XLAT(V4L2_PIX_FMT_SBGGR12P), XLAT(V4L2_PIX_FMT_SGBRG12P), XLAT(V4L2_PIX_FMT_SRGGB12P), XLAT(V4L2_PIX_FMT_SGRBG12P), XLAT(V4L2_PIX_FMT_HEVC), XLAT(V4L2_PIX_FMT_XVID), XLAT(V4L2_PIX_FMT_VC1_ANNEX_G), XLAT(V4L2_PIX_FMT_IPU3_SGRBG10), XLAT(V4L2_PIX_FMT_SGRBG8), XLAT(V4L2_PIX_FMT_JPEG), XLAT(V4L2_PIX_FMT_MPEG), XLAT(V4L2_PIX_FMT_MJPEG), XLAT(V4L2_PIX_FMT_PJPG), XLAT(V4L2_PIX_FMT_SGBRG8), XLAT(V4L2_PIX_FMT_BGR666), XLAT(V4L2_PIX_FMT_Y12I), XLAT(V4L2_PIX_FMT_S5C_UYVY_JPG), XLAT(V4L2_PIX_FMT_KONICA420), XLAT(V4L2_PIX_FMT_INZI), XLAT(V4L2_PIX_FMT_VC1_ANNEX_L), XLAT(V4L2_PIX_FMT_JPGL), XLAT(V4L2_PIX_FMT_RGB555), XLAT(V4L2_PIX_FMT_YUV555), XLAT(V4L2_PIX_FMT_YUV411P), XLAT(V4L2_PIX_FMT_Y41P), XLAT(V4L2_PIX_FMT_YUV422P), XLAT(V4L2_PIX_FMT_RGB565), XLAT(V4L2_PIX_FMT_YUV565), XLAT(V4L2_PIX_FMT_RGB555X), XLAT(V4L2_PIX_FMT_RGB565X), XLAT(V4L2_PIX_FMT_YVYU), XLAT(V4L2_PIX_FMT_CIT_YYVYUY), XLAT(V4L2_PIX_FMT_YYUV), XLAT(V4L2_PIX_FMT_YUYV), XLAT(V4L2_PIX_FMT_SN9C2028), XLAT(V4L2_PIX_FMT_GREY), XLAT(V4L2_PIX_FMT_VYUY), XLAT(V4L2_PIX_FMT_UYVY), XLAT(V4L2_PIX_FMT_IPU3_SBGGR10), XLAT(V4L2_PIX_FMT_DV), XLAT(V4L2_PIX_FMT_IPU3_SGBRG10), XLAT(V4L2_PIX_FMT_IPU3_SRGGB10), XLAT(V4L2_PIX_FMT_Y16_BE), XLAT(V4L2_PIX_FMT_ARGB555X), XLAT(V4L2_PIX_FMT_XRGB555X), XLAT_END }; # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */