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#pragma once
11
12#include <stdint.h>
13
14#include <libcamera/controls.h>
15
16namespace libcamera {
17
18namespace properties {
19
20enum {
21 LOCATION = 1,
22 ROTATION = 2,
23 MODEL = 3,
24 UNIT_CELL_SIZE = 4,
25 PIXEL_ARRAY_SIZE = 5,
26 PIXEL_ARRAY_OPTICAL_BLACK_RECTANGLES = 6,
27 PIXEL_ARRAY_ACTIVE_AREAS = 7,
28 SCALER_CROP_MAXIMUM = 8,
29 COLOR_FILTER_ARRANGEMENT = 9,
30};
31
36};
37extern const std::array<const ControlValue, 3> LocationValues;
38extern const Control<int32_t> Location;
39extern const Control<int32_t> Rotation;
40extern const Control<std::string> Model;
41extern const Control<Size> UnitCellSize;
42extern const Control<Size> PixelArraySize;
46
47namespace draft {
48
50 RGGB = 0,
51 GRBG = 1,
52 GBRG = 2,
53 BGGR = 3,
54 RGB = 4,
55 MONO = 5,
56};
57extern const std::array<const ControlValue, 6> ColorFilterArrangementValues;
59
60} /* namespace draft */
61
62extern const ControlIdMap properties;
63
64} /* namespace properties */
65
66} /* namespace libcamera */
Describe a control and its intrinsic properties.
Definition: controls.h:254
Framework to manage controls related to an object.
const std::array< const ControlValue, 6 > ColorFilterArrangementValues
List of all ColorFilterArrangement supported values.
const Control< int32_t > ColorFilterArrangement
The arrangement of color filters on sensor; represents the colors in the top-left 2x2 section of the ...
ColorFilterArrangementEnum
Supported ColorFilterArrangement values.
Definition: property_ids.h:49
@ GBRG
GBRG Bayer pattern.
Definition: property_ids.h:52
@ GRBG
GRBG Bayer pattern.
Definition: property_ids.h:51
@ MONO
Sensor is not Bayer; output consists of a single colour channel.
Definition: property_ids.h:55
@ RGB
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:54
@ RGGB
RGGB Bayer pattern.
Definition: property_ids.h:50
@ BGGR
BGGR Bayer pattern.
Definition: property_ids.h:53
const ControlIdMap properties
List of all supported libcamera properties.
Definition: property_ids.cpp:789
const Control< std::string > Model
The model name shall to the extent possible describe the sensor. For most devices this is the model n...
LocationEnum
Supported Location values.
Definition: property_ids.h:32
@ CameraLocationFront
The camera is mounted on the front side of the device, facing the user.
Definition: property_ids.h:33
@ CameraLocationBack
The camera is mounted on the back side of the device, facing away from the user.
Definition: property_ids.h:34
@ CameraLocationExternal
The camera is attached to the device in a way that allows it to be moved freely.
Definition: property_ids.h:35
const Control< Span< const Rectangle > > PixelArrayOpticalBlackRectangles
The pixel array region(s) which contain optical black pixels considered valid for calibration purpose...
const std::array< const ControlValue, 3 > LocationValues
List of all Location supported values.
const Control< int32_t > Rotation
The camera rotation is expressed as the angular difference in degrees between two reference systems,...
const Control< Rectangle > ScalerCropMaximum
The maximum valid rectangle for the controls::ScalerCrop control. This reflects the minimum mandatory...
const Control< Size > PixelArraySize
The camera sensor pixel array readable area vertical and horizontal sizes, in pixels.
const Control< Size > UnitCellSize
The pixel unit cell physical size, in nanometers.
const Control< Span< const Rectangle > > PixelArrayActiveAreas
The PixelArrayActiveAreas property defines the (possibly multiple and overlapping) portions of the ca...
const Control< int32_t > Location
Camera mounting location.
Top-level libcamera namespace.
Definition: backtrace.h:17
std::unordered_map< unsigned int, const ControlId * > ControlIdMap
A map of numerical control ID to ControlId.
Definition: controls.h:302