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_PIPE_STAGEDESC_H__
17 #define __IA_CSS_PIPE_STAGEDESC_H__
18 
19 #include <ia_css_acc_types.h> /* ia_css_fw_info */
20 #include <ia_css_frame_public.h>
21 #include <ia_css_binary.h>
22 #include "ia_css_pipeline.h"
23 #include "ia_css_pipeline_common.h"
24 
25 void ia_css_pipe_get_generic_stage_desc(
26     struct ia_css_pipeline_stage_desc *stage_desc,
27     struct ia_css_binary *binary,
28     struct ia_css_frame *out_frame[],
29     struct ia_css_frame *in_frame,
30     struct ia_css_frame *vf_frame);
31 
32 void ia_css_pipe_get_firmwares_stage_desc(
33     struct ia_css_pipeline_stage_desc *stage_desc,
34     struct ia_css_binary *binary,
35     struct ia_css_frame *out_frame[],
36     struct ia_css_frame *in_frame,
37     struct ia_css_frame *vf_frame,
38     const struct ia_css_fw_info *fw,
39     unsigned int mode);
40 
41 void ia_css_pipe_get_acc_stage_desc(
42     struct ia_css_pipeline_stage_desc *stage_desc,
43     struct ia_css_binary *binary,
44     struct ia_css_fw_info *fw);
45 
46 void ia_css_pipe_get_sp_func_stage_desc(
47     struct ia_css_pipeline_stage_desc *stage_desc,
48     struct ia_css_frame *out_frame,
49     enum ia_css_pipeline_stage_sp_func sp_func,
50     unsigned int max_input_width);
51 
52 #endif /*__IA_CSS_PIPE_STAGEDESC__H__ */
53