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_HB_PARAM_H 8 #define __IA_CSS_HB_PARAM_H 9 10 #include "type_support.h" 11 12 #ifndef PIPE_GENERATION 13 #define __INLINE_HMEM__ 14 #include "hmem.h" 15 #endif 16 17 #include "ia_css_bh_types.h" 18 19 /* AE (3A Support) */ 20 struct sh_css_isp_bh_params { 21 /* coefficients to calculate Y */ 22 s32 y_coef_r; 23 s32 y_coef_g; 24 s32 y_coef_b; 25 }; 26 27 /* This should be hmem_data_t, but that breaks the pipe generator */ 28 struct sh_css_isp_bh_hmem_params { 29 u32 bh[ISP_HIST_COMPONENTS][IA_CSS_HMEM_BH_UNIT_SIZE]; 30 }; 31 32 #endif /* __IA_CSS_HB_PARAM_H */ 33