Loading...
Searching...
No Matches
debayer_params.h
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2023-2026 Red Hat Inc.
*
* Authors:
* Hans de Goede <hdegoede@redhat.com>
*
* DebayerParams header
*/
#pragma once
#include <stdint.h>
#include "libcamera/internal/matrix.h"
#include "libcamera/internal/vector.h"
namespace libcamera {
struct DebayerParams {
Matrix<float, 3, 3> combinedMatrix;
RGB<float> blackLevel;
float gamma;
float contrastExp;
RGB<float> gains;
};
} /* namespace libcamera */
libcamera::Matrix
Matrix class.
Definition matrix.h:31
matrix.h
Matrix class.
libcamera
Top-level libcamera namespace.
Definition backtrace.h:17
libcamera::RGB
Vector< T, 3 > RGB
A Vector of 3 elements representing an RGB pixel value.
Definition vector.h:297
libcamera::DebayerParams
Struct to hold the debayer parameters.
Definition debayer_params.h:20
libcamera::DebayerParams::blackLevel
RGB< float > blackLevel
Black level values.
Definition debayer_params.h:22
libcamera::DebayerParams::gamma
float gamma
Gamma value, e.g. 1/2.2.
Definition debayer_params.h:23
libcamera::DebayerParams::combinedMatrix
Matrix< float, 3, 3 > combinedMatrix
Colour correction matrix, including other adjustments.
Definition debayer_params.h:21
libcamera::DebayerParams::contrastExp
float contrastExp
Contrast value to be used as an exponent.
Definition debayer_params.h:24
libcamera::DebayerParams::gains
RGB< float > gains
Colour channel gains.
Definition debayer_params.h:25
vector.h
Vector class.