libcamera  v0.0.0+100-debian/0_git20200629+e7aa92a-8-9-g77f5237c-dirty (2021-05-05T16:20:29+01:00)
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  MODEL = 3,
25  UNIT_CELL_SIZE = 4,
26  PIXEL_ARRAY_SIZE = 5,
27  PIXEL_ARRAY_OPTICAL_BLACK_RECTANGLES = 6,
28  PIXEL_ARRAY_ACTIVE_AREAS = 7,
29  SCALER_CROP_MAXIMUM = 8,
30  COLOR_FILTER_ARRANGEMENT = 9,
31 };
32 
37 };
38 extern const std::array<const ControlValue, 3> LocationValues;
39 extern const Control<int32_t> Location;
40 extern const Control<int32_t> Rotation;
41 extern const Control<std::string> Model;
42 extern const Control<Size> UnitCellSize;
43 extern const Control<Size> PixelArraySize;
47 
48 namespace draft {
49 
51  RGGB = 0,
52  GRBG = 1,
53  GBRG = 2,
54  BGGR = 3,
55  RGB = 4,
56 };
57 extern const std::array<const ControlValue, 5> ColorFilterArrangementValues;
59 
60 } /* namespace draft */
61 
62 extern const ControlIdMap properties;
63 
64 } /* namespace properties */
65 
66 } /* namespace libcamera */
67 
68 #endif /* __LIBCAMERA_PROPERTY_IDS_H__ */
The camera is mounted on the front side of the device, facing the user.
Definition: property_ids.h:34
const Control< int32_t > ColorFilterArrangement
The arrangement of color filters on sensor; represents the colors in the top-left 2x2 section of the ...
const Control< int32_t > Location
Camera mounting location.
LocationEnum
Supported Location values.
Definition: property_ids.h:33
const Control< Size > PixelArraySize
The camera sensor pixel array readable area vertical and horizontal sizes, in pixels.
The camera is mounted on the back side of the device, facing away from the user.
Definition: property_ids.h:35
Top-level libcamera namespace.
Definition: bound_method.h:15
const std::array< const ControlValue, 5 > ColorFilterArrangementValues
List of all ColorFilterArrangement supported values.
RGGB Bayer pattern.
Definition: property_ids.h:51
const Control< int32_t > Rotation
The camera rotation is expressed as the angular difference in degrees between two reference systems...
const Control< Size > UnitCellSize
The pixel unit cell physical size, in nanometers.
Describe a control and its intrinsic properties.
Definition: controls.h:252
GBRG Bayer pattern.
Definition: property_ids.h:53
Sensor is not Bayer; output has 3 16-bit values for each pixel, instead of just 1 16-bit value per pi...
Definition: property_ids.h:55
const ControlIdMap properties
List of all supported libcamera properties.
Definition: property_ids.cpp:784
BGGR Bayer pattern.
Definition: property_ids.h:54
The camera is attached to the device in a way that allows it to be moved freely.
Definition: property_ids.h:36
const std::array< const ControlValue, 3 > LocationValues
List of all Location supported values.
const Control< std::string > Model
The model name shall to the extent possible describe the sensor. For most devices this is the model n...
const Control< Rectangle > ScalerCropMaximum
The maximum valid rectangle for the controls::ScalerCrop control. This reflects the minimum mandatory...
Framework to manage controls related to an object.
ColorFilterArrangementEnum
Supported ColorFilterArrangement values.
Definition: property_ids.h:50
const Control< Span< const Rectangle > > PixelArrayOpticalBlackRectangles
The pixel array region(s) which contain optical black pixels considered valid for calibration purpose...
std::unordered_map< unsigned int, const ControlId * > ControlIdMap
A map of numerical control ID to ControlId.
Definition: controls.h:299
const Control< Span< const Rectangle > > PixelArrayActiveAreas
The PixelArrayActiveAreas property defines the (possibly multiple and overlapping) portions of the ca...
GRBG Bayer pattern.
Definition: property_ids.h:52