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_I2_LZ4_ALIGN64
16 #define LV_ATTRIBUTE_TEST_I2_LZ4_ALIGN64
17 #endif
18 
19 static const
20 LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_TEST_I2_LZ4_ALIGN64
21 uint8_t test_I2_LZ4_align64_map[] = {
22 
23     0x02,0x00,0x00,0x00,0x67,0x02,0x00,0x00,0x90,0x07,0x00,0x00,0xfd,0x01,0x5a,0x00,
24     0x3d,0xf3,0x5e,0xff,0xf4,0xe3,0x21,0xba,0xba,0x08,0x38,0xff,0x13,0xff,0x01,0x00,
25     0x29,0xfc,0x00,0x01,0x00,0x2b,0xea,0xaa,0x01,0x00,0x19,0xac,0x1f,0x00,0x0f,0x20,
26     0x00,0x0e,0x53,0xe8,0x00,0x01,0x55,0x56,0x43,0x00,0x5b,0xa8,0x00,0x00,0x00,0x00,
27     0x40,0x00,0x02,0x20,0x00,0xbf,0xa8,0x00,0x2a,0xaa,0xaa,0xaa,0xa8,0xaa,0xaa,0xaa,
28     0xa8,0x20,0x00,0x02,0xbf,0x80,0x00,0x02,0xaa,0xa8,0x2a,0xa8,0x80,0x00,0x00,0x08,
29     0x20,0x00,0x02,0xbf,0x00,0x00,0x00,0xaa,0xa0,0x0a,0xa8,0x8a,0xaa,0xaa,0x88,0x20,
30     0x00,0x01,0xbf,0xa8,0x00,0x00,0x00,0x2a,0xa0,0x0a,0xa8,0x88,0x00,0x00,0x20,0x00,
31     0x07,0x6f,0xa8,0x2a,0xa8,0x88,0xaa,0xa8,0x20,0x00,0x02,0xbf,0xa0,0x00,0x00,0x00,
32     0x0a,0xaa,0xaa,0xa8,0x88,0x80,0x08,0x20,0x00,0x0b,0x2c,0x8a,0x88,0x20,0x00,0x51,
33     0xe9,0x55,0x54,0x00,0x02,0x40,0x00,0x5f,0xa0,0x0a,0xa8,0x88,0x88,0x20,0x00,0x08,
34     0x2f,0x80,0x02,0x40,0x00,0x0b,0x2f,0x00,0x00,0x80,0x00,0x01,0x06,0x60,0x00,0x2f,
35     0x00,0x00,0xc0,0x00,0x01,0x01,0x20,0x00,0x01,0x00,0x01,0x2f,0x00,0x00,0x00,0x01,
36     0x01,0x09,0x20,0x00,0x0f,0x40,0x01,0x00,0x01,0x20,0x00,0x7f,0xaa,0x00,0x00,0x00,
37     0xaa,0x80,0x02,0x80,0x01,0x01,0x02,0x20,0x00,0x6f,0x80,0x00,0x02,0xaa,0xa0,0x0a,
38     0xc0,0x01,0x01,0x02,0x20,0x02,0x03,0xe0,0x01,0x0f,0x00,0x02,0x00,0x02,0x20,0x00,
39     0x07,0x02,0x00,0x0b,0xc0,0x01,0x0f,0x20,0x00,0x12,0x17,0x80,0x94,0x02,0x0c,0x40,
40     0x00,0x37,0xa0,0x00,0x0a,0x5e,0x00,0x0e,0x60,0x00,0x3f,0x00,0x00,0x00,0x20,0x00,
41     0x0d,0x18,0x2a,0x21,0x00,0x0c,0x60,0x00,0x21,0x00,0xaa,0xbc,0x02,0x05,0x02,0x00,
42     0x0e,0x20,0x00,0x23,0x80,0x0a,0x00,0x01,0x01,0x02,0x00,0x0c,0x20,0x00,0x81,0x02,
43     0xaa,0x80,0x0a,0xaa,0xa0,0x00,0x02,0x1d,0x00,0x0f,0x20,0x00,0x00,0x6f,0xaa,0xaa,
44     0x80,0x0a,0xaa,0x80,0x20,0x00,0x07,0x72,0xa8,0x00,0x00,0x0a,0xaa,0xa0,0xaa,0xc5,
45     0x00,0x3c,0x88,0xa2,0xa2,0x60,0x00,0x18,0x80,0x20,0x00,0x0f,0x60,0x00,0x00,0x02,
46     0xdb,0x02,0x5f,0x80,0x00,0xaa,0xaa,0xa0,0x20,0x00,0x01,0x31,0xe8,0x00,0x2a,0xa0,
47     0x00,0x23,0x00,0xaa,0xe8,0x00,0x0b,0x60,0x00,0x11,0xe8,0xe0,0x00,0x7f,0x80,0x00,
48     0x00,0xaa,0xaa,0x0a,0x0a,0x80,0x00,0x00,0x03,0x20,0x00,0x51,0x2a,0x00,0xaa,0xaa,
49     0xa8,0x89,0x01,0x0d,0x40,0x00,0x92,0x28,0x00,0x0a,0xaa,0x80,0xaa,0x00,0xaa,0xaa,
50     0xa9,0x01,0x0b,0x20,0x00,0xbf,0xea,0x00,0x00,0x00,0x02,0xaa,0x80,0x08,0x00,0xaa,
51     0xa8,0x60,0x00,0x02,0x21,0xea,0x00,0x9c,0x02,0x5f,0x00,0x00,0x2a,0xaa,0x08,0x60,
52     0x00,0x01,0xdf,0xea,0x80,0x00,0x80,0x02,0xaa,0xa0,0x00,0x80,0x2a,0xaa,0x00,0x02,
53     0xa0,0x00,0x00,0x0f,0x60,0x02,0x12,0x08,0x02,0x00,0x0b,0xa0,0x00,0x11,0xeb,0x41,
54     0x05,0x8e,0xf7,0x55,0x55,0x55,0x55,0x55,0x56,0x66,0x60,0x01,0x02,0x20,0x00,0x11,
55     0xdd,0x20,0x00,0x3f,0x65,0x99,0x99,0x40,0x00,0x0c,0x1f,0x6a,0x20,0x00,0x04,0x13,
56     0xfd,0x40,0x00,0x2f,0xa6,0x6a,0x80,0x00,0x03,0x02,0x60,0x00,0x2f,0x59,0x9a,0x40,
57     0x00,0x05,0x02,0xa0,0x00,0x1f,0x95,0x80,0x00,0x06,0x03,0x40,0x00,0x1f,0x99,0xc0,
58     0x00,0x05,0x02,0x40,0x00,0x4f,0x56,0x66,0x99,0x9a,0x80,0x00,0x08,0x2f,0x56,0x65,
59     0x40,0x00,0x0c,0x1f,0x59,0x80,0x00,0x0c,0x0f,0x40,0x01,0x07,0x02,0x80,0x00,0x2f,
60     0x65,0x99,0x80,0x00,0x0a,0x0f,0xc0,0x00,0x11,0x0d,0x60,0x01,0x0f,0x00,0x02,0x2d,
61     0x0f,0x40,0x00,0x0d,0x01,0x1f,0x02,0x08,0x02,0x00,0x06,0x60,0x07,0x50,0x00,0x00,
62     0x00,0x00,0x00,
63 
64 };
65 
66 const lv_image_dsc_t test_I2_LZ4_align64 = {
67   .header.magic = LV_IMAGE_HEADER_MAGIC,
68   .header.cf = LV_COLOR_FORMAT_I2,
69   .header.flags = 0 | LV_IMAGE_FLAGS_COMPRESSED,
70   .header.w = 71,
71   .header.h = 60,
72   .header.stride = 32,
73   .data_size = sizeof(test_I2_LZ4_align64_map),
74   .data = test_I2_LZ4_align64_map,
75 };
76 
77