diff options
Diffstat (limited to 'include/libcamera/internal/v4l2_controls.h')
-rw-r--r-- | include/libcamera/internal/v4l2_controls.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/libcamera/internal/v4l2_controls.h b/include/libcamera/internal/v4l2_controls.h new file mode 100644 index 00000000..cffe9efd --- /dev/null +++ b/include/libcamera/internal/v4l2_controls.h @@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +/* + * Copyright (C) 2019, Google Inc. + * + * v4l2_controls.h - V4L2 Controls Support + */ + +#ifndef __LIBCAMERA_V4L2_CONTROLS_H__ +#define __LIBCAMERA_V4L2_CONTROLS_H__ + +#include <linux/videodev2.h> + +#include <libcamera/controls.h> + +namespace libcamera { + +class V4L2ControlId : public ControlId +{ +public: + V4L2ControlId(const struct v4l2_query_ext_ctrl &ctrl); +}; + +class V4L2ControlInfo : public ControlInfo +{ +public: + V4L2ControlInfo(const struct v4l2_query_ext_ctrl &ctrl); +}; + +} /* namespace libcamera */ + +#endif /* __LIBCAMERA_V4L2_CONTROLS_H__ */ |