2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 #include "ia_css_copy_output.host.h"
16 #include "ia_css_binary.h"
17 #include "type_support.h"
18 #define IA_CSS_INCLUDE_CONFIGURATIONS
19 #include "ia_css_isp_configs.h"
22 static const struct ia_css_copy_output_configuration default_config = {
27 ia_css_copy_output_config(
28 struct sh_css_isp_copy_output_isp_config *to,
29 const struct ia_css_copy_output_configuration *from,
33 to->enable = from->enable;
37 ia_css_copy_output_configure(
38 const struct ia_css_binary *binary,
41 struct ia_css_copy_output_configuration config = default_config;
43 config.enable = enable;
45 ia_css_configure_copy_output(binary, &config);