libcamera v0.7.0+1595-4b6c47bd-nvm
Supporting cameras in Linux since 2019
Loading...
Searching...
No Matches
debayer_params.h
1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2/*
3 * Copyright (C) 2023-2026 Red Hat Inc.
4 *
5 * Authors:
6 * Hans de Goede <hdegoede@redhat.com>
7 *
8 * DebayerParams header
9 */
10
11#pragma once
12
13#include <stdint.h>
14
17
18namespace libcamera {
19
22 0.0, 1.0, 0.0,
23 0.0, 0.0, 1.0 } };
24 RGB<float> blackLevel = RGB<float>({ 0.0, 0.0, 0.0 });
25 float gamma = 1.0;
26 float contrastExp = 1.0;
27 RGB<float> gains = RGB<float>({ 1.0, 1.0, 1.0 });
28};
29
30} /* namespace libcamera */
Matrix class.
Definition matrix.h:31
Vector class.
Definition vector.h:35
Matrix class.
Top-level libcamera namespace.
Definition backtrace.h:17
Struct to hold the debayer parameters.
Definition debayer_params.h:20
float contrastExp
Contrast value to be used as an exponent.
Definition debayer_params.h:26
Matrix< float, 3, 3 > combinedMatrix
Colour correction matrix, including other adjustments.
Definition debayer_params.h:21
RGB< float > blackLevel
Black level values.
Definition debayer_params.h:24
float gamma
Gamma value, e.g. 1/2.2.
Definition debayer_params.h:25
RGB< float > gains
Colour channel gains.
Definition debayer_params.h:27
Vector class.