1 
2 #if defined(LV_LVGL_H_INCLUDE_SIMPLE)
3 #include "lvgl.h"
4 #elif defined(LV_BUILD_TEST)
5 #include "../lvgl.h"
6 #else
7 #include "lvgl/lvgl.h"
8 #endif
9 
10 
11 #ifndef LV_ATTRIBUTE_MEM_ALIGN
12 #define LV_ATTRIBUTE_MEM_ALIGN
13 #endif
14 
15 #ifndef LV_ATTRIBUTE_TEST_A4_LZ4_ALIGN64
16 #define LV_ATTRIBUTE_TEST_A4_LZ4_ALIGN64
17 #endif
18 
19 static const
20 LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_TEST_A4_LZ4_ALIGN64
21 uint8_t test_A4_LZ4_align64_map[] = {
22 
23     0x02,0x00,0x00,0x00,0x5f,0x03,0x00,0x00,0x40,0x0b,0x00,0x00,0x1f,0xff,0x01,0x00,
24     0x0f,0x27,0xf0,0x00,0x01,0x00,0x09,0x0d,0x00,0x0f,0x02,0x00,0x03,0x09,0x23,0x00,
25     0x09,0x0d,0x00,0x0f,0x02,0x00,0x03,0x09,0x23,0x00,0x23,0xf0,0x0f,0x91,0x00,0x09,
26     0x16,0x00,0x34,0x00,0x00,0x00,0x18,0x00,0x29,0xff,0x00,0x1a,0x00,0x09,0x30,0x00,
27     0x41,0x39,0xdf,0xfd,0x93,0x2d,0x00,0x41,0x00,0x00,0x00,0x0f,0x06,0x00,0x3f,0x00,
28     0x00,0x0f,0x30,0x00,0x07,0x10,0x19,0xfd,0x00,0x93,0x91,0x00,0x00,0x00,0x6d,0xd6,
29     0x00,0x00,0x0f,0x61,0x00,0x0f,0x30,0x00,0x07,0x20,0x01,0xaf,0x2d,0x01,0x92,0xfa,
30     0x10,0x00,0x00,0xdf,0xfd,0x00,0x00,0x0f,0x61,0x00,0x1f,0x0f,0x30,0x00,0x07,0x12,
31     0x09,0xca,0x00,0x14,0x90,0x30,0x00,0x01,0x61,0x00,0x0f,0x30,0x00,0x08,0x12,0x3f,
32     0x30,0x00,0x14,0xf3,0x90,0x00,0x5f,0x0f,0x00,0x00,0x00,0x0f,0x30,0x00,0x08,0x12,
33     0x9f,0x30,0x00,0x12,0xf9,0xe9,0x00,0x11,0x0f,0x61,0x00,0x0f,0x30,0x00,0x09,0x12,
34     0xdf,0x30,0x00,0x16,0xfd,0x30,0x00,0x2f,0x00,0x0f,0x30,0x00,0x09,0x02,0x2f,0x00,
35     0x71,0xff,0xff,0x00,0x04,0xaf,0xfa,0x40,0x2b,0x00,0x01,0x02,0x00,0x0f,0x50,0x01,
36     0x06,0x05,0x30,0x00,0x41,0x4d,0xff,0xff,0xd4,0x30,0x00,0x02,0x05,0x00,0x0f,0xb0,
37     0x01,0x05,0x05,0x90,0x00,0x41,0xaf,0xff,0xff,0xfa,0x2b,0x00,0x0f,0xc0,0x00,0x0b,
38     0x05,0xf0,0x00,0x01,0x95,0x00,0x0f,0x20,0x01,0x0f,0x05,0x50,0x01,0x04,0x30,0x00,
39     0x00,0xec,0x02,0x0f,0xc0,0x00,0x08,0x05,0xb0,0x01,0x03,0x90,0x00,0x01,0x28,0x01,
40     0x0f,0x30,0x00,0x08,0x05,0x10,0x02,0x03,0xf0,0x00,0x02,0x00,0x01,0x0f,0xf0,0x00,
41     0x07,0x05,0x70,0x02,0x02,0x50,0x01,0x01,0x5f,0x00,0x0e,0xa0,0x02,0x03,0x17,0x00,
42     0x01,0x02,0x00,0x09,0xd0,0x02,0x02,0x5f,0x00,0x0d,0x00,0x03,0x01,0x29,0x00,0x0f,
43     0x02,0x00,0x0a,0x0a,0x80,0x01,0x0f,0x2b,0x00,0x0a,0x01,0x02,0x00,0x0d,0x30,0x00,
44     0x21,0x12,0x32,0xa9,0x00,0x04,0x81,0x00,0x0b,0x02,0x00,0x0a,0x53,0x00,0x81,0xf0,
45     0x00,0x03,0x9d,0xff,0xff,0xfc,0x50,0x4a,0x00,0x0f,0x02,0x00,0x03,0x0b,0x60,0x00,
46     0x6f,0xbf,0xff,0xff,0xff,0xff,0xfb,0x2b,0x00,0x03,0x01,0x02,0x00,0x0b,0x30,0x00,
47     0x11,0xef,0x80,0x00,0x11,0xa0,0x1b,0x00,0x0f,0x02,0x00,0x02,0x0c,0x30,0x00,0x6f,
48     0xfe,0x40,0x03,0xdf,0xff,0xf2,0x2b,0x00,0x02,0x01,0x02,0x00,0x0c,0x30,0x00,0xd5,
49     0xfa,0x00,0x00,0x4f,0xff,0xf6,0x00,0x00,0x00,0x00,0x17,0xbd,0xed,0x50,0x04,0x06,
50     0x02,0x00,0x0b,0x30,0x00,0xb0,0xbd,0xd6,0x00,0x00,0x0f,0xff,0xf8,0x00,0x00,0x00,
51     0x05,0x4d,0x05,0x16,0x70,0x29,0x00,0x03,0x02,0x00,0x0b,0x30,0x00,0xf3,0x01,0x00,
52     0x00,0x00,0x01,0x1f,0xff,0xf9,0x00,0x00,0x00,0x06,0xff,0xe8,0x8d,0xff,0xf3,0x26,
53     0x00,0x06,0x02,0x00,0x01,0x23,0x00,0x04,0x02,0x00,0x53,0xf0,0x00,0x00,0x5a,0xef,
54     0xe6,0x03,0x41,0x06,0xff,0x40,0x01,0x69,0x00,0x03,0x02,0x00,0x01,0x9c,0x02,0x1c,
55     0xf0,0x80,0x01,0x11,0x1c,0x20,0x01,0xa3,0xf9,0x00,0x00,0x00,0x04,0xaa,0x10,0x00,
56     0xcf,0xfa,0x2d,0x00,0x06,0x02,0x00,0x0b,0x60,0x00,0x51,0xdf,0xff,0xfe,0xcb,0xbf,
57     0x90,0x00,0x51,0x00,0x01,0x57,0x89,0xef,0x30,0x00,0x3f,0x15,0x76,0x10,0x30,0x00,
58     0x05,0x62,0x07,0xff,0xff,0x70,0x00,0x0f,0x30,0x00,0xcf,0x8f,0xff,0xff,0xff,0xfa,
59     0x00,0x00,0x00,0x01,0xff,0xef,0xf4,0x30,0x00,0x05,0x43,0x0b,0xff,0xfd,0x00,0x30,
60     0x00,0x41,0x08,0xff,0xfb,0x88,0x60,0x00,0x41,0x01,0xf7,0x05,0xfb,0xdd,0x04,0x0f,
61     0xc0,0x00,0x00,0x61,0x0d,0xff,0xfc,0x00,0x00,0x2f,0x60,0x00,0x33,0x0f,0xff,0x80,
62     0xc0,0x00,0x3f,0x24,0x68,0xfc,0x60,0x00,0x07,0x41,0xff,0x71,0x16,0xef,0x30,0x00,
63     0x51,0x1f,0xff,0x50,0x00,0xdf,0x90,0x00,0x23,0xcf,0xdd,0xe6,0x04,0x0e,0xf0,0x00,
64     0x11,0x06,0x1f,0x01,0xff,0x03,0xff,0xff,0xd4,0x00,0x00,0x0f,0xff,0xd5,0x5c,0xff,
65     0xfc,0x10,0x00,0x00,0x06,0xfa,0x03,0xfd,0x90,0x00,0x05,0xf2,0x0a,0x00,0xcf,0xff,
66     0xff,0xff,0xbc,0xff,0xff,0xf6,0x00,0x00,0x09,0xff,0xff,0xff,0xef,0xff,0xf0,0x00,
67     0x00,0x06,0xfd,0x6b,0xfd,0x20,0x5d,0x00,0x0d,0x60,0x00,0x61,0x00,0x09,0xff,0xff,
68     0xf8,0x07,0x30,0x00,0xef,0x00,0x9f,0xff,0xe5,0x6f,0xff,0xf0,0x00,0x00,0x00,0xbf,
69     0xf8,0xff,0x90,0xb0,0x01,0x05,0x31,0x00,0x03,0x43,0x47,0x00,0x52,0x00,0x00,0x00,
70     0x00,0x33,0x07,0x00,0x23,0x00,0x01,0x08,0x00,0x01,0x02,0x00,0x0b,0xb0,0x01,0x01,
71     0x14,0x00,0x0f,0x02,0x00,0x09,0x09,0x23,0x00,0x05,0x20,0x07,0x06,0x02,0x00,0xdd,
72     0xee,0xdd,0xcb,0xba,0xa9,0x98,0x87,0x76,0x65,0x44,0x33,0x22,0x11,0xc0,0x00,0x01,
73     0xa6,0x06,0x09,0x02,0x00,0x05,0x30,0x00,0x1f,0x54,0x30,0x00,0x1c,0x0f,0x60,0x00,
74     0x7d,0x0f,0x90,0x00,0x1d,0x0f,0x30,0x00,0x75,0x1f,0xdc,0xb0,0x01,0x24,0x0f,0xc0,
75     0x00,0x1d,0x0f,0xe0,0x01,0x62,0x0f,0xca,0x02,0x09,0x02,0x02,0x00,0x0a,0xd0,0x02,
76     0x02,0x14,0x00,0x0f,0x02,0x00,0x09,0x0f,0x30,0x00,0x2a,0x09,0xfa,0x02,0x0f,0x02,
77     0x00,0x03,0x04,0x60,0x00,0x50,0x00,0x00,0x00,0x00,0x00,
78 
79 };
80 
81 const lv_image_dsc_t test_A4_LZ4_align64 = {
82   .header.magic = LV_IMAGE_HEADER_MAGIC,
83   .header.cf = LV_COLOR_FORMAT_A4,
84   .header.flags = 0 | LV_IMAGE_FLAGS_COMPRESSED,
85   .header.w = 71,
86   .header.h = 60,
87   .header.stride = 48,
88   .data_size = sizeof(test_A4_LZ4_align64_map),
89   .data = test_A4_LZ4_align64_map,
90 };
91 
92