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_DEBUG_PIPE_H_
17 #define _IA_CSS_DEBUG_PIPE_H_
18 
19 /*! \file */
20 
21 #include <ia_css_frame_public.h>
22 #include <ia_css_stream_public.h>
23 #include "ia_css_pipeline.h"
24 
25 /**
26  * @brief Internal debug support for constructing a pipe graph.
27  *
28  * @return	None
29  */
30 void ia_css_debug_pipe_graph_dump_prologue(void);
31 
32 /**
33  * @brief Internal debug support for constructing a pipe graph.
34  *
35  * @return	None
36  */
37 void ia_css_debug_pipe_graph_dump_epilogue(void);
38 
39 /**
40  * @brief Internal debug support for constructing a pipe graph.
41  * @param[in]	stage		Pipeline stage.
42  * @param[in]	id		Pipe id.
43  *
44  * @return	None
45  */
46 void ia_css_debug_pipe_graph_dump_stage(
47     struct ia_css_pipeline_stage *stage,
48     enum ia_css_pipe_id id);
49 
50 /**
51  * @brief Internal debug support for constructing a pipe graph.
52  * @param[in]	out_frame	Output frame of SP raw copy.
53  *
54  * @return	None
55  */
56 void ia_css_debug_pipe_graph_dump_sp_raw_copy(
57     struct ia_css_frame *out_frame);
58 
59 /**
60  * @brief Internal debug support for constructing a pipe graph.
61  * @param[in]	stream_config	info about sensor and input formatter.
62  *
63  * @return	None
64  */
65 void ia_css_debug_pipe_graph_dump_stream_config(
66     const struct ia_css_stream_config *stream_config);
67 
68 #endif /* _IA_CSS_DEBUG_PIPE_H_ */
69