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