summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/software_isp/debayer_params.h
blob: 7d8fdd48125faa93099b2a1106dfa39ec3c0cebb (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
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2023, 2024 Red Hat Inc.
 *
 * Authors:
 * Hans de Goede <hdegoede@redhat.com>
 *
 * DebayerParams header
 */

#pragma once

#include <array>
#include <stdint.h>

namespace libcamera {

struct DebayerParams {
	static constexpr unsigned int kRGBLookupSize = 256;

	using ColorLookupTable = std::array<uint8_t, kRGBLookupSize>;

	ColorLookupTable red;
	ColorLookupTable green;
	ColorLookupTable blue;
};

} /* namespace libcamera */