/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * Copyright (C) 2023-2026 Red Hat Inc. * * Authors: * Hans de Goede * * DebayerParams header */ #pragma once #include #include "libcamera/internal/matrix.h" #include "libcamera/internal/vector.h" namespace libcamera { struct DebayerParams { Matrix combinedMatrix = { { 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0 } }; RGB blackLevel = RGB({ 0.0, 0.0, 0.0 }); float gamma = 1.0; float contrastExp = 1.0; RGB gains = RGB({ 1.0, 1.0, 1.0 }); }; } /* namespace libcamera */