1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* ... */
#ifndef __ANIME_H
#define __ANIME_H
#define BPP_ARGB8888 0
#define BPP_RGB888 1
#define BPP_RGB565 2
#define BPP_ARGB1555 3
#define BPP_ARGB4444 4
#define BPP_L8 5
#define BPP_AL44 6
#define BPP_AL88 7
#define BPP_L4 8
#define BPP_A8 9
#define BPP_A4 10
12 defines
typedef struct
{
uint32_t* address;
uint8_t bpp;
uint16_t size_x;
uint16_t size_y;
uint32_t clut_address;
uint32_t clut_size;
uint8_t animation;
...} anime_object_t;
Exported types
/* ... */#endif