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 #ifndef __IA_CSS_S3A_HOST_H
16 #define __IA_CSS_S3A_HOST_H
18 #include "ia_css_s3a_types.h"
19 #include "ia_css_s3a_param.h"
20 #include "bh/bh_2/ia_css_bh.host.h"
22 extern const struct ia_css_3a_config default_3a_config;
26 unsigned int raw_bit_depth);
30 struct sh_css_isp_s3a_params *to,
31 const struct ia_css_3a_config *from,
34 #ifndef IA_CSS_NO_DEBUG
37 const struct sh_css_isp_ae_params *ae,
42 const struct sh_css_isp_awb_params *awb,
47 const struct sh_css_isp_af_params *af,
52 const struct sh_css_isp_s3a_params *s3a,
56 ia_css_s3a_debug_dtrace(
57 const struct ia_css_3a_config *config,
62 ia_css_s3a_hmem_decode(
63 struct ia_css_3a_statistics *host_stats,
64 const struct ia_css_bh_table *hmem_buf);
67 ia_css_s3a_dmem_decode(
68 struct ia_css_3a_statistics *host_stats,
69 const struct ia_css_3a_output *isp_stats);
72 ia_css_s3a_vmem_decode(
73 struct ia_css_3a_statistics *host_stats,
74 const uint16_t *isp_stats_hi,
75 const uint16_t *isp_stats_lo);
77 #endif /* __IA_CSS_S3A_HOST_H */