| 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_RGB565_SWAPPED_LZ4_ALIGN1 |
| 17 |
#define LV_ATTRIBUTE_TEST_RGB565_SWAPPED_LZ4_ALIGN1 |
| 18 |
#endif |
| 19 |
|
| 20 |
static const |
| 21 |
LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_TEST_RGB565_SWAPPED_LZ4_ALIGN1 |
| 22 |
uint8_t test_RGB565_SWAPPED_LZ4_align1_map[] = { |
| 23 |
|
| 24 |
0x02,0x00,0x00,0x00,0x3b,0x06,0x00,0x00,0xc0,0x21,0x00,0x00,0x2f,0x07,0xe0,0x02, |
| 25 |
0x00,0x79,0x5f,0x00,0x00,0x07,0xe0,0xff,0x01,0x00,0x76,0x0f,0x90,0x00,0x87,0x1b, |
| 26 |
0x00,0x01,0x00,0x0f,0x33,0x01,0x3d,0x2f,0xf8,0x00,0x02,0x00,0x0d,0x0a,0x20,0x01, |
| 27 |
0x0b,0x8f,0x00,0x0f,0x90,0x00,0x0c,0xff,0x00,0xbd,0xff,0x6b,0x5f,0x29,0x5f,0x00, |
| 28 |
0x3f,0x00,0x3f,0x29,0x5f,0x6b,0x5f,0xbd,0x2d,0x00,0x0b,0x01,0x02,0x00,0x02,0x70, |
| 29 |
0x00,0x0f,0x02,0x00,0x07,0x02,0x20,0x00,0x06,0xb0,0x01,0x0f,0x90,0x00,0x17,0x6a, |
| 30 |
0xe7,0x3f,0x6b,0x5f,0x00,0x1f,0x02,0x00,0x48,0x6b,0x5f,0xe7,0x3f,0x6c,0x00,0x86, |
| 31 |
0x94,0xbf,0x18,0xff,0x18,0xff,0x94,0xbf,0x14,0x00,0x2f,0xf8,0x00,0x24,0x01,0x09, |
| 32 |
0x02,0x20,0x00,0x0f,0x90,0x00,0x21,0x4a,0xe7,0x3f,0x52,0xbf,0x8c,0x00,0x02,0x02, |
| 33 |
0x00,0x28,0x52,0xbf,0x92,0x00,0x76,0x18,0xff,0x00,0x1f,0x00,0x1f,0x18,0x8f,0x00, |
| 34 |
0x16,0xff,0x74,0x00,0x0e,0x02,0x00,0x06,0x1c,0x00,0x0f,0x20,0x01,0x1f,0x0e,0x1c, |
| 35 |
0x01,0x04,0x02,0x00,0x26,0x6b,0x5f,0x6a,0x00,0x0f,0x90,0x00,0x07,0x0e,0x46,0x02, |
| 36 |
0x0f,0x90,0x00,0x29,0x11,0xbd,0xf8,0x00,0x0f,0x02,0x00,0x05,0x06,0x48,0x02,0x0f, |
| 37 |
0xb0,0x01,0x05,0x02,0x7c,0x00,0x08,0x02,0x00,0x04,0x14,0x00,0x0f,0x40,0x02,0x23, |
| 38 |
0x0f,0x1e,0x01,0x07,0x0c,0x22,0x01,0x0c,0x02,0x00,0x08,0x78,0x00,0x06,0x24,0x01, |
| 39 |
0x0a,0x18,0x00,0x0f,0xb0,0x01,0x1f,0x1d,0x29,0xca,0x02,0x08,0x02,0x00,0x17,0x29, |
| 40 |
0xb2,0x01,0x0c,0x02,0x00,0x0e,0x7c,0x00,0x0f,0x14,0x00,0x01,0x06,0x40,0x02,0x0c, |
| 41 |
0x02,0x00,0x0f,0x70,0x03,0x03,0x28,0x00,0x3f,0x80,0x00,0x0d,0x02,0x00,0x03,0x64, |
| 42 |
0x03,0xa6,0xbd,0xff,0x52,0x9f,0x08,0x7f,0x08,0x7f,0x52,0x9f,0xc2,0x01,0x0c,0x90, |
| 43 |
0x00,0x0f,0x10,0x00,0x01,0x0f,0x90,0x00,0x43,0x17,0xbd,0x46,0x01,0x15,0x29,0x9c, |
| 44 |
0x04,0x0c,0x80,0x00,0x0f,0x20,0x01,0x33,0x06,0x6a,0x00,0x0f,0x02,0x00,0x01,0x02, |
| 45 |
0xb0,0x01,0x28,0x52,0x9f,0x1c,0x00,0x2f,0x52,0x9f,0x7c,0x00,0x01,0x04,0x02,0x00, |
| 46 |
0x0a,0xa8,0x00,0x0f,0x20,0x01,0x1f,0x0f,0xd0,0x02,0x11,0x28,0x08,0x7f,0x90,0x00, |
| 47 |
0x2e,0x08,0x7f,0x90,0x00,0x08,0x02,0x00,0x08,0x94,0x00,0x0f,0x90,0x00,0x1f,0x0f, |
| 48 |
0xf0,0x03,0x11,0x0f,0x90,0x00,0x0d,0x0c,0x02,0x00,0x06,0x94,0x00,0x0f,0x90,0x00, |
| 49 |
0x1f,0x0f,0x22,0x01,0x09,0x04,0x10,0x05,0x0f,0xb0,0x01,0x0b,0x0f,0x02,0x00,0x01, |
| 50 |
0x04,0x94,0x00,0x0f,0x90,0x00,0x21,0x0f,0x30,0x06,0x0f,0x0f,0xd0,0x02,0x09,0x0f, |
| 51 |
0x02,0x00,0x05,0x02,0x94,0x00,0x0f,0x90,0x00,0x21,0x0f,0x50,0x07,0x11,0x0f,0xf0, |
| 52 |
0x03,0x05,0x0f,0x02,0x00,0x09,0x0c,0xa0,0x05,0x0f,0x02,0x00,0x1b,0x0f,0x70,0x08, |
| 53 |
0x21,0x0f,0x02,0x00,0x0d,0x0f,0x20,0x01,0x0b,0x0f,0x02,0x00,0x63,0x0f,0xa0,0x05, |
| 54 |
0x07,0x0f,0x02,0x00,0x63,0x0f,0x90,0x00,0x01,0xac,0xef,0x7d,0xd6,0xba,0xce,0x59, |
| 55 |
0xde,0xdb,0xf7,0xbe,0x94,0x00,0x0c,0x44,0x06,0x0f,0x02,0x00,0x3b,0x0e,0xb0,0x01, |
| 56 |
0x65,0xce,0x59,0x6b,0x4d,0x21,0x04,0x66,0x00,0x5c,0x20,0x39,0xc7,0xa5,0x14,0x94, |
| 57 |
0x00,0x0f,0x02,0x00,0x4b,0x08,0x20,0x01,0x25,0x4a,0x69,0x8a,0x00,0x07,0x02,0x00, |
| 58 |
0x4f,0x42,0x08,0xf7,0x9e,0x84,0x00,0x4b,0x08,0x02,0x00,0x08,0x90,0x00,0x27,0x10, |
| 59 |
0xa2,0x87,0x00,0x16,0x20,0x0c,0x00,0x28,0x52,0xaa,0x32,0x00,0x0f,0x02,0x00,0x4b, |
| 60 |
0x08,0x90,0x00,0xf6,0x01,0x18,0xc3,0x00,0x00,0x00,0x00,0x18,0xc3,0xb5,0xb6,0xf7, |
| 61 |
0xbe,0xff,0xdf,0xc6,0x18,0xba,0x01,0x2f,0xd6,0x9a,0x86,0x00,0x4b,0x06,0x02,0x00, |
| 62 |
0x09,0x90,0x00,0x74,0xe3,0x00,0x00,0x00,0x00,0x5a,0xcb,0x1e,0x00,0x24,0xbd,0xd7, |
| 63 |
0x24,0x01,0x24,0x8c,0x71,0x14,0x00,0x04,0x02,0x00,0xf4,0x01,0xef,0x5d,0x8c,0x51, |
| 64 |
0x42,0x08,0x21,0x04,0x18,0xc3,0x29,0x45,0x63,0x0c,0xc6,0x38,0x18,0x00,0x0f,0x02, |
| 65 |
0x00,0x2d,0x08,0x90,0x00,0x84,0x42,0x08,0x21,0x04,0x21,0x04,0x94,0x92,0x54,0x00, |
| 66 |
0x24,0xf7,0xbe,0x90,0x00,0x24,0x73,0xae,0x14,0x00,0x02,0x02,0x00,0x28,0xad,0x55, |
| 67 |
0xd0,0x01,0x62,0x00,0x00,0x00,0x00,0x84,0x10,0x1a,0x00,0x0f,0x02,0x00,0x2d,0x08, |
| 68 |
0x90,0x00,0x08,0x02,0x00,0x62,0xf7,0x9e,0xef,0x5d,0xef,0x5d,0x6c,0x00,0x59,0x00, |
| 69 |
0x00,0x6b,0x6d,0xff,0x01,0x00,0x21,0x94,0x92,0xda,0x01,0x81,0xe3,0x73,0x8e,0x7b, |
| 70 |
0xcf,0x21,0x24,0x00,0x01,0x00,0x0f,0x24,0x01,0x33,0x0c,0x90,0x00,0x6c,0xad,0x75, |
| 71 |
0x5a,0xcb,0x18,0xe3,0xfe,0x00,0x0d,0x90,0x00,0xff,0x07,0xb2,0x00,0x00,0x00,0x00, |
| 72 |
0xbd,0xf7,0xff,0xff,0xff,0xff,0xef,0x5d,0x08,0x61,0x00,0x00,0x00,0x00,0x73,0x8e, |
| 73 |
0xff,0x01,0x00,0x16,0x22,0x00,0x00,0x04,0x00,0x04,0x06,0x00,0x06,0x08,0x00,0x08, |
| 74 |
0x90,0x00,0x41,0xe7,0x1c,0x31,0xa6,0xeb,0x00,0x0d,0x02,0x00,0x0c,0x90,0x00,0x91, |
| 75 |
0xbd,0xf7,0x5a,0xcb,0x5a,0xcb,0xef,0x7d,0xff,0x01,0x00,0x2f,0x39,0xc7,0x86,0x03, |
| 76 |
0x37,0x06,0x90,0x00,0x26,0xf7,0x9e,0x50,0x03,0x84,0x10,0xa2,0x39,0xe7,0x42,0x28, |
| 77 |
0x42,0x28,0x99,0x00,0x0c,0x90,0x00,0x01,0x18,0x01,0x92,0x7d,0xad,0x55,0x84,0x30, |
| 78 |
0x73,0x8e,0x6b,0x6d,0x98,0x03,0x22,0x52,0x8a,0x18,0x00,0x06,0x02,0x00,0xa6,0xef, |
| 79 |
0x5d,0xa5,0x14,0x84,0x10,0x94,0x92,0xe7,0x1c,0x14,0x00,0x0f,0x02,0x00,0x0d,0x06, |
| 80 |
0x90,0x00,0x24,0x84,0x30,0x7e,0x00,0x42,0x84,0x30,0xff,0xdf,0x38,0x00,0x04,0x12, |
| 81 |
0x00,0x0e,0x90,0x00,0x2c,0x7b,0xef,0xd4,0x01,0x0c,0x90,0x00,0xc2,0xef,0x7d,0x00, |
| 82 |
0x20,0x00,0x00,0x18,0xe3,0x00,0x00,0x00,0x20,0xda,0x01,0x0f,0x02,0x00,0x11,0x06, |
| 83 |
0x90,0x00,0x22,0x42,0x08,0x7e,0x00,0x26,0x29,0x45,0x38,0x00,0x02,0x12,0x00,0x0e, |
| 84 |
0xd0,0x02,0x22,0x7b,0xef,0x1a,0x00,0x61,0x42,0x08,0x73,0x8e,0x73,0xae,0x74,0x00, |
| 85 |
0x0e,0x90,0x00,0x12,0x5d,0x76,0x03,0x79,0xa5,0x14,0x00,0x00,0x4a,0x49,0xff,0x01, |
| 86 |
0x00,0x0f,0x40,0x02,0x11,0x22,0x29,0x65,0x64,0x00,0x24,0x31,0xa6,0x3b,0x00,0x22, |
| 87 |
0xd6,0xba,0x12,0x00,0x0d,0x90,0x00,0x38,0xdf,0x08,0x41,0xc2,0x02,0x21,0x39,0xe7, |
| 88 |
0x40,0x02,0x0d,0xb0,0x01,0xdf,0xde,0xfb,0xb5,0xb6,0x9c,0xf3,0x7b,0xcf,0x00,0x00, |
| 89 |
0x29,0x65,0xff,0x01,0x00,0x14,0x06,0x20,0x01,0x24,0x4a,0x49,0x7e,0x00,0xa4,0x8c, |
| 90 |
0x71,0xe7,0x3c,0xde,0xfb,0x94,0x92,0x10,0x82,0x12,0x00,0x28,0x6b,0x4d,0x4f,0x00, |
| 91 |
0x22,0xe7,0x3c,0x18,0x00,0x21,0xad,0x55,0x16,0x00,0x3f,0xdf,0x29,0x45,0x90,0x00, |
| 92 |
0x01,0xaf,0xef,0x7d,0x31,0x86,0x00,0x00,0x21,0x04,0x21,0x24,0x90,0x00,0x23,0x22, |
| 93 |
0x9c,0xd3,0x66,0x00,0x0f,0x02,0x00,0x03,0x41,0x21,0x04,0xb5,0x96,0x7e,0x00,0x02, |
| 94 |
0x28,0x05,0x01,0x0e,0x05,0x62,0x29,0x45,0xa5,0x34,0x9c,0xf3,0x5e,0x03,0x61,0x00, |
| 95 |
0x00,0x39,0xe7,0xde,0xfb,0x1f,0x00,0x03,0x02,0x00,0x22,0x94,0x92,0xec,0x05,0x2e, |
| 96 |
0xce,0x79,0x90,0x00,0x0f,0xb0,0x01,0x11,0x22,0xff,0xdf,0x78,0x01,0x06,0x02,0x00, |
| 97 |
0x24,0x4a,0x49,0x6c,0x00,0x63,0x00,0x00,0x00,0x00,0x9c,0xd3,0x69,0x00,0x52,0xff, |
| 98 |
0xff,0xff,0x6b,0x4d,0x14,0x00,0x02,0x02,0x00,0x02,0x40,0x02,0x48,0x00,0x00,0x00, |
| 99 |
0x00,0x0a,0x08,0xf1,0x01,0x9c,0xd3,0x00,0x00,0x29,0x45,0x9c,0xd3,0x42,0x08,0x00, |
| 100 |
0x00,0x18,0xe3,0xde,0xdb,0x39,0x00,0x0f,0x02,0x00,0x0e,0x06,0xb0,0x01,0x62,0xff, |
| 101 |
0xff,0xf7,0xbe,0x6b,0x6d,0x1a,0x02,0xa2,0x00,0x00,0x08,0x41,0x7b,0xcf,0xff,0xdf, |
| 102 |
0x8c,0x71,0x68,0x00,0x0c,0x90,0x00,0x42,0xf7,0xbe,0x63,0x2c,0x60,0x03,0x62,0x10, |
| 103 |
0x82,0xa5,0x14,0x9c,0xf3,0x22,0x00,0x0a,0x90,0x00,0x22,0xf7,0xbe,0x22,0x03,0x88, |
| 104 |
0x7b,0xcf,0x00,0x20,0x00,0x00,0x63,0x0c,0x8b,0x00,0x0f,0x20,0x01,0x12,0x01,0x02, |
| 105 |
0x00,0x88,0xf7,0xbe,0xc6,0x18,0xb5,0x96,0xc6,0x18,0xea,0x00,0x0f,0x02,0x00,0x03, |
| 106 |
0x64,0xf7,0x9e,0xc6,0x38,0xce,0x79,0x1a,0x04,0x0f,0x02,0x00,0x03,0x24,0xef,0x5d, |
| 107 |
0x34,0x05,0x0f,0x02,0x00,0x15,0x08,0x20,0x01,0x0f,0x02,0x00,0x71,0x06,0x90,0x00, |
| 108 |
0xf6,0x2c,0x07,0xfe,0x07,0xfc,0x07,0xfa,0x07,0xf8,0x07,0xf6,0x07,0xf3,0x07,0xf1, |
| 109 |
0x07,0xef,0x07,0xed,0x07,0xeb,0x07,0xe9,0x07,0xe7,0x07,0xe5,0x07,0xe2,0x07,0xe0, |
| 110 |
0x0f,0xe0,0x1f,0xe0,0x37,0xe0,0x47,0xe0,0x57,0xe0,0x67,0xe0,0x77,0xe0,0x87,0xe0, |
| 111 |
0x97,0xe0,0xaf,0xe0,0xbf,0xe0,0xcf,0xe0,0xdf,0xe0,0xef,0xe0,0xff,0x02,0x00,0xf6, |
| 112 |
0x28,0xe1,0xff,0xe2,0xff,0xe3,0xff,0xe4,0xff,0xe5,0xff,0xe6,0xff,0xe7,0xff,0xe9, |
| 113 |
0xff,0xea,0xff,0xeb,0xff,0xec,0xff,0xed,0xff,0xee,0xff,0xef,0xff,0xf0,0xff,0xf1, |
| 114 |
0xff,0xf2,0xff,0xf3,0xff,0xf4,0xff,0xf5,0xff,0xf6,0xff,0xf8,0xff,0xf9,0xff,0xfa, |
| 115 |
0xff,0xfb,0xff,0xfc,0xff,0xfd,0xff,0xfe,0x0a,0x01,0x0f,0x90,0x00,0x48,0x1f,0xe8, |
| 116 |
0x90,0x00,0x36,0x1f,0xf4,0x20,0x01,0x32,0x0f,0x90,0x00,0xc7,0x0f,0x40,0x02,0x7d, |
| 117 |
0x0a,0xb0,0x01,0x1f,0xe4,0xd0,0x02,0x6e,0x0a,0x90,0x00,0x0f,0x60,0x03,0x6f,0x0a, |
| 118 |
0x90,0x00,0x0f,0x20,0x01,0x25,0x0f,0xd0,0x02,0x45,0x03,0x90,0x00,0x1f,0x27,0x80, |
| 119 |
0x04,0x75,0x0f,0x90,0x00,0x41,0x1f,0xf7,0x10,0x05,0x26,0x14,0xe6,0x90,0x00,0x0f, |
| 120 |
0xa0,0x05,0x3a,0x3f,0xf7,0xff,0xf7,0xa0,0x05,0x24,0x0f,0x90,0x00,0x45,0x0f,0x30, |
| 121 |
0x06,0x19,0x08,0xd0,0x02,0x0f,0x90,0x00,0x43,0x0f,0xc0,0x06,0x1b,0x06,0x90,0x00, |
| 122 |
0x1f,0xe8,0x90,0x00,0x05,0x1f,0x9f,0x50,0x07,0x2d,0x0f,0xb0,0x01,0x0e,0x0f,0x02, |
| 123 |
0x00,0x73,0x06,0xe0,0x07,0x0f,0x02,0x00,0x73,0x0f,0x90,0x00,0x83,0x0f,0x02,0x00, |
| 124 |
0x76,0x50,0xe0,0x07,0xe0,0x00,0x00, |
| 125 |
|
| 126 |
}; |
| 127 |
|
| 128 |
const lv_image_dsc_t test_RGB565_SWAPPED_LZ4_align1 = { |
| 129 |
.header = { |
| 130 |
.magic = LV_IMAGE_HEADER_MAGIC, |
| 131 |
.cf = LV_COLOR_FORMAT_RGB565_SWAPPED, |
| 132 |
.flags = 0 | LV_IMAGE_FLAGS_COMPRESSED, |
| 133 |
.w = 71, |
| 134 |
.h = 60, |
| 135 |
.stride = 144, |
| 136 |
.reserved_2 = 0, |
| 137 |
}, |
| 138 |
.data_size = sizeof(test_RGB565_SWAPPED_LZ4_align1_map), |
| 139 |
.data = test_RGB565_SWAPPED_LZ4_align1_map, |
| 140 |
.reserved = NULL, |
| 141 |
}; |
| 142 |
|