summaryrefslogtreecommitdiff
path: root/src/ipa/rpi/controller/denoise_status.h
blob: 4d2bd291f2f1366de8da51783486050559c26f39 (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_status.h - 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;
};