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_FIXEDBDS_PARAM_H 8 #define __IA_CSS_FIXEDBDS_PARAM_H 9 10 #include "type_support.h" 11 12 /* ISP2401 */ 13 #define BDS_UNIT 8 14 #define FRAC_LOG 3 15 #define FRAC_ACC BIT(FRAC_LOG) 16 #if FRAC_ACC != BDS_UNIT 17 #error "FRAC_ACC and BDS_UNIT need to be merged into one define" 18 #endif 19 20 struct sh_css_isp_bds_params { 21 int baf_strength; 22 }; 23 24 #endif /* __IA_CSS_FIXEDBDS_PARAM_H */ 25