summaryrefslogtreecommitdiff
path: root/src/ipa/rpi/controller/denoise_status.h
blob: eead6086bd3d736505eacc85ee99c621461fd3ac (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
29
30
31
32
33
34
35
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (C) 2019-2021, Raspberry Pi Ltd
 *
 * Denoise control algorithm status
 */
#pragma once

/* This stores the parameters required for Denoise. */

struct DenoiseStatus {
	double noiseConstant;
	double noiseSlope;
	double strength;
	unsigned int mode;
};

struct SdnStatus {
	double noiseConstant;
	double noiseSlope;
	double noiseConstant2;
	double noiseSlope2;
	double strength;
};

struct CdnStatus {
	double strength;
	double threshold;
};

struct TdnStatus {
	double noiseConstant;
	double noiseSlope;
	double threshold;
};