| 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_RLE_ALIGN64 |
| 17 |
#define LV_ATTRIBUTE_TEST_A1_RLE_ALIGN64 |
| 18 |
#endif |
| 19 |
|
| 20 |
static const |
| 21 |
LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_TEST_A1_RLE_ALIGN64 |
| 22 |
uint8_t test_A1_RLE_align64_map[] = { |
| 23 |
|
| 24 |
0x01,0x00,0x00,0x00,0xc8,0x03,0x00,0x00,0xc0,0x03,0x00,0x00,0xff,0xff,0xff,0xff, |
| 25 |
0xff,0xff,0xff,0xff,0xff,0xfe,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00, |
| 26 |
0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00, |
| 27 |
0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9f,0xff,0xe0, |
| 28 |
0x00,0x00,0x00,0x1f,0xff,0xf2,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9f,0xff,0xe0, |
| 29 |
0x1f,0x80,0x00,0x10,0x00,0x12,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9f,0xff,0xe0, |
| 30 |
0x7f,0xe0,0x18,0x17,0xff,0xd2,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9f,0xff,0xe0, |
| 31 |
0xff,0xf0,0x3c,0x14,0x00,0x52,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9f,0xff,0xe1, |
| 32 |
0xff,0xf8,0x3c,0x15,0xff,0x52,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x9f,0xff, |
| 33 |
0xe1,0xff,0xf8,0x18,0x15,0x01,0x52,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9f,0xff, |
| 34 |
0xe3,0xff,0xfc,0x00,0x15,0x7d,0x52,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9f,0xff, |
| 35 |
0xe3,0xff,0xfc,0x00,0x15,0x45,0x52,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9f,0xff, |
| 36 |
0xe3,0xff,0xfc,0x3c,0x15,0x55,0x52,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9f,0xff, |
| 37 |
0xe3,0xff,0xfc,0x7e,0x15,0x45,0x52,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9f,0xff, |
| 38 |
0xe3,0xff,0xfc,0xff,0x15,0x7d,0x52,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9f,0xff, |
| 39 |
0xe3,0xff,0xfc,0xff,0x15,0x01,0x52,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9f,0xff, |
| 40 |
0xe1,0xff,0xf8,0xff,0x15,0xff,0x52,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x9f, |
| 41 |
0xff,0xe1,0xff,0xf8,0xff,0x14,0x00,0x52,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9f, |
| 42 |
0xff,0xe0,0xff,0xf0,0x7e,0x17,0xff,0xd2,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9f, |
| 43 |
0xff,0xe0,0x7f,0xe0,0x3c,0x10,0x00,0x12,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80, |
| 44 |
0x00,0x00,0x1f,0x80,0x00,0x1f,0xff,0xf2,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80, |
| 45 |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80, |
| 46 |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80, |
| 47 |
0x00,0x07,0xff,0xff,0xff,0xff,0xff,0xf2,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x83, |
| 48 |
0xfc,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00, |
| 49 |
0x8f,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
| 50 |
0x8f,0xff,0x80,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
| 51 |
0x8f,0x0f,0x80,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
| 52 |
0x8f,0x07,0x80,0x0f,0x80,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
| 53 |
0x8e,0x07,0xc0,0x3f,0xc0,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
| 54 |
0x80,0x07,0xc0,0x3f,0xe0,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
| 55 |
0x81,0xff,0xc0,0x30,0xf0,0x00,0x00,0x52,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
| 56 |
0x87,0xff,0xc0,0x30,0xf0,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0xff,0x00,0x00,0x00, |
| 57 |
0x00,0x8f,0xff,0xc0,0x03,0xf0,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00, |
| 58 |
0x00,0x8f,0x07,0xc0,0x3f,0xf0,0x0f,0x80,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00, |
| 59 |
0x00,0x9f,0x07,0xc0,0x7f,0xf0,0x08,0xc0,0x52,0x22,0x00,0x00,0x00,0x00,0x00,0x00, |
| 60 |
0x00,0x9f,0x07,0xc0,0x78,0xf0,0x01,0xc0,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00, |
| 61 |
0x00,0x9f,0x0f,0xc0,0x70,0xf0,0x0f,0xc0,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00, |
| 62 |
0x00,0x8f,0xff,0xe0,0x79,0xf0,0x0c,0xc0,0x52,0x22,0x00,0x00,0x00,0x00,0x00,0x00, |
| 63 |
0x00,0x8f,0xff,0xe0,0x7f,0xf8,0x0d,0xc0,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00, |
| 64 |
0x00,0x87,0xf3,0xe0,0x3e,0x78,0x0f,0xe0,0x52,0x22,0x00,0x00,0xff,0x00,0x00,0x00, |
| 65 |
0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00, |
| 66 |
0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00, |
| 67 |
0x00,0x00,0x9f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x02,0x00,0x00,0x00,0x00,0x00, |
| 68 |
0x00,0x00,0x9f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x02,0x00,0x00,0x00,0x00,0x00, |
| 69 |
0x00,0x00,0x9f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x02,0x00,0x00,0x00,0x00,0x00, |
| 70 |
0x00,0x00,0x9f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x02,0x00,0x00,0x00,0x00,0x00, |
| 71 |
0x00,0x00,0x9f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x02,0x00,0x00,0x00,0x00,0x00, |
| 72 |
0x00,0x00,0x9f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x02,0x00,0xff,0x00,0x00,0x00, |
| 73 |
0x00,0x00,0x00,0x9f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x02,0x00,0x00,0x00,0x00, |
| 74 |
0x00,0x00,0x00,0x9f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x02,0x00,0x00,0x00,0x00, |
| 75 |
0x00,0x00,0x00,0x9f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x02,0x00,0x00,0x00,0x00, |
| 76 |
0x00,0x00,0x00,0x9f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x02,0x00,0x00,0x00,0x00, |
| 77 |
0x00,0x00,0x00,0x9f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x02,0x00,0x00,0x00,0x00, |
| 78 |
0x00,0x00,0x00,0x9f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x02,0x00,0x00,0x00,0x00, |
| 79 |
0x00,0x00,0x00,0x9f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x02,0x00,0x00,0x00,0x00, |
| 80 |
0x00,0x00,0x00,0x9f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x02,0xc7,0x00,0x00,0x00, |
| 81 |
0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00, |
| 82 |
0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00, |
| 83 |
0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00, |
| 84 |
0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0x00,0x00,0x00, |
| 85 |
0x00,0x00,0x00,0x00, |
| 86 |
|
| 87 |
}; |
| 88 |
|
| 89 |
const lv_image_dsc_t test_A1_RLE_align64 = { |
| 90 |
.header = { |
| 91 |
.magic = LV_IMAGE_HEADER_MAGIC, |
| 92 |
.cf = LV_COLOR_FORMAT_A1, |
| 93 |
.flags = 0 | LV_IMAGE_FLAGS_COMPRESSED, |
| 94 |
.w = 71, |
| 95 |
.h = 60, |
| 96 |
.stride = 16, |
| 97 |
.reserved_2 = 0, |
| 98 |
}, |
| 99 |
.data_size = sizeof(test_A1_RLE_align64_map), |
| 100 |
.data = test_A1_RLE_align64_map, |
| 101 |
.reserved = NULL, |
| 102 |
}; |
| 103 |
|