libcamera: /build/libcamera/src/build/include/libcamera/property_ids.h Source File

libcamera v0.0.4 Supporting cameras in Linux since 2019

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