v4l2_controls.h
Go to the documentation of this file.
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2019, Google Inc.
*
* v4l2_controls.h - V4L2 Controls Support
*/
#ifndef __LIBCAMERA_INTERNAL_V4L2_CONTROLS_H__
#define __LIBCAMERA_INTERNAL_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_INTERNAL_V4L2_CONTROLS_H__ */
libcamera::ControlId
Control static metadata.
Definition: controls.h:209
libcamera::ControlInfo
Describe the limits of valid values for a Control.
Definition: controls.h:266
libcamera::V4L2ControlId
V4L2 control static metadata.
Definition: v4l2_controls.h:18
libcamera::V4L2ControlId::V4L2ControlId
V4L2ControlId(const struct v4l2_query_ext_ctrl &ctrl)
Construct a V4L2ControlId from a struct v4l2_query_ext_ctrl.
Definition: v4l2_controls.cpp:104
libcamera::V4L2ControlInfo
Convenience specialisation of ControlInfo for V4L2 controls.
Definition: v4l2_controls.h:24
libcamera::V4L2ControlInfo::V4L2ControlInfo
V4L2ControlInfo(const struct v4l2_query_ext_ctrl &ctrl)
Construct a V4L2ControlInfo from a struct v4l2_query_ext_ctrl.
Definition: v4l2_controls.cpp:122
controls.h
Framework to manage controls related to an object.