summaryrefslogtreecommitdiff
path: root/include/libcamera/control_ids.h
blob: 54235f1aea954a8a0fbdf71b04786e87c3572afb (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
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2019, Google Inc.
 *
 * control_ids.h : Control ID list
 */

#ifndef __LIBCAMERA_CONTROL_IDS_H__
#define __LIBCAMERA_CONTROL_IDS_H__

#include <stdint.h>

#include <libcamera/controls.h>

namespace libcamera {

namespace controls {

enum {
	AWB_ENABLE = 1,
	BRIGHTNESS = 2,
	CONTRAST = 3,
	SATURATION = 4,
	MANUAL_EXPOSURE = 5,
	MANUAL_GAIN = 6,
};

extern const Control<bool> AwbEnable;
extern const Control<int32_t> Brightness;
extern const Control<int32_t> Contrast;
extern const Control<int32_t> Saturation;
extern const Control<int32_t> ManualExposure;
extern const Control<int32_t> ManualGain;

} /* namespace controls */

} /* namespace libcamera */

#endif // __LIBCAMERA_CONTROL_IDS_H__