| /* Generated by ./xlat/gen.sh from ./xlat/v4l2_pix_fmts.in; do not edit. */ |
| #if !(defined(V4L2_PIX_FMT_Y10) || (defined(HAVE_DECL_V4L2_PIX_FMT_Y10) && HAVE_DECL_V4L2_PIX_FMT_Y10)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # define V4L2_PIX_FMT_SGRBG12P v4l2_fourcc('p', 'g', 'C', 'C') |
| #endif |
| #if !(defined(V4L2_PIX_FMT_XVID) || (defined(HAVE_DECL_V4L2_PIX_FMT_XVID) && HAVE_DECL_V4L2_PIX_FMT_XVID)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # 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)) |
| # define V4L2_PIX_FMT_XRGB555X v4l2_fourcc_be('X', 'R', '1', '5') |
| #endif |
| |
| #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_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 */ |