| 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 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 | |
| 14 | void sprite_driver_4bpp_asm(void *pPixel, const u8 *pTxt_base, |
| 15 | u32 count, const struct gpu_unai_inner_t *inn); |
| 16 | void sprite_driver_8bpp_asm(void *pPixel, const u8 *pTxt_base, |
| 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); |
| 20 | void sprite_4bpp_x16_asm(void *d, const void *s, void *pal, int lines); |
| 21 | |
| 22 | void sprite_driver_4bpp_l0_std_asm(void *pPixel, const u8 *pTxt_base, |
| 23 | u32 count, const struct gpu_unai_inner_t *inn); |
| 24 | void sprite_driver_4bpp_l0_st0_asm(void *pPixel, const u8 *pTxt_base, |
| 25 | u32 count, const struct gpu_unai_inner_t *inn); |
| 26 | void sprite_driver_8bpp_l0_std_asm(void *pPixel, const u8 *pTxt_base, |
| 27 | u32 count, const struct gpu_unai_inner_t *inn); |
| 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); |
| 38 | |
| 39 | #ifdef HAVE_ARMV6 |
| 40 | |
| 41 | void tile_driver_st2_asm(void *d, u16 c, u32 cnt, const struct gpu_unai_inner_t *inn); |
| 42 | |
| 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); |
| 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); |
| 55 | |
| 56 | void poly_untex_st2_asm(void *d, const struct gpu_unai_inner_t *inn, int count); |
| 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); |
| 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 |
| 63 | |
| 64 | #ifdef __cplusplus |
| 65 | } |
| 66 | #endif |
| 67 | |
| 68 | #endif /* __GPU_UNAI_GPU_ARM_H__ */ |