| 0bfe8d59 |
1 | #ifndef __GPU_UNAI_GPU_ARM_H__ |
| 2 | #define __GPU_UNAI_GPU_ARM_H__ |
| 3 | |
| 4 | #ifdef __cplusplus |
| 5 | extern "C" { |
| 6 | #endif |
| 7 | |
| 2682f6ed |
8 | struct gpu_unai_inner_t; |
| d1e50db7 |
9 | |
| 04e318a2 |
10 | void gpu_fill_asm(void *d, u32 rgbx2, u32 w, u32 h); |
| 11 | |
| aaf0bb59 |
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 | |
| d1e50db7 |
16 | void sprite_driver_4bpp_asm(void *pPixel, const u8 *pTxt_base, |
| 8177857b |
17 | u32 count, const struct gpu_unai_inner_t *inn); |
| d1e50db7 |
18 | void sprite_driver_8bpp_asm(void *pPixel, const u8 *pTxt_base, |
| 8177857b |
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); |
| d1e50db7 |
22 | void sprite_4bpp_x16_asm(void *d, const void *s, void *pal, int lines); |
| 0bfe8d59 |
23 | |
| 8177857b |
24 | void sprite_driver_4bpp_l0_std_asm(void *pPixel, const u8 *pTxt_base, |
| 25 | u32 count, const struct gpu_unai_inner_t *inn); |
| aaf0bb59 |
26 | void sprite_driver_4bpp_l0_st0_asm(void *pPixel, const u8 *pTxt_base, |
| 27 | u32 count, const struct gpu_unai_inner_t *inn); |
| 8177857b |
28 | void sprite_driver_8bpp_l0_std_asm(void *pPixel, const u8 *pTxt_base, |
| 29 | u32 count, const struct gpu_unai_inner_t *inn); |
| aaf0bb59 |
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 | |
| 04e318a2 |
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); |
| 8177857b |
40 | |
| 41 | #ifdef HAVE_ARMV6 |
| 42 | |
| aaf0bb59 |
43 | void tile_driver_st2_asm(void *d, u16 c, u32 cnt, const struct gpu_unai_inner_t *inn); |
| 44 | |
| 8177857b |
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); |
| 8177857b |
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); |
| aaf0bb59 |
57 | |
| 04e318a2 |
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); |
| 8177857b |
74 | |
| 75 | #endif // HAVE_ARMV6 |
| 2682f6ed |
76 | |
| 0bfe8d59 |
77 | #ifdef __cplusplus |
| 78 | } |
| 79 | #endif |
| 80 | |
| 81 | #endif /* __GPU_UNAI_GPU_ARM_H__ */ |