| 1 |
|
| 2 |
#if defined(LV_LVGL_H_INCLUDE_SIMPLE) |
| 3 |
#include "lvgl.h" |
| 4 |
#elif defined(LV_LVGL_H_INCLUDE_SYSTEM) |
| 5 |
#include <lvgl.h> |
| 6 |
#elif defined(LV_BUILD_TEST) |
| 7 |
#include "../lvgl.h" |
| 8 |
#else |
| 9 |
#include "lvgl/lvgl.h" |
| 10 |
#endif |
| 11 |
|
| 12 |
#ifndef LV_ATTRIBUTE_MEM_ALIGN |
| 13 |
#define LV_ATTRIBUTE_MEM_ALIGN |
| 14 |
#endif |
| 15 |
|
| 16 |
#ifndef LV_ATTRIBUTE_TEST_A1_LZ4_ALIGN1 |
| 17 |
#define LV_ATTRIBUTE_TEST_A1_LZ4_ALIGN1 |
| 18 |
#endif |
| 19 |
|
| 20 |
static const |
| 21 |
LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_TEST_A1_LZ4_ALIGN1 |
| 22 |
uint8_t test_A1_LZ4_align1_map[] = { |
| 23 |
|
| 24 |
0x02,0x00,0x00,0x00,0x4f,0x01,0x00,0x00,0xc0,0x03,0x00,0x00,0x13,0xff,0x01,0x00, |
| 25 |
0x22,0xfe,0x00,0x01,0x00,0x12,0x80,0x07,0x00,0x23,0x00,0x02,0x08,0x00,0x0c,0x10, |
| 26 |
0x00,0x93,0x9f,0xff,0xe0,0x00,0x00,0x00,0x1f,0xff,0xf2,0x20,0x00,0x96,0x9f,0xff, |
| 27 |
0xe0,0x1f,0x80,0x00,0x10,0x00,0x12,0x10,0x00,0x66,0x7f,0xe0,0x18,0x17,0xff,0xd2, |
| 28 |
0x10,0x00,0x65,0xff,0xf0,0x3c,0x14,0x00,0x52,0x10,0x00,0x69,0xe1,0xff,0xf8,0x3c, |
| 29 |
0x15,0xff,0x10,0x00,0x36,0x18,0x15,0x01,0x10,0x00,0x6b,0xe3,0xff,0xfc,0x00,0x15, |
| 30 |
0x7d,0x10,0x00,0x19,0x45,0x10,0x00,0x39,0x3c,0x15,0x55,0x10,0x00,0x1b,0x7e,0x20, |
| 31 |
0x00,0x1b,0xff,0x40,0x00,0x18,0xff,0x60,0x00,0x4b,0xe1,0xff,0xf8,0xff,0x80,0x00, |
| 32 |
0x18,0xff,0xa0,0x00,0x49,0xe0,0xff,0xf0,0x7e,0xc0,0x00,0x36,0x7f,0xe0,0x3c,0xe0, |
| 33 |
0x00,0x57,0x80,0x00,0x00,0x1f,0x80,0x00,0x01,0x0c,0x20,0x01,0x0e,0x10,0x00,0x11, |
| 34 |
0x07,0x62,0x01,0x04,0x30,0x01,0x22,0x83,0xfc,0x09,0x01,0x04,0x60,0x01,0x2c,0x8f, |
| 35 |
0xff,0x10,0x00,0x02,0x42,0x00,0x05,0x20,0x00,0x1b,0x0f,0x10,0x00,0x21,0x07,0x80, |
| 36 |
0x12,0x00,0x04,0x20,0x00,0x58,0x8e,0x07,0xc0,0x3f,0xc0,0xb0,0x01,0x47,0x07,0xc0, |
| 37 |
0x3f,0xe0,0x10,0x00,0x92,0x81,0xff,0xc0,0x30,0xf0,0x00,0x00,0x52,0x22,0x67,0x00, |
| 38 |
0x22,0x00,0x87,0x10,0x00,0x05,0xe0,0x01,0x49,0x8f,0xff,0xc0,0x03,0x10,0x00,0x65, |
| 39 |
0x07,0xc0,0x3f,0xf0,0x0f,0x80,0x20,0x00,0x75,0x9f,0x07,0xc0,0x7f,0xf0,0x08,0xc0, |
| 40 |
0x40,0x00,0x76,0x9f,0x07,0xc0,0x78,0xf0,0x01,0xc0,0x20,0x00,0x56,0x0f,0xc0,0x70, |
| 41 |
0xf0,0x0f,0x10,0x00,0x66,0x8f,0xff,0xe0,0x79,0xf0,0x0c,0x30,0x00,0x66,0x8f,0xff, |
| 42 |
0xe0,0x7f,0xf8,0x0d,0x20,0x00,0x75,0x87,0xf3,0xe0,0x3e,0x78,0x0f,0xe0,0x50,0x00, |
| 43 |
0x02,0xde,0x00,0x06,0xd0,0x00,0x0c,0x10,0x00,0x11,0x9f,0x3e,0x01,0x16,0xe0,0x70, |
| 44 |
0x00,0x0f,0x10,0x00,0xbc,0x0c,0xf0,0x00,0x0f,0x10,0x00,0x0d,0x01,0xff,0x00,0xb0, |
| 45 |
0xff,0xff,0xff,0xfe,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
| 46 |
|
| 47 |
}; |
| 48 |
|
| 49 |
const lv_image_dsc_t test_A1_LZ4_align1 = { |
| 50 |
.header = { |
| 51 |
.magic = LV_IMAGE_HEADER_MAGIC, |
| 52 |
.cf = LV_COLOR_FORMAT_A1, |
| 53 |
.flags = 0 | LV_IMAGE_FLAGS_COMPRESSED, |
| 54 |
.w = 71, |
| 55 |
.h = 60, |
| 56 |
.stride = 16, |
| 57 |
.reserved_2 = 0, |
| 58 |
}, |
| 59 |
.data_size = sizeof(test_A1_LZ4_align1_map), |
| 60 |
.data = test_A1_LZ4_align1_map, |
| 61 |
.reserved = NULL, |
| 62 |
}; |
| 63 |
|