1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2010 - 2015, Intel Corporation.
5  */
6 
7 #ifndef _IA_CSS_INPUTFIFO_H
8 #define _IA_CSS_INPUTFIFO_H
9 
10 #include <sp.h>
11 #include <isp.h>
12 
13 #include "ia_css_stream_format.h"
14 
15 /* SP access */
16 void ia_css_inputfifo_send_input_frame(
17     const unsigned short	*data,
18     unsigned int	width,
19     unsigned int	height,
20     unsigned int	ch_id,
21     enum atomisp_input_format	input_format,
22     bool			two_ppc);
23 
24 void ia_css_inputfifo_start_frame(
25     unsigned int	ch_id,
26     enum atomisp_input_format	input_format,
27     bool			two_ppc);
28 
29 void ia_css_inputfifo_send_line(
30     unsigned int	ch_id,
31     const unsigned short	*data,
32     unsigned int	width,
33     const unsigned short	*data2,
34     unsigned int	width2);
35 
36 void ia_css_inputfifo_send_embedded_line(
37     unsigned int	ch_id,
38     enum atomisp_input_format	data_type,
39     const unsigned short	*data,
40     unsigned int	width);
41 
42 void ia_css_inputfifo_end_frame(
43     unsigned int	ch_id);
44 
45 #endif /* _IA_CSS_INPUTFIFO_H */
46