Files
external_libcamera/src/libcamera/control_ids.cpp.in
Naushir Patuck 47d09a13b3 libcamera: control_ids: Add comment to specify control direction
Document that controls are bi-directional by default. If a control
is only returned in metadata, this must be specified in the control's
description.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
2020-04-27 20:18:06 +03:00

47 lines
883 B
C++

/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2019, Google Inc.
*
* control_ids.cpp : Control ID list
*
* This file is auto-generated. Do not edit.
*/
#include <libcamera/control_ids.h>
/**
* \file control_ids.h
* \brief Camera control identifiers
*/
namespace libcamera {
/**
* \brief Namespace for libcamera controls
*/
namespace controls {
${controls_doc}
#ifndef __DOXYGEN__
/*
* Keep the controls definitions hidden from doxygen as it incorrectly parses
* them as functions.
*/
${controls_def}
#endif
/**
* \brief List of all supported libcamera controls
*
* Unless otherwise stated, all controls are bi-directional, i.e. they can be
* set through Request::controls() and returned out through Request::metadata().
*/
extern const ControlIdMap controls {
${controls_map}
};
} /* namespace controls */
} /* namespace libcamera */