1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Support for Intel Camera Imaging ISP subsystem. 4 * Copyright (c) 2015, Intel Corporation. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. 9 * 10 * This program is distributed in the hope it will be useful, but WITHOUT 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 13 * more details. 14 */ 15 16 #ifndef __IA_CSS_YNR_HOST_H 17 #define __IA_CSS_YNR_HOST_H 18 19 #include "ia_css_ynr_types.h" 20 #include "ia_css_ynr_param.h" 21 22 extern const struct ia_css_nr_config default_nr_config; 23 extern const struct ia_css_ee_config default_ee_config; 24 25 void 26 ia_css_nr_encode( 27 struct sh_css_isp_ynr_params *to, 28 const struct ia_css_nr_config *from, 29 unsigned int size); 30 31 void 32 ia_css_yee_encode( 33 struct sh_css_isp_yee_params *to, 34 const struct ia_css_yee_config *from, 35 unsigned int size); 36 37 void 38 ia_css_nr_dump( 39 const struct sh_css_isp_ynr_params *ynr, 40 unsigned int level); 41 42 void 43 ia_css_yee_dump( 44 const struct sh_css_isp_yee_params *yee, 45 unsigned int level); 46 47 void 48 ia_css_nr_debug_dtrace( 49 const struct ia_css_nr_config *config, 50 unsigned int level); 51 52 void 53 ia_css_ee_debug_dtrace( 54 const struct ia_css_ee_config *config, 55 unsigned int level); 56 57 void 58 ia_css_init_ynr_state( 59 void/*struct sh_css_isp_ynr_vmem_state*/ * state, 60 size_t size); 61 #endif /* __IA_CSS_YNR_HOST_H */ 62