1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  */
6 
7 #ifndef __IA_CSS_TNR_PARAM_H
8 #define __IA_CSS_TNR_PARAM_H
9 
10 #include "type_support.h"
11 #include "sh_css_defs.h"
12 #include "dma.h"
13 
14 /* TNR (Temporal Noise Reduction) */
15 struct sh_css_isp_tnr_params {
16 	s32 coef;
17 	s32 threshold_Y;
18 	s32 threshold_C;
19 };
20 
21 struct ia_css_tnr_configuration {
22 	const struct ia_css_frame *tnr_frames[NUM_VIDEO_TNR_FRAMES];
23 };
24 
25 struct sh_css_isp_tnr_isp_config {
26 	u32 width_a_over_b;
27 	u32 frame_height;
28 	struct dma_port_config port_b;
29 	ia_css_ptr tnr_frame_addr[NUM_VIDEO_TNR_FRAMES];
30 };
31 
32 #endif /* __IA_CSS_TNR_PARAM_H */
33