libcamera: v4l2_controls: Remove V4L2ControlInfo::size()
We don't support V4L2 compound controls, the size field is thus unused. Remove it to ease merging of the libcamera and V4L2 control info classes. Support for array controls can then be added later on top, and would be useful for libcamera controls too. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
@@ -31,14 +31,10 @@ public:
|
||||
V4L2ControlInfo(const struct v4l2_query_ext_ctrl &ctrl);
|
||||
|
||||
const ControlId &id() const { return id_; }
|
||||
size_t size() const { return size_; }
|
||||
|
||||
const ControlRange &range() const { return range_; }
|
||||
|
||||
private:
|
||||
V4L2ControlId id_;
|
||||
size_t size_;
|
||||
|
||||
ControlRange range_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user