To reduce code duplication, use the Pwl class from libipa. This also removes the Pwl class from the Raspberry Pi IPA. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com> Acked-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
18 lines
310 B
C
18 lines
310 B
C
/* SPDX-License-Identifier: BSD-2-Clause */
|
|
/*
|
|
* Copyright (C) 2022 Raspberry Pi Ltd
|
|
*
|
|
* Tonemap control algorithm status
|
|
*/
|
|
#pragma once
|
|
|
|
#include <libipa/pwl.h>
|
|
|
|
struct TonemapStatus {
|
|
uint16_t detailConstant;
|
|
double detailSlope;
|
|
double iirStrength;
|
|
double strength;
|
|
libcamera::ipa::Pwl tonemap;
|
|
};
|