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 __SH_CSS_PARAMS_SHADING_H 8 #define __SH_CSS_PARAMS_SHADING_H 9 10 #include <ia_css_types.h> 11 #include <ia_css_binary.h> 12 13 void 14 sh_css_params_shading_id_table_generate( 15 struct ia_css_shading_table **target_table, 16 unsigned int table_width, 17 unsigned int table_height); 18 19 void 20 prepare_shading_table(const struct ia_css_shading_table *in_table, 21 unsigned int sensor_binning, 22 struct ia_css_shading_table **target_table, 23 const struct ia_css_binary *binary, 24 unsigned int bds_factor); 25 26 #endif /* __SH_CSS_PARAMS_SHADING_H */ 27