1 /* 2 * drivers/char/sunxi_g2d/g2d_rcq/g2d_rotate.h 3 * 4 * Copyright (c) 2007-2019 Allwinnertech Co., Ltd. 5 * Author: zhengxiaobin <zhengxiaobin@allwinnertech.com> 6 * 7 * This software is licensed under the terms of the GNU General Public 8 * License version 2, as published by the Free Software Foundation, and 9 * may be copied, distributed, and modified under those terms. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 */ 17 #ifndef _G2D_ROTATE_H 18 #define _G2D_ROTATE_H 19 #include <linux/types.h> 20 #include <sunxi-g2d.h> 21 22 __s32 g2d_rotate_set_para(g2d_image_enh *src, g2d_image_enh *dst, __u32 flag); 23 __s32 g2d_lbc_rot_set_para(g2d_lbc_rot *para); 24 void g2d_rot_set_base(unsigned long base); 25 __s32 g2d_rot_irq_query(void); 26 27 #endif /*End of file*/ 28 29