Files
luban-lite-t3e-pro/packages/artinchip/mpp/include/mpp_ge.h
刘可亮 7bbc029dae v1.0.0
2023-08-30 16:21:18 +08:00

43 lines
765 B
C

/*
* Copyright (c) 2022-2023, ArtInChip Technology Co., Ltd
*
* SPDX-License-Identifier: Apache-2.0
*
* Authors: Ning Fang <ning.fang@artinchip.com>
*/
#ifndef _MPP_GE_H_
#define _MPP_GE_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <aic_core.h>
#include "aic_drv_ge.h"
struct mpp_ge;
struct mpp_ge *mpp_ge_open();
void mpp_ge_close(struct mpp_ge *ge);
enum ge_mode mpp_ge_get_mode(struct mpp_ge *ge);
int mpp_ge_fillrect(struct mpp_ge *ge, struct ge_fillrect *fillrect);
int mpp_ge_bitblt(struct mpp_ge *ge, struct ge_bitblt *blt);
int mpp_ge_rotate(struct mpp_ge *ge, struct ge_rotation *rot);
int mpp_ge_emit(struct mpp_ge *ge);
int mpp_ge_sync(struct mpp_ge *ge);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _MPP_GE_H_ */