summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/camera_sensor_properties.h
blob: af381a121bfcad9ba8003c51a16cabab09604a8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2021, Google Inc.
 *
 * camera_sensor_properties.h - Database of camera sensor properties
 */

#pragma once

#include <map>
#include <string>

#include <libcamera/geometry.h>

namespace libcamera {

struct CameraSensorProperties {
	static const CameraSensorProperties *get(const std::string &sensor);

	Size unitCellSize;
	std::map<int32_t, int32_t> testPatternModes;
};

} /* namespace libcamera */