libcamera  v0.0.0
Supporting cameras in Linux since 2019
property_ids.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 /*
3  * Copyright (C) 2019, Google Inc.
4  *
5  * property_ids.h - Property ID list
6  *
7  * This file is auto-generated. Do not edit.
8  */
9 
10 #ifndef __LIBCAMERA_PROPERTY_IDS_H__
11 #define __LIBCAMERA_PROPERTY_IDS_H__
12 
13 #include <stdint.h>
14 
15 #include <libcamera/controls.h>
16 
17 namespace libcamera {
18 
19 namespace properties {
20 
21 enum {
22  LOCATION = 1,
23  ROTATION = 2,
24 };
25 
30 };
31 extern const Control<int32_t> Location;
32 extern const Control<int32_t> Rotation;
33 
34 extern const ControlIdMap properties;
35 
36 } /* namespace properties */
37 
38 } /* namespace libcamera */
39 
40 #endif /* __LIBCAMERA_PROPERTY_IDS_H__ */
Describe a control and its intrinsic properties.
Definition: controls.h:251
Framework to manage controls related to an object.
std::unordered_map< unsigned int, const ControlId * > ControlIdMap
A map of numerical control ID to ControlId.
Definition: controls.h:294
const ControlIdMap properties
List of all supported libcamera properties.
Definition: property_ids.cpp:419
LocationValues
Supported Location values.
Definition: property_ids.h:26
@ CameraLocationBack
The camera is mounted on the back side of the device, facing away from the user.
Definition: property_ids.h:28
@ CameraLocationFront
The camera is mounted on the front side of the device, facing the user.
Definition: property_ids.h:27
@ CameraLocationExternal
The camera is attached to the device in a way that allows it to be moved freely.
Definition: property_ids.h:29
const Control< int32_t > Rotation
The camera rotation is expressed as the angular difference in degrees between two reference systems,...
const Control< int32_t > Location
Camera mounting location.