feat(sw_blend) : add argb8888-premultiplied support (#7979)

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
This commit is contained in:
Felix Biego
2025-04-10 15:40:04 +03:00
committed by GitHub
parent cfb3a675d9
commit 48c7691c4b
208 changed files with 1614 additions and 8 deletions
@@ -0,0 +1,72 @@
#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"
#else
#include "lvgl/lvgl.h"
#endif
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_MEM_ALIGN
#endif
#ifndef LV_ATTRIBUTE_IMG_RENDER_LVGL_LOGO_ARGB8888_PREMULTIPLIED
#define LV_ATTRIBUTE_IMG_RENDER_LVGL_LOGO_ARGB8888_PREMULTIPLIED
#endif
static const
LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_RENDER_LVGL_LOGO_ARGB8888_PREMULTIPLIED
uint8_t img_render_lvgl_logo_argb8888_premultiplied_map[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x41,0x41,0x40,0x62,0x48,0x47,0x45,0xb7,0x48,0x47,0x45,0xc3,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x48,0x48,0x45,0xc1,0x49,0x49,0x45,0xc2,0x48,0x47,0x45,0xc4,0x49,0x49,0x47,0x94,0x20,0x20,0x20,0x26,0x00,0x00,0x00,0x00,
0x02,0x02,0x02,0x03,0x4b,0x4b,0x49,0x90,0x31,0x30,0x2b,0xfd,0x35,0x34,0x30,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x36,0x35,0x31,0xff,0x2f,0x2e,0x2a,0xff,0x2d,0x2c,0x28,0xff,0x31,0x30,0x2c,0xff,0x3f,0x3e,0x3b,0xde,0x2a,0x2a,0x2a,0x34,
0x41,0x40,0x3f,0x61,0x32,0x31,0x2d,0xff,0x38,0x37,0x33,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x34,0x33,0x2f,0xff,0x62,0x61,0x5e,0xff,0x6d,0x6c,0x69,0xff,0x38,0x37,0x33,0xff,0x2d,0x2c,0x28,0xff,0x48,0x48,0x45,0xc6,
0x49,0x49,0x46,0xb9,0x35,0x34,0x30,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x30,0x2f,0x2b,0xff,0x7c,0x7c,0x79,0xff,0xfc,0xfc,0xfc,0xff,0xff,0xff,0xff,0xff,0x9e,0x9d,0x9b,0xff,0x2f,0x2e,0x2a,0xff,0x3b,0x3a,0x36,0xf3,
0x48,0x48,0x45,0xc3,0x36,0x35,0x31,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x2c,0x2b,0x27,0xff,0xb1,0xb2,0xb0,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xd9,0xd9,0xd9,0xff,0x33,0x32,0x2e,0xff,0x3b,0x3a,0x36,0xf4,
0x48,0x48,0x45,0xc1,0x36,0x35,0x31,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x32,0x31,0x2d,0xff,0x64,0x63,0x60,0xff,0xe9,0xe9,0xe9,0xff,0xf3,0xf3,0xf3,0xff,0x81,0x81,0x7e,0xff,0x30,0x2e,0x2a,0xff,0x3c,0x3b,0x37,0xf3,
0x48,0x48,0x45,0xc1,0x36,0x35,0x31,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x35,0xff,0x33,0x32,0x2d,0xff,0x46,0x45,0x41,0xff,0x4d,0x4c,0x48,0xff,0x33,0x32,0x2e,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x47,0x47,0x44,0xc5,0x36,0x35,0x31,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x35,0x34,0x30,0xff,0x34,0x33,0x2f,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x4a,0x49,0x47,0xb3,0x2a,0x29,0x24,0xff,0x2d,0x2c,0x27,0xff,0x2d,0x2c,0x28,0xff,0x2d,0x2c,0x28,0xff,0x2d,0x2c,0x28,0xff,0x2d,0x2c,0x28,0xff,0x2d,0x2c,0x28,0xff,0x2d,0x2c,0x27,0xff,0x32,0x31,0x2d,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x19,0x19,0x18,0x1c,0x44,0x43,0x3f,0x68,0x49,0x47,0x42,0x73,0x48,0x47,0x42,0x72,0x48,0x47,0x42,0x72,0x48,0x47,0x42,0x72,0x48,0x47,0x42,0x72,0x48,0x46,0x41,0x70,0x49,0x48,0x43,0x76,0x49,0x48,0x45,0xc5,0x31,0x30,0x2c,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x06,0x06,0x07,0x07,0x30,0x34,0x3e,0x3e,0x35,0x3b,0x47,0x47,0x34,0x3a,0x46,0x46,0x34,0x3a,0x46,0x46,0x34,0x3a,0x46,0x46,0x34,0x3a,0x46,0x46,0x35,0x3b,0x48,0x48,0x2e,0x33,0x3c,0x3c,0x07,0x07,0x07,0x08,0x4c,0x4a,0x47,0xb2,0x31,0x30,0x2c,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x43,0x5e,0x9d,0xa2,0x13,0x56,0xf3,0xff,0x14,0x57,0xf3,0xff,0x15,0x57,0xf3,0xff,0x15,0x57,0xf3,0xff,0x15,0x57,0xf3,0xff,0x15,0x57,0xf3,0xff,0x14,0x57,0xf3,0xff,0x0b,0x50,0xf2,0xff,0x3c,0x45,0x59,0x59,0x34,0x32,0x30,0x43,0x2e,0x2d,0x29,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x39,0x61,0xc2,0xca,0x1d,0x5d,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x11,0x54,0xf2,0xff,0x45,0x56,0x7a,0x7a,0x32,0x31,0x2e,0x3f,0x2f,0x2e,0x2a,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x3b,0x61,0xbd,0xc4,0x1d,0x5d,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x12,0x55,0xf2,0xff,0x44,0x54,0x76,0x76,0x33,0x32,0x2f,0x41,0x2f,0x2e,0x2a,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x3b,0x61,0xbd,0xc4,0x1d,0x5d,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x12,0x55,0xf2,0xff,0x44,0x54,0x76,0x76,0x33,0x32,0x2f,0x41,0x2f,0x2e,0x2a,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x3b,0x61,0xbd,0xc4,0x1d,0x5d,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x12,0x55,0xf2,0xff,0x44,0x54,0x76,0x76,0x33,0x32,0x2f,0x41,0x2f,0x2e,0x2a,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x3b,0x61,0xbd,0xc4,0x1d,0x5d,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x12,0x55,0xf2,0xff,0x44,0x54,0x76,0x76,0x33,0x32,0x2f,0x41,0x2f,0x2e,0x2a,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x3a,0x62,0xbe,0xc5,0x1d,0x5d,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x20,0x5f,0xf3,0xff,0x12,0x55,0xf2,0xff,0x45,0x54,0x77,0x77,0x34,0x33,0x30,0x42,0x2f,0x2e,0x2a,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x38,0x61,0xc1,0xc9,0x13,0x56,0xf3,0xff,0x18,0x59,0xf3,0xff,0x18,0x59,0xf3,0xff,0x18,0x59,0xf3,0xff,0x18,0x59,0xf3,0xff,0x18,0x59,0xf3,0xff,0x18,0x59,0xf3,0xff,0x08,0x4e,0xf2,0xff,0x44,0x54,0x78,0x78,0x33,0x32,0x2f,0x41,0x26,0x25,0x21,0xff,0x32,0x31,0x2c,0xff,0x32,0x31,0x2c,0xff,0x32,0x31,0x2c,0xff,0x32,0x31,0x2c,0xff,0x32,0x31,0x2c,0xff,0x32,0x30,0x2c,0xff,0x31,0x30,0x2c,0xff,0x35,0x34,0x30,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x38,0x3f,0x4f,0x50,0x3d,0x60,0xb9,0xbe,0x3b,0x61,0xc2,0xc7,0x3b,0x61,0xc1,0xc6,0x3b,0x61,0xc1,0xc6,0x3b,0x61,0xc1,0xc6,0x3b,0x61,0xc1,0xc6,0x3a,0x61,0xc2,0xc7,0x3a,0x5f,0xb9,0xbe,0x26,0x28,0x2e,0x2e,0x0f,0x0f,0x0f,0x11,0x49,0x4a,0x49,0xac,0x45,0x47,0x45,0xc3,0x47,0x49,0x47,0xc1,0x47,0x49,0x47,0xc1,0x47,0x49,0x47,0xc1,0x47,0x49,0x47,0xc1,0x47,0x49,0x47,0xc1,0x47,0x49,0x47,0xc0,0x41,0x41,0x3e,0xe0,0x31,0x30,0x2c,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x00,0x00,0x00,0x00,0x08,0x08,0x08,0x09,0x10,0x11,0x10,0x12,0x10,0x10,0x10,0x11,0x10,0x10,0x10,0x11,0x10,0x10,0x10,0x11,0x10,0x10,0x10,0x11,0x10,0x11,0x10,0x12,0x07,0x07,0x07,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x02,0x02,0x03,0x14,0x13,0x13,0x15,0x12,0x11,0x11,0x13,0x12,0x11,0x11,0x13,0x12,0x11,0x11,0x13,0x12,0x11,0x11,0x13,0x12,0x11,0x11,0x13,0x11,0x10,0x0f,0x11,0x0c,0x0c,0x0c,0x0d,0x4c,0x4c,0x4a,0xaa,0x31,0x30,0x2b,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x45,0x59,0x44,0x61,0x61,0xb6,0x5c,0xd9,0x65,0xbf,0x5f,0xe3,0x65,0xbe,0x5f,0xe2,0x65,0xbe,0x5f,0xe2,0x65,0xbe,0x5f,0xe2,0x65,0xbe,0x5f,0xe2,0x64,0xbf,0x5f,0xe3,0x5e,0xb5,0x59,0xd8,0x29,0x31,0x2a,0x33,0x1e,0x1b,0x1a,0x1e,0xce,0x62,0x43,0xd3,0xe3,0x64,0x40,0xe8,0xe1,0x65,0x42,0xe6,0xe1,0x65,0x42,0xe6,0xe1,0x65,0x42,0xe6,0xe1,0x65,0x42,0xe6,0xe2,0x65,0x42,0xe7,0xe0,0x5f,0x3b,0xe5,0x78,0x53,0x48,0x78,0x16,0x16,0x16,0x19,0x38,0x37,0x34,0xf4,0x37,0x36,0x32,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x60,0xa5,0x5d,0xc1,0x62,0xd1,0x5c,0xff,0x64,0xd2,0x5f,0xff,0x64,0xd2,0x5f,0xff,0x64,0xd2,0x5f,0xff,0x64,0xd2,0x5f,0xff,0x64,0xd2,0x5f,0xff,0x64,0xd2,0x5f,0xff,0x5a,0xcf,0x54,0xff,0x4a,0x67,0x4d,0x6e,0x42,0x34,0x32,0x42,0xf8,0x59,0x2c,0xff,0xf8,0x62,0x39,0xff,0xf8,0x62,0x38,0xff,0xf8,0x62,0x38,0xff,0xf8,0x62,0x38,0xff,0xf8,0x62,0x38,0xff,0xf8,0x62,0x38,0xff,0xf8,0x5c,0x31,0xff,0xc7,0x65,0x4a,0xc8,0x0e,0x0e,0x0e,0x10,0x3f,0x3f,0x3c,0xe6,0x35,0x34,0x30,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x62,0xa2,0x5f,0xbc,0x65,0xd2,0x60,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x5e,0xd0,0x58,0xff,0x49,0x63,0x4c,0x6a,0x3f,0x32,0x31,0x3f,0xf8,0x5d,0x32,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x5f,0x35,0xff,0xbf,0x64,0x4c,0xc0,0x11,0x11,0x11,0x13,0x3e,0x3e,0x3b,0xe7,0x35,0x34,0x30,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x61,0xa1,0x5e,0xbb,0x65,0xd2,0x60,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x5e,0xd0,0x58,0xff,0x49,0x63,0x4c,0x6a,0x3f,0x32,0x31,0x3f,0xf8,0x5d,0x32,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x5f,0x35,0xff,0xbf,0x64,0x4c,0xc0,0x11,0x11,0x11,0x13,0x3e,0x3e,0x3b,0xe7,0x35,0x34,0x30,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x62,0xa2,0x5f,0xbc,0x65,0xd2,0x60,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x5e,0xd0,0x58,0xff,0x49,0x63,0x4c,0x6a,0x3f,0x32,0x31,0x3f,0xf8,0x5d,0x32,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x5f,0x35,0xff,0xbf,0x64,0x4c,0xc0,0x11,0x11,0x11,0x13,0x3e,0x3e,0x3b,0xe7,0x35,0x34,0x30,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3c,0x3b,0x37,0xf3,
0x60,0xa2,0x5d,0xbc,0x65,0xd2,0x60,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x5e,0xd0,0x58,0xff,0x49,0x63,0x4c,0x6a,0x3f,0x32,0x31,0x3f,0xf8,0x5d,0x32,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x5f,0x35,0xff,0xbf,0x64,0x4c,0xc0,0x11,0x11,0x11,0x13,0x3e,0x3e,0x3b,0xe7,0x35,0x34,0x30,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x38,0x37,0x33,0xff,0x3b,0x3a,0x36,0xf4,
0x54,0x7a,0x53,0x8a,0x62,0xd1,0x5c,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x67,0xd3,0x62,0xff,0x5e,0xd0,0x58,0xff,0x49,0x63,0x4c,0x6a,0x3f,0x32,0x31,0x3f,0xf8,0x5d,0x32,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x65,0x3c,0xff,0xf8,0x5f,0x35,0xff,0xbf,0x64,0x4c,0xc0,0x11,0x11,0x11,0x13,0x3e,0x3e,0x3b,0xe7,0x35,0x34,0x30,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x39,0x38,0x34,0xff,0x36,0x35,0x31,0xff,0x3f,0x3d,0x3a,0xe7,
0x1a,0x1d,0x1a,0x1e,0x60,0xb5,0x5c,0xd7,0x60,0xd1,0x5a,0xff,0x66,0xd3,0x61,0xff,0x66,0xd3,0x61,0xff,0x66,0xd3,0x61,0xff,0x66,0xd3,0x61,0xff,0x66,0xd3,0x61,0xff,0x5c,0xd0,0x56,0xff,0x49,0x66,0x4c,0x6d,0x42,0x34,0x32,0x42,0xf8,0x5b,0x2f,0xff,0xf8,0x64,0x3b,0xff,0xf8,0x64,0x3b,0xff,0xf8,0x64,0x3b,0xff,0xf8,0x64,0x3b,0xff,0xf8,0x64,0x3b,0xff,0xf8,0x64,0x3b,0xff,0xf8,0x5e,0x34,0xff,0xc5,0x65,0x4b,0xc6,0x11,0x11,0x11,0x13,0x3c,0x3c,0x39,0xec,0x34,0x33,0x2f,0xff,0x38,0x37,0x33,0xff,0x38,0x37,0x33,0xff,0x38,0x37,0x33,0xff,0x38,0x37,0x33,0xff,0x36,0x35,0x31,0xff,0x29,0x28,0x24,0xff,0x49,0x49,0x48,0x81,
0x00,0x00,0x00,0x00,0x24,0x28,0x23,0x2a,0x5e,0x9d,0x5b,0xb7,0x63,0xc4,0x5e,0xec,0x65,0xc9,0x60,0xf2,0x65,0xc8,0x61,0xf1,0x65,0xc8,0x61,0xf1,0x65,0xca,0x61,0xf3,0x5e,0xbf,0x5a,0xe8,0x2e,0x38,0x30,0x3b,0x21,0x1d,0x1c,0x21,0xda,0x60,0x3f,0xe0,0xed,0x63,0x3d,0xf4,0xeb,0x64,0x3e,0xf2,0xeb,0x64,0x3e,0xf2,0xeb,0x64,0x3e,0xf2,0xeb,0x64,0x3e,0xf2,0xec,0x64,0x3e,0xf3,0xeb,0x5d,0x37,0xf2,0x8a,0x59,0x4b,0x8c,0x04,0x04,0x04,0x05,0x4a,0x4a,0x47,0xb8,0x35,0x34,0x30,0xf4,0x3c,0x3b,0x37,0xf3,0x3c,0x3b,0x37,0xf3,0x3c,0x3b,0x37,0xf3,0x3a,0x39,0x35,0xf4,0x3d,0x3c,0x38,0xe3,0x4a,0x49,0x48,0x83,0x03,0x03,0x03,0x04,
};
const lv_image_dsc_t img_render_lvgl_logo_argb8888_premultiplied = {
.header.magic = LV_IMAGE_HEADER_MAGIC,
.header.cf = LV_COLOR_FORMAT_ARGB8888_PREMULTIPLIED,
.header.flags = 0,
.header.w = 30,
.header.h = 30,
.header.stride = 120,
.data_size = sizeof(img_render_lvgl_logo_argb8888_premultiplied_map),
.data = img_render_lvgl_logo_argb8888_premultiplied_map,
};
+6 -2
View File
@@ -335,11 +335,13 @@ static void image_core_cb(lv_obj_t * parent, bool recolor, uint32_t startAt)
LV_IMAGE_DECLARE(img_render_lvgl_logo_rgb565);
LV_IMAGE_DECLARE(img_render_lvgl_logo_rgb565a8);
LV_IMAGE_DECLARE(img_render_lvgl_logo_argb8888);
LV_IMAGE_DECLARE(img_render_lvgl_logo_argb8888_premultiplied);
LV_IMAGE_DECLARE(img_render_lvgl_logo_l8);
LV_IMAGE_DECLARE(img_render_lvgl_logo_i1);
const void * srcs[] = {
&img_render_lvgl_logo_argb8888,
&img_render_lvgl_logo_argb8888_premultiplied,
&img_render_lvgl_logo_xrgb8888,
&img_render_lvgl_logo_rgb888,
&img_render_lvgl_logo_rgb565,
@@ -350,6 +352,7 @@ static void image_core_cb(lv_obj_t * parent, bool recolor, uint32_t startAt)
const void * names[] = {
"ARGB\n8888",
"ARGB\n8888\nPM",
"XRGB\n8888",
"RGB\n888",
"RGB\n565",
@@ -800,12 +803,13 @@ static void blend_mode_cb(lv_obj_t * parent)
LV_DRAW_BUF_DEFINE_STATIC(buf_rgb888, 36, 30, LV_COLOR_FORMAT_RGB888);
LV_DRAW_BUF_DEFINE_STATIC(buf_xrgb8888, 36, 30, LV_COLOR_FORMAT_XRGB8888);
LV_DRAW_BUF_DEFINE_STATIC(buf_argb8888, 36, 30, LV_COLOR_FORMAT_ARGB8888);
LV_DRAW_BUF_DEFINE_STATIC(buf_argb8888_premul, 36, 30, LV_COLOR_FORMAT_ARGB8888_PREMULTIPLIED);
/*The canvas will stay in the top left corner to show the original image*/
lv_obj_t * canvas = lv_canvas_create(lv_screen_active());
const char * cf_txt[] = {"RGB565", "RGB888.", "XRGB8888", "ARGB8888"};
lv_draw_buf_t * cf_bufs[] = {&buf_rgb565, &buf_rgb888, &buf_xrgb8888, &buf_argb8888};
const char * cf_txt[] = {"RGB565", "RGB888.", "XRGB8888", "ARGB8888", "ARGB8888_PREMUL"};
lv_draw_buf_t * cf_bufs[] = {&buf_rgb565, &buf_rgb888, &buf_xrgb8888, &buf_argb8888, &buf_argb8888_premul};
static lv_draw_buf_t image_dscs[4];
const char * mode_txt[] = {"Add.", "Sub.", "Mul."};