1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  */
6 
7 #ifndef __IA_CSS_CROP_HOST_H
8 #define __IA_CSS_CROP_HOST_H
9 
10 #include <ia_css_frame_public.h>
11 #include <ia_css_binary.h>
12 
13 #include "ia_css_crop_types.h"
14 #include "ia_css_crop_param.h"
15 
16 void
17 ia_css_crop_encode(
18     struct sh_css_isp_crop_isp_params *to,
19     const struct ia_css_crop_config *from,
20     unsigned int size);
21 
22 int ia_css_crop_config(struct sh_css_isp_crop_isp_config      *to,
23 		       const struct ia_css_crop_configuration *from,
24 		       unsigned int size);
25 
26 int ia_css_crop_configure(const struct ia_css_binary     *binary,
27 			  const struct ia_css_frame_info *from);
28 
29 #endif /* __IA_CSS_CROP_HOST_H */
30