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_OUTPUT_HOST_H 17 #define __IA_CSS_OUTPUT_HOST_H 18 19 #include "ia_css_frame_public.h" 20 #include "ia_css_binary.h" 21 22 #include "ia_css_output_types.h" 23 #include "ia_css_output_param.h" 24 25 extern const struct ia_css_output_config default_output_config; 26 27 void 28 ia_css_output_encode( 29 struct sh_css_isp_output_params *to, 30 const struct ia_css_output_config *from, 31 unsigned int size); 32 33 int ia_css_output_config(struct sh_css_isp_output_isp_config *to, 34 const struct ia_css_output_configuration *from, 35 unsigned int size); 36 37 int ia_css_output0_config(struct sh_css_isp_output_isp_config *to, 38 const struct ia_css_output0_configuration *from, 39 unsigned int size); 40 41 int ia_css_output1_config(struct sh_css_isp_output_isp_config *to, 42 const struct ia_css_output1_configuration *from, 43 unsigned int size); 44 45 int ia_css_output_configure(const struct ia_css_binary *binary, 46 const struct ia_css_frame_info *from); 47 48 int ia_css_output0_configure(const struct ia_css_binary *binary, 49 const struct ia_css_frame_info *from); 50 51 int ia_css_output1_configure(const struct ia_css_binary *binary, 52 const struct ia_css_frame_info *from); 53 54 void 55 ia_css_output_dump( 56 const struct sh_css_isp_output_params *output, 57 unsigned int level); 58 59 void 60 ia_css_output_debug_dtrace( 61 const struct ia_css_output_config *config, 62 unsigned int level); 63 64 #endif /* __IA_CSS_OUTPUT_HOST_H */ 65