libcamera v0.3.1
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, 2024 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 <array>
14#include <stdint.h>
15
16namespace libcamera {
17
19 static constexpr unsigned int kRGBLookupSize = 256;
20
21 using ColorLookupTable = std::array<uint8_t, kRGBLookupSize>;
22
26};
27
28} /* namespace libcamera */
Top-level libcamera namespace.
Definition backtrace.h:17
Struct to hold the debayer parameters.
Definition debayer_params.h:18
std::array< uint8_t, kRGBLookupSize > ColorLookupTable
Type of the lookup tables for red, green, blue values.
Definition debayer_params.h:21
ColorLookupTable red
Lookup table for red color, mapping input values to output values.
Definition debayer_params.h:23
ColorLookupTable green
Lookup table for green color, mapping input values to output values.
Definition debayer_params.h:24
static constexpr unsigned int kRGBLookupSize
Size of a color lookup table.
Definition debayer_params.h:19
ColorLookupTable blue
Lookup table for blue color, mapping input values to output values.
Definition debayer_params.h:25