1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2018 Intel Corporation */
3 
4 #ifndef __IPU3_PARAMS_H
5 #define __IPU3_PARAMS_H
6 
7 int imgu_css_cfg_acc(struct imgu_css *css, unsigned int pipe,
8 		     struct ipu3_uapi_flags *use,
9 		     struct imgu_abi_acc_param *acc,
10 		     struct imgu_abi_acc_param *acc_old,
11 		     struct ipu3_uapi_acc_param *acc_user);
12 
13 int imgu_css_cfg_vmem0(struct imgu_css *css, unsigned int pipe,
14 		       struct ipu3_uapi_flags *use,
15 		       void *vmem0, void *vmem0_old,
16 		       struct ipu3_uapi_params *user);
17 
18 int imgu_css_cfg_dmem0(struct imgu_css *css, unsigned int pipe,
19 		       struct ipu3_uapi_flags *use,
20 		       void *dmem0, void *dmem0_old,
21 		       struct ipu3_uapi_params *user);
22 
23 void imgu_css_cfg_gdc_table(struct imgu_abi_gdc_warp_param *gdc,
24 			    int frame_in_x, int frame_in_y,
25 			    int frame_out_x, int frame_out_y,
26 			    int env_w, int env_h);
27 
28 #endif /*__IPU3_PARAMS_H */
29