Searched refs:palette (Results 1 – 13 of 13) sorted by relevance
/lvgl-3.7.0/src/draw/sdl/ |
D | lv_draw_sdl_utils.c | 112 SDL_Color palette[256]; in lv_sdl_alloc_palette_for_bpp() local 114 palette[i].r = palette[i].g = palette[i].b = 0xFF; in lv_sdl_alloc_palette_for_bpp() 115 palette[i].a = mapping ? mapping[i] : i; in lv_sdl_alloc_palette_for_bpp() 117 SDL_SetPaletteColors(result, palette, 0, color_cnt); in lv_sdl_alloc_palette_for_bpp()
|
/lvgl-3.7.0/src/draw/ |
D | lv_img_decoder.c | 27 lv_color_t * palette; member 421 … user_data->palette = lv_mem_alloc(palette_size * sizeof(lv_color_t)); in lv_img_decoder_built_in_open() 422 LV_ASSERT_MALLOC(user_data->palette); in lv_img_decoder_built_in_open() 425 if(user_data->palette == NULL || user_data->opa == NULL) { in lv_img_decoder_built_in_open() 438 … user_data->palette[i] = lv_color_make(cur_color.ch.red, cur_color.ch.green, cur_color.ch.blue); in lv_img_decoder_built_in_open() 448 …user_data->palette[i] = lv_color_make(palette_p[i].ch.red, palette_p[i].ch.green, palette_p[i].ch.… in lv_img_decoder_built_in_open() 525 if(user_data->palette) lv_mem_free(user_data->palette); in lv_img_decoder_built_in_close() 708 lv_color_t color = user_data->palette[val_act]; in lv_img_decoder_built_in_line_indexed()
|
/lvgl-3.7.0/src/extra/libs/png/ |
D | lodepng.c | 2675 info->palette = 0; in lodepng_color_mode_init() 2684 if(!info->palette) info->palette = (unsigned char*)lodepng_malloc(1024); in lodepng_color_mode_alloc_palette() 2685 if(!info->palette) return; /*alloc fail*/ in lodepng_color_mode_alloc_palette() 2690 info->palette[i * 4 + 0] = 0; in lodepng_color_mode_alloc_palette() 2691 info->palette[i * 4 + 1] = 0; in lodepng_color_mode_alloc_palette() 2692 info->palette[i * 4 + 2] = 0; in lodepng_color_mode_alloc_palette() 2693 info->palette[i * 4 + 3] = 255; in lodepng_color_mode_alloc_palette() 2704 if(source->palette) { in lodepng_color_mode_copy() 2705 dest->palette = (unsigned char*)lodepng_malloc(1024); in lodepng_color_mode_copy() 2706 if(!dest->palette && source->palettesize) return 83; /*alloc fail*/ in lodepng_color_mode_copy() [all …]
|
D | lodepng.h | 360 …unsigned char* palette; /*palette in RGBARGBA... order. Must be either 0, or when allocated must h… member 713 …unsigned char palette[1024]; /*Remembers up to the first 256 RGBA colors, in no particular order, … member
|
/lvgl-3.7.0/src/extra/libs/gif/ |
D | gifdec.h | 34 gd_Palette *palette; member
|
D | gifdec.c | 126 gif->palette = &gif->gct; in gif_open() 139 bgcolor = &gif->palette->colors[gif->bgindex*3]; in gif_open() 483 gif->palette = &gif->lct; in read_image() 485 gif->palette = &gif->gct; in read_image() 499 color = &gif->palette->colors[index*3]; in render_frame_rect() 533 bgcolor = &gif->palette->colors[gif->bgindex*3]; in dispose()
|
/lvgl-3.7.0/docs/overview/ |
D | color.md | 40 LVGL includes [Material Design's palette](https://vuetifyjs.com/en/styles/colors/#material-colors) … 66 For the lighter variants of a palette color use `lv_color_t c = lv_palette_lighten(LV_PALETTE_..., … 67 For the darker variants of a palette color use `lv_color_t c = lv_palette_darken(LV_PALETTE_..., v)…
|
D | image.md | 36 - **LV_IMG_CF_INDEXED_1/2/4/8BIT** Uses a palette with 2, 4, 16 or 256 colors and stores each pixel…
|
D | style.md | 317 … LV_COLOR_PALETTE_BLUE, LV_COLOR_PALETTE_CYAN, /*Primary and secondary palette*/
|
/lvgl-3.7.0/docs/widgets/core/ |
D | canvas.md | 28 For `LV_IMG_CF_INDEXED_1/2/4/8` color formats a palette needs to be
|
D | img.md | 46 - **Indexed** - Image has a palette.
|
/lvgl-3.7.0/demos/widgets/ |
D | lv_demo_widgets.c | 973 static lv_palette_t palette[] = { in color_changer_create() local 995 for(i = 0; palette[i] != _LV_PALETTE_LAST; i++) { in color_changer_create() 997 lv_obj_set_style_bg_color(c, lv_palette_main(palette[i]), 0); in color_changer_create() 1001 lv_obj_add_event_cb(c, color_event_cb, LV_EVENT_ALL, &palette[i]); in color_changer_create()
|
/lvgl-3.7.0/docs/_static/css/ |
D | fontawesome.min.css | 5 …brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\…
|