summaryrefslogtreecommitdiff
path: root/src/libcamera/control_ids.cpp
blob: 3af23a458862ce0148b9ea6e65a1a2db754b56aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2019, Google Inc.
 *
 * control_ids.cpp : Control ID list
 */

#include <libcamera/control_ids.h>

/**
 * \file control_ids.h
 * \brief Camera control identifiers
 */

namespace libcamera {

namespace controls {

/**
 * \brief Enables or disables the AWB.
 * \sa ManualGain
 */
extern const Control<bool> AwbEnable(AWB_ENABLE, "AwbEnable");

/**
 * \brief Specify a fixed brightness parameter.
 */
extern const Control<int32_t> Brightness(BRIGHTNESS, "Brightness");

/**
 * \brief Specify a fixed contrast parameter.
 */
extern const Control<int32_t> Contrast(CONTRAST, "Contrast");

/**
 * \brief Specify a fixed saturation parameter.
 */
extern const Control<int32_t> Saturation(SATURATION, "Saturation");

/**
 * \brief Specify a fixed exposure time in milli-seconds
 */
extern const Control<int32_t> ManualExposure(MANUAL_EXPOSURE, "ManualExposure");

/**
 * \brief Specify a fixed gain parameter
 */
extern const Control<int32_t> ManualGain(MANUAL_GAIN, "ManualGain");

} /* namespace controls */

} /* namespace libcamera */