| | 1 | #ifndef __GPU_UNAI_GPU_ARM_H__ |
| | 2 | #define __GPU_UNAI_GPU_ARM_H__ |
| | 3 | |
| | 4 | #ifdef __cplusplus |
| | 5 | extern "C" { |
| | 6 | #endif |
| | 7 | |
| | 8 | struct gpu_unai_inner_t; |
| | 9 | |
| | 10 | void gpu_fill_asm(void *d, u32 rgbx2, u32 w, u32 h); |
| | 11 | |
| | 12 | void tile_driver_st0_asm(void *d, u16 c, u32 cnt, const struct gpu_unai_inner_t *inn); |
| | 13 | void tile_driver_st1_asm(void *d, u16 c, u32 cnt, const struct gpu_unai_inner_t *inn); |
| | 14 | void tile_driver_st3_asm(void *d, u16 c, u32 cnt, const struct gpu_unai_inner_t *inn); |
| | 15 | |
| | 16 | void sprite_driver_4bpp_asm(void *pPixel, const u8 *pTxt_base, |
| | 17 | u32 count, const struct gpu_unai_inner_t *inn); |
| | 18 | void sprite_driver_8bpp_asm(void *pPixel, const u8 *pTxt_base, |
| | 19 | u32 count, const struct gpu_unai_inner_t *inn); |
| | 20 | void sprite_driver_16bpp_asm(void *pPixel, const void *pTxt_base, |
| | 21 | u32 count, const struct gpu_unai_inner_t *inn); |
| | 22 | void sprite_4bpp_x16_asm(void *d, const void *s, void *pal, int lines); |
| | 23 | |
| | 24 | void sprite_driver_4bpp_l0_std_asm(void *pPixel, const u8 *pTxt_base, |
| | 25 | u32 count, const struct gpu_unai_inner_t *inn); |
| | 26 | void sprite_driver_4bpp_l0_st0_asm(void *pPixel, const u8 *pTxt_base, |
| | 27 | u32 count, const struct gpu_unai_inner_t *inn); |
| | 28 | void sprite_driver_8bpp_l0_std_asm(void *pPixel, const u8 *pTxt_base, |
| | 29 | u32 count, const struct gpu_unai_inner_t *inn); |
| | 30 | void sprite_driver_8bpp_l0_st0_asm(void *pPixel, const u8 *pTxt_base, |
| | 31 | u32 count, const struct gpu_unai_inner_t *inn); |
| | 32 | |
| | 33 | void poly_utx_l0d0m0st0_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 34 | void poly_utx_l0d0m0st1_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 35 | void poly_utx_l0d0m0st3_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 36 | void poly_4bp_l0d0m0std_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 37 | void poly_4bp_l0d0m0st0_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 38 | void poly_8bp_l0d0m0std_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 39 | void poly_8bp_l0d0m0st0_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 40 | |
| | 41 | #ifdef HAVE_ARMV6 |
| | 42 | |
| | 43 | void tile_driver_st2_asm(void *d, u16 c, u32 cnt, const struct gpu_unai_inner_t *inn); |
| | 44 | |
| | 45 | void sprite_driver_4bpp_l1_std_asm(void *pPixel, const u8 *pTxt_base, |
| | 46 | u32 count, const struct gpu_unai_inner_t *inn); |
| | 47 | void sprite_driver_4bpp_l1_st0_asm(void *pPixel, const u8 *pTxt_base, |
| | 48 | u32 count, const struct gpu_unai_inner_t *inn); |
| | 49 | void sprite_driver_4bpp_l1_st1_asm(void *pPixel, const u8 *pTxt_base, |
| | 50 | u32 count, const struct gpu_unai_inner_t *inn); |
| | 51 | void sprite_driver_8bpp_l1_std_asm(void *pPixel, const u8 *pTxt_base, |
| | 52 | u32 count, const struct gpu_unai_inner_t *inn); |
| | 53 | void sprite_driver_8bpp_l1_st0_asm(void *pPixel, const u8 *pTxt_base, |
| | 54 | u32 count, const struct gpu_unai_inner_t *inn); |
| | 55 | void sprite_driver_8bpp_l1_st1_asm(void *pPixel, const u8 *pTxt_base, |
| | 56 | u32 count, const struct gpu_unai_inner_t *inn); |
| | 57 | |
| | 58 | void poly_utx_l0d0m0st2_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 59 | void poly_utx_g1d0m0std_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 60 | void poly_utx_g1d1m0std_asm(void *d, const struct gpu_unai_inner_t *inn, int count, u32 dv); |
| | 61 | void poly_utx_g1d1m1std_asm(void *d, const struct gpu_unai_inner_t *inn, int count, u32 dv); |
| | 62 | void poly_4bp_l1d0m0std_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 63 | void poly_4bp_l1d0m0st0_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 64 | void poly_4bp_l1d1m0std_asm(void *d, const struct gpu_unai_inner_t *inn, int count, u32 dv); |
| | 65 | void poly_4bp_l1d1m0st0_asm(void *d, const struct gpu_unai_inner_t *inn, int count, u32 dv); |
| | 66 | void poly_4bp_lgd0m0std_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 67 | void poly_4bp_lgd0m0st1_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 68 | void poly_4bp_lgd1m0std_asm(void *d, const struct gpu_unai_inner_t *inn, int count, u32 dv); |
| | 69 | void poly_4bp_lgd1m0st1_asm(void *d, const struct gpu_unai_inner_t *inn, int count, u32 dv); |
| | 70 | void poly_8bp_l1d0m0std_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 71 | void poly_8bp_l1d0m0st0_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| | 72 | void poly_8bp_l1d1m0std_asm(void *d, const struct gpu_unai_inner_t *inn, int count, u32 dv); |
| | 73 | void poly_8bp_l1d1m0st0_asm(void *d, const struct gpu_unai_inner_t *inn, int count, u32 dv); |
| | 74 | |
| | 75 | #endif // HAVE_ARMV6 |
| | 76 | |
| | 77 | #ifdef __cplusplus |
| | 78 | } |
| | 79 | #endif |
| | 80 | |
| | 81 | #endif /* __GPU_UNAI_GPU_ARM_H__ */ |