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_GC_HOST_H 17 #define __IA_CSS_GC_HOST_H 18 19 #include "ia_css_gc_param.h" 20 #include "ia_css_gc_table.host.h" 21 22 extern const struct ia_css_gc_config default_gc_config; 23 extern const struct ia_css_ce_config default_ce_config; 24 25 void 26 ia_css_gc_encode( 27 struct sh_css_isp_gc_params *to, 28 const struct ia_css_gc_config *from, 29 unsigned int size); 30 31 void 32 ia_css_gc_vamem_encode( 33 struct sh_css_isp_gc_vamem_params *to, 34 const struct ia_css_gamma_table *from, 35 unsigned int size); 36 37 void 38 ia_css_ce_encode( 39 struct sh_css_isp_ce_params *to, 40 const struct ia_css_ce_config *from, 41 unsigned int size); 42 43 #ifndef IA_CSS_NO_DEBUG 44 void 45 ia_css_gc_dump( 46 const struct sh_css_isp_gc_params *gc, 47 unsigned int level); 48 49 void 50 ia_css_ce_dump( 51 const struct sh_css_isp_ce_params *ce, 52 unsigned int level); 53 54 void 55 ia_css_gc_debug_dtrace( 56 const struct ia_css_gc_config *config, 57 unsigned int level); 58 59 void 60 ia_css_ce_debug_dtrace( 61 const struct ia_css_ce_config *config, 62 unsigned int level); 63 64 #endif 65 66 #endif /* __IA_CSS_GC_HOST_H */ 67