Files
ManuelandGitHub 56ba81bb7b fix: ARGB8888 images -> RGB565A8 for better FPS (#269)
* some images were ARGB8888 format -> RGB565A8

* remove unused color formats

* allow custom display buffers

* nodes images -> A8 color format

* limit receive queue processing

* lodepng needs ARGB8888

* A8 node images
2026-01-23 00:28:34 +01:00

68 lines
3.8 KiB
C

#ifdef __has_include
#if __has_include("lvgl.h")
#ifndef LV_LVGL_H_INCLUDE_SIMPLE
#define LV_LVGL_H_INCLUDE_SIMPLE
#endif
#endif
#endif
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#elif defined(LV_BUILD_TEST)
#include "../lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_MEM_ALIGN
#endif
#ifndef LV_ATTRIBUTE_IMG_NODE_ROUTER_IMAGE
#define LV_ATTRIBUTE_IMG_NODE_ROUTER_IMAGE
#endif
static const
LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_NODE_ROUTER_IMAGE
uint8_t img_node_router_image_map[] = {
0x00,0x00,0x00,0x00,0x1e,0x17,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x17,0x1e,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x3a,0xd1,0xa8,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x09,0xa8,0xd1,0x3a,0x00,0x00,0x00,
0x00,0x00,0x1e,0xca,0xff,0x9a,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x9a,0xff,0xca,0x1e,0x00,0x00,
0x00,0x01,0x8c,0xff,0xbe,0x18,0x03,0x3c,0x24,0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x2c,0x00,0x18,0xbe,0xff,0x8c,0x01,0x00,
0x00,0x2c,0xe6,0xf0,0x40,0x00,0x60,0xf3,0xa8,0x04,0x00,0x00,0x00,0x00,0x04,0xa1,0xe8,0x53,0x00,0x3f,0xef,0xe7,0x2c,0x00,
0x00,0x74,0xff,0xa6,0x02,0x25,0xdc,0xfd,0x6f,0x00,0x02,0x17,0x17,0x02,0x00,0x7b,0xff,0xd6,0x21,0x02,0xa5,0xff,0x75,0x00,
0x06,0xb1,0xff,0x5b,0x00,0x79,0xff,0xae,0x08,0x13,0x8b,0xd8,0xd8,0x8c,0x13,0x0c,0xb5,0xff,0x75,0x00,0x5a,0xff,0xb2,0x07,
0x18,0xd3,0xef,0x2f,0x04,0xb7,0xff,0x56,0x00,0x8c,0xff,0xf3,0xf3,0xff,0x8c,0x00,0x58,0xff,0xb6,0x04,0x2e,0xef,0xd4,0x18,
0x24,0xe1,0xe2,0x1d,0x10,0xd2,0xf1,0x2e,0x14,0xd8,0xf3,0x51,0x52,0xf3,0xd8,0x14,0x2e,0xf0,0xd2,0x10,0x1d,0xe1,0xe1,0x24,
0x24,0xe1,0xe2,0x1d,0x10,0xd1,0xf1,0x30,0x14,0xd8,0xf3,0x52,0x52,0xf3,0xd8,0x14,0x2e,0xf0,0xd2,0x10,0x1e,0xe2,0xe1,0x24,
0x18,0xd3,0xef,0x2f,0x03,0xb4,0xff,0x5b,0x00,0x8b,0xff,0xf1,0xf1,0xff,0x8b,0x00,0x56,0xff,0xb7,0x04,0x31,0xf1,0xd1,0x16,
0x06,0xb1,0xff,0x5b,0x00,0x73,0xff,0xb4,0x09,0x12,0xa7,0xff,0xff,0xa8,0x12,0x07,0xad,0xff,0x78,0x00,0x60,0xff,0xad,0x05,
0x00,0x74,0xff,0xa6,0x02,0x20,0xce,0xc4,0x12,0x00,0x95,0xff,0xff,0x95,0x00,0x14,0xcb,0xd7,0x24,0x04,0xae,0xff,0x6e,0x00,
0x00,0x2b,0xe6,0xf0,0x40,0x00,0x23,0x23,0x00,0x1e,0xda,0xff,0xff,0xda,0x1e,0x00,0x2d,0x2c,0x00,0x4a,0xf4,0xe1,0x26,0x00,
0x00,0x01,0x8b,0xff,0xbe,0x19,0x00,0x00,0x00,0x5c,0xff,0xc7,0xc7,0xff,0x5c,0x00,0x00,0x00,0x21,0xca,0xff,0x80,0x00,0x00,
0x00,0x00,0x1d,0xc9,0xff,0x9a,0x05,0x00,0x05,0xaa,0xff,0x6a,0x6a,0xff,0xaa,0x05,0x00,0x07,0xa6,0xff,0xbd,0x16,0x00,0x00,
0x00,0x00,0x00,0x3a,0xd2,0xa9,0x09,0x00,0x2a,0xe7,0xee,0x45,0x45,0xee,0xe7,0x2a,0x00,0x07,0x9c,0xc2,0x2e,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x1b,0x14,0x00,0x00,0x70,0xff,0xfc,0xe4,0xe4,0xfc,0xff,0x70,0x00,0x00,0x0c,0x10,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0b,0xbc,0xff,0xe7,0xe2,0xe2,0xe7,0xff,0xbc,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x39,0xf2,0xdc,0x35,0x1e,0x1e,0x35,0xdc,0xf2,0x39,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x84,0xff,0x97,0x00,0x00,0x00,0x00,0x97,0xff,0x84,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x11,0xcd,0xfc,0x4a,0x00,0x00,0x00,0x00,0x4a,0xfc,0xcd,0x11,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x0e,0xaa,0xac,0x10,0x00,0x00,0x00,0x00,0x10,0xac,0xaa,0x0e,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
const lv_image_dsc_t img_node_router_image = {
.header.magic = LV_IMAGE_HEADER_MAGIC,
.header.cf = LV_COLOR_FORMAT_A8,
.header.flags = 0,
.header.w = 24,
.header.h = 24,
.header.stride = 24,
.data_size = sizeof(img_node_router_image_map),
.data = img_node_router_image_map,
};