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_S3A_PARAM_H 17 #define __IA_CSS_S3A_PARAM_H 18 19 #include "type_support.h" 20 21 /* AE (3A Support) */ 22 struct sh_css_isp_ae_params { 23 /* coefficients to calculate Y */ 24 s32 y_coef_r; 25 s32 y_coef_g; 26 s32 y_coef_b; 27 }; 28 29 /* AWB (3A Support) */ 30 struct sh_css_isp_awb_params { 31 s32 lg_high_raw; 32 s32 lg_low; 33 s32 lg_high; 34 }; 35 36 /* AF (3A Support) */ 37 struct sh_css_isp_af_params { 38 s32 fir1[7]; 39 s32 fir2[7]; 40 }; 41 42 /* S3A (3A Support) */ 43 struct sh_css_isp_s3a_params { 44 /* coefficients to calculate Y */ 45 struct sh_css_isp_ae_params ae; 46 47 /* AWB level gate */ 48 struct sh_css_isp_awb_params awb; 49 50 /* af fir coefficients */ 51 struct sh_css_isp_af_params af; 52 }; 53 54 #endif /* __IA_CSS_S3A_PARAM_H */ 55