libcamera v0.1.0+127-8e215127-dirty (2023-12-02T01:06:12+00:00)
Supporting cameras in Linux since 2019
camera_sensor_properties.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2/*
3 * Copyright (C) 2021, Google Inc.
4 *
5 * camera_sensor_properties.h - Database of camera sensor properties
6 */
7
8#pragma once
9
10#include <map>
11#include <string>
12
14#include <libcamera/geometry.h>
15
16namespace libcamera {
17
19 static const CameraSensorProperties *get(const std::string &sensor);
20
22 std::map<controls::draft::TestPatternModeEnum, int32_t> testPatternModes;
23};
24
25} /* namespace libcamera */
Describe a two-dimensional size.
Definition: geometry.h:53
Camera control identifiers.
Data structures related to geometric objects.
Top-level libcamera namespace.
Definition: backtrace.h:17
Database of camera sensor properties.
Definition: camera_sensor_properties.h:18
static const CameraSensorProperties * get(const std::string &sensor)
Retrieve the properties associated with a sensor.
Definition: camera_sensor_properties.cpp:52
std::map< controls::draft::TestPatternModeEnum, int32_t > testPatternModes
Map that associates the TestPattern control value with the indexes of the corresponding sensor test p...
Definition: camera_sensor_properties.h:22
Size unitCellSize
The physical size of a pixel, including pixel edges, in nanometers.
Definition: camera_sensor_properties.h:21