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_OB_HOST_H 8 #define __IA_CSS_OB_HOST_H 9 10 #include "ia_css_ob_types.h" 11 #include "ia_css_ob_param.h" 12 13 extern const struct ia_css_ob_config default_ob_config; 14 15 void 16 ia_css_ob_configure( 17 struct sh_css_isp_ob_stream_config *config, 18 unsigned int isp_pipe_version, 19 unsigned int raw_bit_depth); 20 21 void 22 ia_css_ob_encode( 23 struct sh_css_isp_ob_params *to, 24 const struct ia_css_ob_config *from, 25 const struct sh_css_isp_ob_stream_config *config, 26 unsigned int size); 27 28 void 29 ia_css_ob_vmem_encode( 30 struct sh_css_isp_ob_vmem_params *to, 31 const struct ia_css_ob_config *from, 32 const struct sh_css_isp_ob_stream_config *config, 33 unsigned int size); 34 35 void 36 ia_css_ob_dump( 37 const struct sh_css_isp_ob_params *ob, 38 unsigned int level); 39 40 void 41 ia_css_ob_debug_dtrace( 42 const struct ia_css_ob_config *config, unsigned int level) 43 ; 44 45 #endif /* __IA_CSS_OB_HOST_H */ 46