| 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 | |
| aaf0bb59 |
10 | void tile_driver_st0_asm(void *d, u16 c, u32 cnt, const struct gpu_unai_inner_t *inn); |
| 11 | void tile_driver_st1_asm(void *d, u16 c, u32 cnt, const struct gpu_unai_inner_t *inn); |
| 12 | void tile_driver_st3_asm(void *d, u16 c, u32 cnt, const struct gpu_unai_inner_t *inn); |
| 13 | |
| d1e50db7 |
14 | void sprite_driver_4bpp_asm(void *pPixel, const u8 *pTxt_base, |
| 8177857b |
15 | u32 count, const struct gpu_unai_inner_t *inn); |
| d1e50db7 |
16 | void sprite_driver_8bpp_asm(void *pPixel, const u8 *pTxt_base, |
| 8177857b |
17 | u32 count, const struct gpu_unai_inner_t *inn); |
| 18 | void sprite_driver_16bpp_asm(void *pPixel, const void *pTxt_base, |
| 19 | u32 count, const struct gpu_unai_inner_t *inn); |
| d1e50db7 |
20 | void sprite_4bpp_x16_asm(void *d, const void *s, void *pal, int lines); |
| 0bfe8d59 |
21 | |
| 8177857b |
22 | void sprite_driver_4bpp_l0_std_asm(void *pPixel, const u8 *pTxt_base, |
| 23 | u32 count, const struct gpu_unai_inner_t *inn); |
| aaf0bb59 |
24 | void sprite_driver_4bpp_l0_st0_asm(void *pPixel, const u8 *pTxt_base, |
| 25 | u32 count, const struct gpu_unai_inner_t *inn); |
| 8177857b |
26 | void sprite_driver_8bpp_l0_std_asm(void *pPixel, const u8 *pTxt_base, |
| 27 | u32 count, const struct gpu_unai_inner_t *inn); |
| aaf0bb59 |
28 | void sprite_driver_8bpp_l0_st0_asm(void *pPixel, const u8 *pTxt_base, |
| 29 | u32 count, const struct gpu_unai_inner_t *inn); |
| 30 | |
| 31 | void poly_untex_st0_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| 32 | void poly_untex_st1_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| 33 | void poly_untex_st3_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| 34 | void poly_4bpp_asm (void *d, const struct gpu_unai_inner_t *inn, int count); |
| 35 | void poly_4bpp_l0_st0_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| 36 | void poly_8bpp_asm (void *d, const struct gpu_unai_inner_t *inn, int count); |
| 37 | void poly_8bpp_l0_st0_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| 8177857b |
38 | |
| 39 | #ifdef HAVE_ARMV6 |
| 40 | |
| aaf0bb59 |
41 | void tile_driver_st2_asm(void *d, u16 c, u32 cnt, const struct gpu_unai_inner_t *inn); |
| 42 | |
| 8177857b |
43 | void sprite_driver_4bpp_l1_std_asm(void *pPixel, const u8 *pTxt_base, |
| 44 | u32 count, const struct gpu_unai_inner_t *inn); |
| 45 | void sprite_driver_4bpp_l1_st0_asm(void *pPixel, const u8 *pTxt_base, |
| 46 | u32 count, const struct gpu_unai_inner_t *inn); |
| 47 | void sprite_driver_4bpp_l1_st1_asm(void *pPixel, const u8 *pTxt_base, |
| 48 | u32 count, const struct gpu_unai_inner_t *inn); |
| 8177857b |
49 | void sprite_driver_8bpp_l1_std_asm(void *pPixel, const u8 *pTxt_base, |
| 50 | u32 count, const struct gpu_unai_inner_t *inn); |
| 51 | void sprite_driver_8bpp_l1_st0_asm(void *pPixel, const u8 *pTxt_base, |
| 52 | u32 count, const struct gpu_unai_inner_t *inn); |
| 53 | void sprite_driver_8bpp_l1_st1_asm(void *pPixel, const u8 *pTxt_base, |
| 54 | u32 count, const struct gpu_unai_inner_t *inn); |
| aaf0bb59 |
55 | |
| 56 | void poly_untex_st2_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| 8177857b |
57 | void poly_4bpp_l1_std_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| 58 | void poly_4bpp_l1_st0_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| 8177857b |
59 | void poly_8bpp_l1_std_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| 60 | void poly_8bpp_l1_st0_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| 61 | |
| 62 | #endif // HAVE_ARMV6 |
| 2682f6ed |
63 | |
| 0bfe8d59 |
64 | #ifdef __cplusplus |
| 65 | } |
| 66 | #endif |
| 67 | |
| 68 | #endif /* __GPU_UNAI_GPU_ARM_H__ */ |