1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Support for Intel Camera Imaging ISP subsystem.
4 * Copyright (c) 2015, Intel Corporation.
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.
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
16 #ifndef _SH_CSS_LEGACY_H_
17 #define _SH_CSS_LEGACY_H_
19 #include <type_support.h>
20 #include <ia_css_err.h>
21 #include <ia_css_types.h>
22 #include <ia_css_frame_public.h>
23 #include <ia_css_pipe_public.h>
24 #include <ia_css_stream_public.h>
26 /* The pipe id type, distinguishes the kind of pipes that
27 * can be run in parallel.
30 IA_CSS_PIPE_ID_PREVIEW,
33 IA_CSS_PIPE_ID_CAPTURE,
39 struct ia_css_pipe_extra_config {
40 bool enable_raw_binning;
42 bool enable_high_speed;
43 bool enable_dvs_6axis;
44 bool enable_reduced_pipe;
45 bool enable_fractional_ds;
50 ia_css_pipe_create_extra(const struct ia_css_pipe_config *config,
51 const struct ia_css_pipe_extra_config *extra_config,
52 struct ia_css_pipe **pipe);
55 ia_css_pipe_extra_config_defaults(struct ia_css_pipe_extra_config
59 ia_css_temp_pipe_to_pipe_id(const struct ia_css_pipe *pipe,
60 enum ia_css_pipe_id *pipe_id);
62 /* DEPRECATED. FPN is not supported. */
64 sh_css_set_black_frame(struct ia_css_stream *stream,
65 const struct ia_css_frame *raw_black_frame);
69 sh_css_enable_cont_capt(bool enable, bool stop_copy_preview);
71 #endif /* _SH_CSS_LEGACY_H_ */