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_TDF_PARAM_H 17 #define __IA_CSS_TDF_PARAM_H 18 19 #include "type_support.h" 20 #include "vmem.h" /* needed for VMEM_ARRAY */ 21 22 struct ia_css_isp_tdf_vmem_params { 23 VMEM_ARRAY(pyramid, ISP_VEC_NELEMS); 24 VMEM_ARRAY(threshold_flat, ISP_VEC_NELEMS); 25 VMEM_ARRAY(threshold_detail, ISP_VEC_NELEMS); 26 }; 27 28 struct ia_css_isp_tdf_dmem_params { 29 s32 Epsilon_0; 30 s32 Epsilon_1; 31 s32 EpsScaleText; 32 s32 EpsScaleEdge; 33 s32 Sepa_flat; 34 s32 Sepa_Edge; 35 s32 Blend_Flat; 36 s32 Blend_Text; 37 s32 Blend_Edge; 38 s32 Shading_Gain; 39 s32 Shading_baseGain; 40 s32 LocalY_Gain; 41 s32 LocalY_baseGain; 42 }; 43 44 #endif /* __IA_CSS_TDF_PARAM_H */ 45