GNU Linux-libre 4.14.290-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / runtime / debug / interface / ia_css_debug_pipe.h
1 #ifndef ISP2401
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 #else
16 /**
17 Support for Intel Camera Imaging ISP subsystem.
18 Copyright (c) 2010 - 2015, Intel Corporation.
19
20 This program is free software; you can redistribute it and/or modify it
21 under the terms and conditions of the GNU General Public License,
22 version 2, as published by the Free Software Foundation.
23
24 This program is distributed in the hope it will be useful, but WITHOUT
25 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
26 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
27 more details.
28 */
29 #endif
30
31 #ifndef _IA_CSS_DEBUG_PIPE_H_
32 #define _IA_CSS_DEBUG_PIPE_H_
33
34 /*! \file */
35
36 #include <ia_css_frame_public.h>
37 #include <ia_css_stream_public.h>
38 #include "ia_css_pipeline.h"
39
40 /**
41  * @brief Internal debug support for constructing a pipe graph.
42  *
43  * @return      None
44  */
45 extern void ia_css_debug_pipe_graph_dump_prologue(void);
46
47 /**
48  * @brief Internal debug support for constructing a pipe graph.
49  *
50  * @return      None
51  */
52 extern void ia_css_debug_pipe_graph_dump_epilogue(void);
53
54 /**
55  * @brief Internal debug support for constructing a pipe graph.
56  * @param[in]   stage           Pipeline stage.
57  * @param[in]   id              Pipe id.
58  *
59  * @return      None
60  */
61 extern void ia_css_debug_pipe_graph_dump_stage(
62                 struct ia_css_pipeline_stage *stage,
63                 enum ia_css_pipe_id id);
64
65 /**
66  * @brief Internal debug support for constructing a pipe graph.
67  * @param[in]   out_frame       Output frame of SP raw copy.
68  *
69  * @return      None
70  */
71 extern void ia_css_debug_pipe_graph_dump_sp_raw_copy(
72                 struct ia_css_frame *out_frame);
73
74
75 /**
76  * @brief Internal debug support for constructing a pipe graph.
77  * @param[in]   stream_config   info about sensor and input formatter.
78  *
79  * @return      None
80  */
81 extern void ia_css_debug_pipe_graph_dump_stream_config(
82                 const struct ia_css_stream_config *stream_config);
83
84 #endif /* _IA_CSS_DEBUG_PIPE_H_ */