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_DVS_HOST_H
16 #define __IA_CSS_DVS_HOST_H
18 #include "ia_css_frame_public.h"
19 #include "ia_css_binary.h"
20 #include "sh_css_params.h"
22 #include "ia_css_types.h"
23 #include "ia_css_dvs_types.h"
24 #include "ia_css_dvs_param.h"
26 /* For bilinear interpolation, we need to add +1 to input block height calculation.
27 * For bicubic interpolation, we will need to add +3 instaed */
28 #define DVS_GDC_BLI_INTERP_ENVELOPE 1
29 #define DVS_GDC_BCI_INTERP_ENVELOPE 3
33 struct sh_css_isp_dvs_isp_config
*to
,
34 const struct ia_css_dvs_configuration
*from
,
39 const struct ia_css_binary
*binary
,
40 const struct ia_css_frame_info
*from
);
43 convert_dvs_6axis_config(
44 struct ia_css_isp_parameters
*params
,
45 const struct ia_css_binary
*binary
);
47 struct ia_css_host_data
*
48 convert_allocate_dvs_6axis_config(
49 const struct ia_css_dvs_6axis_config
*dvs_6axis_config
,
50 const struct ia_css_binary
*binary
,
51 const struct ia_css_frame_info
*dvs_in_frame_info
);
54 store_dvs_6axis_config(
55 const struct ia_css_dvs_6axis_config
*dvs_6axis_config
,
56 const struct ia_css_binary
*binary
,
57 const struct ia_css_frame_info
*dvs_in_frame_info
,
58 hrt_vaddress ddr_addr_y
);
60 #endif /* __IA_CSS_DVS_HOST_H */