/* Generated by ./types/gen.sh from ./types/v4l2.h; do not edit. */
#include "defs.h"
#include "static_assert.h"
#include "types/v4l2.h"

#ifdef HAVE_STRUCT_V4L2_CAPABILITY
# ifdef HAVE_STRUCT_V4L2_CAPABILITY_RESERVED
static_assert(sizeof(struct v4l2_capability) == sizeof(struct_v4l2_capability),
      "struct v4l2_capability size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_capability) <= offsetof(struct_v4l2_capability, reserved),
"struct v4l2_capability size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_CAPABILITY_RESERVED */
#endif /* HAVE_STRUCT_V4L2_CAPABILITY */

#ifdef HAVE_STRUCT_V4L2_PIX_FORMAT
# ifdef HAVE_STRUCT_V4L2_PIX_FORMAT_XFER_FUNC
static_assert(sizeof(struct v4l2_pix_format) == sizeof(struct_v4l2_pix_format),
      "struct v4l2_pix_format size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_pix_format) <= offsetof(struct_v4l2_pix_format, xfer_func),
"struct v4l2_pix_format size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_PIX_FORMAT_XFER_FUNC */
#endif /* HAVE_STRUCT_V4L2_PIX_FORMAT */

#ifdef HAVE_STRUCT_V4L2_PLANE_PIX_FORMAT
# ifdef HAVE_STRUCT_V4L2_PLANE_PIX_FORMAT_RESERVED
static_assert(sizeof(struct v4l2_plane_pix_format) == sizeof(struct_v4l2_plane_pix_format),
      "struct v4l2_plane_pix_format size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_plane_pix_format) <= offsetof(struct_v4l2_plane_pix_format, reserved),
"struct v4l2_plane_pix_format size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_PLANE_PIX_FORMAT_RESERVED */
#endif /* HAVE_STRUCT_V4L2_PLANE_PIX_FORMAT */

#ifdef HAVE_STRUCT_V4L2_CLIP
# ifdef HAVE_STRUCT_V4L2_CLIP_NEXT
static_assert(sizeof(struct v4l2_clip) == sizeof(struct_v4l2_clip),
      "struct v4l2_clip size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_clip) <= offsetof(struct_v4l2_clip, next),
"struct v4l2_clip size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_CLIP_NEXT */
#endif /* HAVE_STRUCT_V4L2_CLIP */

#ifdef HAVE_STRUCT_V4L2_WINDOW
# ifdef HAVE_STRUCT_V4L2_WINDOW_GLOBAL_ALPHA
static_assert(sizeof(struct v4l2_window) == sizeof(struct_v4l2_window),
      "struct v4l2_window size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_window) <= offsetof(struct_v4l2_window, global_alpha),
"struct v4l2_window size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_WINDOW_GLOBAL_ALPHA */
#endif /* HAVE_STRUCT_V4L2_WINDOW */

#ifdef HAVE_STRUCT_V4L2_VBI_FORMAT
# ifdef HAVE_STRUCT_V4L2_VBI_FORMAT_RESERVED
static_assert(sizeof(struct v4l2_vbi_format) == sizeof(struct_v4l2_vbi_format),
      "struct v4l2_vbi_format size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_vbi_format) <= offsetof(struct_v4l2_vbi_format, reserved),
"struct v4l2_vbi_format size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_VBI_FORMAT_RESERVED */
#endif /* HAVE_STRUCT_V4L2_VBI_FORMAT */

#ifdef HAVE_STRUCT_V4L2_SLICED_VBI_FORMAT
# ifdef HAVE_STRUCT_V4L2_SLICED_VBI_FORMAT_RESERVED
static_assert(sizeof(struct v4l2_sliced_vbi_format) == sizeof(struct_v4l2_sliced_vbi_format),
      "struct v4l2_sliced_vbi_format size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_sliced_vbi_format) <= offsetof(struct_v4l2_sliced_vbi_format, reserved),
"struct v4l2_sliced_vbi_format size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_SLICED_VBI_FORMAT_RESERVED */
#endif /* HAVE_STRUCT_V4L2_SLICED_VBI_FORMAT */

#ifdef HAVE_STRUCT_V4L2_SLICED_VBI_CAP
# ifdef HAVE_STRUCT_V4L2_SLICED_VBI_CAP_RESERVED
static_assert(sizeof(struct v4l2_sliced_vbi_cap) == sizeof(struct_v4l2_sliced_vbi_cap),
      "struct v4l2_sliced_vbi_cap size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_sliced_vbi_cap) <= offsetof(struct_v4l2_sliced_vbi_cap, reserved),
"struct v4l2_sliced_vbi_cap size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_SLICED_VBI_CAP_RESERVED */
#endif /* HAVE_STRUCT_V4L2_SLICED_VBI_CAP */

#ifdef HAVE_STRUCT_V4L2_FORMAT
# ifdef HAVE_STRUCT_V4L2_FORMAT_FMT
static_assert(sizeof(struct v4l2_format) == sizeof(struct_v4l2_format),
      "struct v4l2_format size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_format) <= offsetof(struct_v4l2_format, fmt),
"struct v4l2_format size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_FORMAT_FMT */
#endif /* HAVE_STRUCT_V4L2_FORMAT */

#ifdef HAVE_STRUCT_V4L2_AREA
# ifdef HAVE_STRUCT_V4L2_AREA_HEIGHT
static_assert(sizeof(struct v4l2_area) == sizeof(struct_v4l2_area),
      "struct v4l2_area size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_area) <= offsetof(struct_v4l2_area, height),
"struct v4l2_area size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_AREA_HEIGHT */
#endif /* HAVE_STRUCT_V4L2_AREA */

#ifdef HAVE_STRUCT_V4L2_EXT_CONTROLS
# ifdef HAVE_STRUCT_V4L2_EXT_CONTROLS_CONTROLS
static_assert(sizeof(struct v4l2_ext_controls) == sizeof(struct_v4l2_ext_controls),
      "struct v4l2_ext_controls size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_ext_controls) <= offsetof(struct_v4l2_ext_controls, controls),
"struct v4l2_ext_controls size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_EXT_CONTROLS_CONTROLS */
#endif /* HAVE_STRUCT_V4L2_EXT_CONTROLS */

#ifdef HAVE_STRUCT_V4L2_FRMSIZE_DISCRETE
# ifdef HAVE_STRUCT_V4L2_FRMSIZE_DISCRETE_HEIGHT
static_assert(sizeof(struct v4l2_frmsize_discrete) == sizeof(struct_v4l2_frmsize_discrete),
      "struct v4l2_frmsize_discrete size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_frmsize_discrete) <= offsetof(struct_v4l2_frmsize_discrete, height),
"struct v4l2_frmsize_discrete size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_FRMSIZE_DISCRETE_HEIGHT */
#endif /* HAVE_STRUCT_V4L2_FRMSIZE_DISCRETE */

#ifdef HAVE_STRUCT_V4L2_FRMSIZE_STEPWISE
# ifdef HAVE_STRUCT_V4L2_FRMSIZE_STEPWISE_STEP_HEIGHT
static_assert(sizeof(struct v4l2_frmsize_stepwise) == sizeof(struct_v4l2_frmsize_stepwise),
      "struct v4l2_frmsize_stepwise size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_frmsize_stepwise) <= offsetof(struct_v4l2_frmsize_stepwise, step_height),
"struct v4l2_frmsize_stepwise size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_FRMSIZE_STEPWISE_STEP_HEIGHT */
#endif /* HAVE_STRUCT_V4L2_FRMSIZE_STEPWISE */

#ifdef HAVE_STRUCT_V4L2_FRMSIZEENUM
# ifdef HAVE_STRUCT_V4L2_FRMSIZEENUM_RESERVED
static_assert(sizeof(struct v4l2_frmsizeenum) == sizeof(struct_v4l2_frmsizeenum),
      "struct v4l2_frmsizeenum size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_frmsizeenum) <= offsetof(struct_v4l2_frmsizeenum, reserved),
"struct v4l2_frmsizeenum size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_FRMSIZEENUM_RESERVED */
#endif /* HAVE_STRUCT_V4L2_FRMSIZEENUM */

#ifdef HAVE_STRUCT_V4L2_FRMIVAL_STEPWISE
# ifdef HAVE_STRUCT_V4L2_FRMIVAL_STEPWISE_STEP
static_assert(sizeof(struct v4l2_frmival_stepwise) == sizeof(struct_v4l2_frmival_stepwise),
      "struct v4l2_frmival_stepwise size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_frmival_stepwise) <= offsetof(struct_v4l2_frmival_stepwise, step),
"struct v4l2_frmival_stepwise size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_FRMIVAL_STEPWISE_STEP */
#endif /* HAVE_STRUCT_V4L2_FRMIVAL_STEPWISE */

#ifdef HAVE_STRUCT_V4L2_FRMIVALENUM
# ifdef HAVE_STRUCT_V4L2_FRMIVALENUM_RESERVED
static_assert(sizeof(struct v4l2_frmivalenum) == sizeof(struct_v4l2_frmivalenum),
      "struct v4l2_frmivalenum size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_frmivalenum) <= offsetof(struct_v4l2_frmivalenum, reserved),
"struct v4l2_frmivalenum size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_FRMIVALENUM_RESERVED */
#endif /* HAVE_STRUCT_V4L2_FRMIVALENUM */

#ifdef HAVE_STRUCT_V4L2_CREATE_BUFFERS
# ifdef HAVE_STRUCT_V4L2_CREATE_BUFFERS_RESERVED
static_assert(sizeof(struct v4l2_create_buffers) == sizeof(struct_v4l2_create_buffers),
      "struct v4l2_create_buffers size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct v4l2_create_buffers) <= offsetof(struct_v4l2_create_buffers, reserved),
"struct v4l2_create_buffers size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_V4L2_CREATE_BUFFERS_RESERVED */
#endif /* HAVE_STRUCT_V4L2_CREATE_BUFFERS */
