libcamera  v0.3.1+1-c9152bad
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  * Database of camera sensor properties
6  */
7 
8 #pragma once
9 
10 #include <map>
11 #include <string>
12 
13 #include <libcamera/control_ids.h>
14 #include <libcamera/geometry.h>
15 
16 namespace 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 */
Camera control identifiers.
Top-level libcamera namespace.
Definition: backtrace.h:17
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
Describe a two-dimensional size.
Definition: geometry.h:52
Database of camera sensor properties.
Definition: camera_sensor_properties.h:18
Data structures related to geometric objects.
Size unitCellSize
The physical size of a pixel, including pixel edges, in nanometers.
Definition: camera_sensor_properties.h:21