Loading...
Searching...
No Matches
property_ids.h
Go to the documentation of this file.
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2019, Google Inc.
*
* Properties ID list
*
* This file is auto-generated. Do not edit.
*/
#pragma once
#include <array>
#include <map>
#include <stdint.h>
#include <string>
#include <string_view>
#include <libcamera/controls.h>
namespace libcamera {
namespace properties {
extern const ControlIdMap properties;
enum {
LOCATION = 1,
ROTATION = 2,
MODEL = 3,
UNIT_CELL_SIZE = 4,
PIXEL_ARRAY_SIZE = 5,
PIXEL_ARRAY_OPTICAL_BLACK_RECTANGLES = 6,
PIXEL_ARRAY_ACTIVE_AREAS = 7,
SCALER_CROP_MAXIMUM = 8,
SENSOR_SENSITIVITY = 9,
SYSTEM_DEVICES = 10,
};
enum LocationEnum {
CameraLocationFront = 0,
CameraLocationBack = 1,
CameraLocationExternal = 2,
};
extern const std::array<const ControlValue, 3> LocationValues;
extern const std::map<std::string, int32_t> LocationNameValueMap;
extern const Control<int32_t> Location;
#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_PROPERTIES_LOCATION
extern const Control<int32_t> Rotation;
#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_PROPERTIES_ROTATION
extern const Control<std::string_view> Model;
#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_PROPERTIES_MODEL
extern const Control<Size> UnitCellSize;
#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_PROPERTIES_UNIT_CELL_SIZE
extern const Control<Size> PixelArraySize;
#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_PROPERTIES_PIXEL_ARRAY_SIZE
extern const Control<Span<const Rectangle>> PixelArrayOpticalBlackRectangles;
#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_PROPERTIES_PIXEL_ARRAY_OPTICAL_BLACK_RECTANGLES
extern const Control<Span<const Rectangle>> PixelArrayActiveAreas;
#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_PROPERTIES_PIXEL_ARRAY_ACTIVE_AREAS
extern const Control<Rectangle> ScalerCropMaximum;
#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_PROPERTIES_SCALER_CROP_MAXIMUM
extern const Control<float> SensorSensitivity;
#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_PROPERTIES_SENSOR_SENSITIVITY
extern const Control<Span<const int64_t>> SystemDevices;
#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_PROPERTIES_SYSTEM_DEVICES
namespace draft {
#define LIBCAMERA_HAS_DRAFT_VENDOR_PROPERTIES
enum {
COLOR_FILTER_ARRANGEMENT = 10001,
};
enum ColorFilterArrangementEnum {
RGGB = 0,
GRBG = 1,
GBRG = 2,
BGGR = 3,
RGB = 4,
MONO = 5,
};
extern const std::array<const ControlValue, 6> ColorFilterArrangementValues;
extern const std::map<std::string, int32_t> ColorFilterArrangementNameValueMap;
extern const Control<int32_t> ColorFilterArrangement;
#define LIBCAMERA_HAS_DRAFT_VENDOR_PROPERTIES_COLOR_FILTER_ARRANGEMENT
} /* namespace draft */
} /* namespace properties */
} /* namespace libcamera */
libcamera::Control
Describe a control and its intrinsic properties.
Definition controls.h:313
controls.h
Framework to manage controls related to an object.
libcamera::properties::draft
Namespace for draft properties.
Definition property_ids.h:69
libcamera::properties::draft::ColorFilterArrangementValues
const std::array< const ControlValue, 6 > ColorFilterArrangementValues
List of all ColorFilterArrangement supported values.
libcamera::properties::draft::ColorFilterArrangementNameValueMap
const std::map< std::string, int32_t > ColorFilterArrangementNameValueMap
Map of all ColorFilterArrangement supported value names (in std::string format) to value.
libcamera::properties::draft::ColorFilterArrangementEnum
ColorFilterArrangementEnum
Supported ColorFilterArrangement values.
Definition property_ids.h:79
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:84
libcamera::properties::draft::BGGR
@ BGGR
BGGR Bayer pattern.
Definition property_ids.h:83
libcamera::properties::draft::MONO
@ MONO
Sensor is not Bayer; output consists of a single colour channel.
Definition property_ids.h:85
libcamera::properties::draft::RGGB
@ RGGB
RGGB Bayer pattern.
Definition property_ids.h:80
libcamera::properties::draft::GRBG
@ GRBG
GRBG Bayer pattern.
Definition property_ids.h:81
libcamera::properties::draft::GBRG
@ GBRG
GBRG Bayer pattern.
Definition property_ids.h:82
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::properties
const ControlIdMap properties
List of all supported libcamera properties.
Definition property_ids.cpp:844
libcamera::properties::LocationEnum
LocationEnum
Supported Location values.
Definition property_ids.h:41
libcamera::properties::CameraLocationFront
@ CameraLocationFront
The camera is mounted on the front side of the device, facing the user.
Definition property_ids.h:42
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:44
libcamera::properties::CameraLocationBack
@ CameraLocationBack
The camera is mounted on the back side of the device, facing away from the user.
Definition property_ids.h:43
libcamera::properties::UnitCellSize
const Control< Size > UnitCellSize
The pixel unit cell physical size, in nanometers.
libcamera::properties::LocationNameValueMap
const std::map< std::string, int32_t > LocationNameValueMap
Map of all Location supported value names (in std::string format) to value.
libcamera::properties::PixelArraySize
const Control< Size > PixelArraySize
The camera sensor pixel array readable area vertical and horizontal sizes, in pixels.
libcamera::properties::Rotation
const Control< int32_t > Rotation
The camera physical mounting rotation. It is expressed as the angular difference in degrees between t...
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::SystemDevices
const Control< Span< const int64_t > > SystemDevices
A list of integer values of type dev_t denoting the major and minor device numbers of the underlying ...
libcamera::properties::ScalerCropMaximum
const Control< Rectangle > ScalerCropMaximum
The maximum valid rectangle for the controls::ScalerCrop control. This reflects the minimum mandatory...
libcamera::properties::Location
const Control< int32_t > Location
Camera mounting location.
libcamera::properties::LocationValues
const std::array< const ControlValue, 3 > LocationValues
List of all Location supported values.
libcamera::properties::SensorSensitivity
const Control< float > SensorSensitivity
The relative sensitivity of the chosen sensor mode.
libcamera::properties::Model
const Control< std::string_view > Model
The model name shall to the extent possible describe the sensor. For most devices this is the model n...
libcamera::properties::PixelArrayActiveAreas
const Control< Span< const Rectangle > > PixelArrayActiveAreas
The PixelArrayActiveAreas property defines the (possibly multiple and overlapping) portions of the ca...
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:362