summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/software_isp/debayer_params.h
blob: c818ca3a7fda62ee35010a1e0e03b5de7e4aa4ae (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
/* 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;
};

} /* namespace libcamera */