GNU Linux-libre 4.14.290-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / camera / pipe / interface / ia_css_pipe_stagedesc.h
1 /*
2  * Support for Intel Camera Imaging ISP subsystem.
3  * Copyright (c) 2015, Intel Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU General Public License,
7  * version 2, as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  */
14
15 #ifndef __IA_CSS_PIPE_STAGEDESC_H__
16 #define __IA_CSS_PIPE_STAGEDESC_H__
17
18 #include <ia_css_acc_types.h> /* ia_css_fw_info */
19 #include <ia_css_frame_public.h>
20 #include <ia_css_binary.h>
21 #include "ia_css_pipeline.h"
22 #include "ia_css_pipeline_common.h"
23
24 extern void ia_css_pipe_get_generic_stage_desc(
25         struct ia_css_pipeline_stage_desc *stage_desc,
26         struct ia_css_binary *binary,
27         struct ia_css_frame *out_frame[],
28         struct ia_css_frame *in_frame,
29         struct ia_css_frame *vf_frame);
30
31 extern void ia_css_pipe_get_firmwares_stage_desc(
32         struct ia_css_pipeline_stage_desc *stage_desc,
33         struct ia_css_binary *binary,
34         struct ia_css_frame *out_frame[],
35         struct ia_css_frame *in_frame,
36         struct ia_css_frame *vf_frame,
37         const struct ia_css_fw_info *fw,
38         unsigned int mode);
39
40 extern void ia_css_pipe_get_acc_stage_desc(
41         struct ia_css_pipeline_stage_desc *stage_desc,
42         struct ia_css_binary *binary,
43         struct ia_css_fw_info *fw);
44
45 extern void ia_css_pipe_get_sp_func_stage_desc(
46         struct ia_css_pipeline_stage_desc *stage_desc,
47         struct ia_css_frame *out_frame,
48         enum ia_css_pipeline_stage_sp_func sp_func,
49         unsigned max_input_width);
50
51 #endif /*__IA_CSS_PIPE_STAGEDESC__H__ */
52