blob: 32cd448aa2faeae09a63fec25bd94ceea5e182fd (
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
25
26
27
28
29
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2023, Red Hat Inc.
*
* Authors:
* Hans de Goede <hdegoede@redhat.com>
*
* debayer_params.h - DebayerParams header
*/
#pragma once
namespace libcamera {
struct DebayerParams {
static constexpr unsigned int kGain10 = 256;
unsigned int gainR;
unsigned int gainG;
unsigned int gainB;
float gamma;
/**
* \brief Level of the black point, 0..255, 0 is no correction.
*/
unsigned int blackLevel;
};
} /* namespace libcamera */
|