• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  * 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_INPUTFIFO_H
17 #define _IA_CSS_INPUTFIFO_H
18 
19 #include <sp.h>
20 #include <isp.h>
21 
22 #include "ia_css_stream_format.h"
23 
24 /* SP access */
25 void ia_css_inputfifo_send_input_frame(
26     const unsigned short	*data,
27     unsigned int	width,
28     unsigned int	height,
29     unsigned int	ch_id,
30     enum atomisp_input_format	input_format,
31     bool			two_ppc);
32 
33 void ia_css_inputfifo_start_frame(
34     unsigned int	ch_id,
35     enum atomisp_input_format	input_format,
36     bool			two_ppc);
37 
38 void ia_css_inputfifo_send_line(
39     unsigned int	ch_id,
40     const unsigned short	*data,
41     unsigned int	width,
42     const unsigned short	*data2,
43     unsigned int	width2);
44 
45 void ia_css_inputfifo_send_embedded_line(
46     unsigned int	ch_id,
47     enum atomisp_input_format	data_type,
48     const unsigned short	*data,
49     unsigned int	width);
50 
51 void ia_css_inputfifo_end_frame(
52     unsigned int	ch_id);
53 
54 #endif /* _IA_CSS_INPUTFIFO_H */
55