/lvgl-latest/src/misc/ |
D | lv_color_op.h | 59 lv_color32_t lv_color_mix32(lv_color32_t fg, lv_color32_t bg);
|
D | lv_color.h | 118 } lv_color32_t; typedef 263 lv_color32_t lv_color_to_32(lv_color_t color, lv_opa_t opa); 286 bool lv_color32_eq(lv_color32_t c1, lv_color32_t c2); 312 lv_color32_t lv_color32_make(uint8_t r, uint8_t g, uint8_t b, uint8_t a); 401 void lv_color_premultiply(lv_color32_t * c); 431 uint8_t lv_color32_luminance(lv_color32_t c);
|
D | lv_color.c | 106 lv_color32_t lv_color_to_32(lv_color_t color, lv_opa_t opa) in lv_color_to_32() 108 lv_color32_t c32; in lv_color_to_32() 267 bool lv_color32_eq(lv_color32_t c1, lv_color32_t c2) in lv_color32_eq() 290 lv_color32_t lv_color32_make(uint8_t r, uint8_t g, uint8_t b, uint8_t a) in lv_color32_make() 292 lv_color32_t ret; in lv_color32_make() 336 void lv_color_premultiply(lv_color32_t * c) in lv_color_premultiply() 343 lv_memzero(c, sizeof(lv_color32_t)); in lv_color_premultiply() 383 uint8_t lv_color32_luminance(lv_color32_t c) in lv_color32_luminance()
|
D | lv_color_op.c | 46 lv_color32_t lv_color_mix32(lv_color32_t fg, lv_color32_t bg) in lv_color_mix32()
|
/lvgl-latest/src/draw/sw/blend/ |
D | lv_draw_sw_blend_to_argb8888.c | 38 lv_color32_t fg_saved; 39 lv_color32_t bg_saved; 40 lv_color32_t res_saved; 74 static inline void /* LV_ATTRIBUTE_FAST_MEM */ lv_color_8_32_mix(const uint8_t src, lv_color32_t * … 76 static inline lv_color32_t /* LV_ATTRIBUTE_FAST_MEM */ lv_color_32_32_mix(lv_color32_t fg, lv_color… 81 …line void /* LV_ATTRIBUTE_FAST_MEM */ blend_non_normal_pixel(lv_color32_t * dest, lv_color32_t src, 272 lv_color32_t color_argb = lv_color_to_32(dsc->color, opa); in lv_draw_sw_blend_color_to_argb8888() 273 lv_color32_t * dest_buf = dsc->dest_buf; in lv_draw_sw_blend_color_to_argb8888() 287 lv_color32_t color_argb = lv_color_to_32(dsc->color, 0xff); in lv_draw_sw_blend_color_to_argb8888() 288 lv_color32_t * dest_buf = dsc->dest_buf; in lv_draw_sw_blend_color_to_argb8888() [all …]
|
D | lv_draw_sw_blend_to_l8.c | 68 static inline void /* LV_ATTRIBUTE_FAST_MEM */ blend_non_normal_pixel(uint8_t * dest, lv_color32_t … 399 lv_color32_t src_argb; in i1_image_blend() 480 lv_color32_t src_argb; in l8_image_blend() 566 lv_color32_t src_argb; in al88_image_blend() 652 lv_color32_t src_argb; in rgb565_image_blend() 742 lv_color32_t src_argb; in rgb888_image_blend() 771 const lv_color32_t * src_buf_c32 = dsc->src_buf; in argb8888_image_blend() 831 lv_color32_t color_argb = src_buf_c32[x]; in argb8888_image_blend() 869 static inline void LV_ATTRIBUTE_FAST_MEM blend_non_normal_pixel(uint8_t * dest, lv_color32_t src, l… in blend_non_normal_pixel()
|
/lvgl-latest/src/drivers/x11/ |
D | lv_x11_display.c | 75 typedef lv_color32_t color_t; 76 static inline lv_color32_t get_px(color_t p) in get_px() 78 return (lv_color32_t)p; in get_px() 82 static inline lv_color32_t get_px(color_t p) in get_px() 84 lv_color32_t out = { .red = p.red, .green = p.green, .blue = p.blue }; in get_px() 89 static inline lv_color32_t get_px(color_t p) in get_px() 91 lv_color32_t out = { .red = p.red << 3, .green = p.green << 2, .blue = p.blue << 3 }; in get_px() 96 static inline lv_color32_t get_px(color_t p) in get_px() 98 lv_color32_t out = { .red = p, .green = p, .blue = p }; in get_px() 133 lv_color32_t * dst_data; in x11_flush_cb() [all …]
|
/lvgl-latest/src/draw/vg_lite/ |
D | lv_vg_lite_decoder.c | 38 …LV_VG_LITE_ALIGN(LV_COLOR_INDEXED_PALETTE_SIZE(DEST_IMG_FORMAT) * sizeof(lv_color32_t), LV_DRAW_BU… 51 static void image_color32_pre_mul(lv_color32_t * img_data, uint32_t px_size); 90 static void image_color32_pre_mul(lv_color32_t * img_data, uint32_t px_size) in image_color32_pre_mul() 210 uint32_t palette_size_bytes = palette_size * sizeof(lv_color32_t); in decoder_open_variable() 217 image_color32_pre_mul((lv_color32_t *)dest, palette_size); in decoder_open_variable() 284 uint32_t palette_size_bytes = palette_size * sizeof(lv_color32_t); in decoder_open_file() 297 image_color32_pre_mul((lv_color32_t *)dest, palette_size); in decoder_open_file()
|
D | lv_draw_vg_lite_mask_rect.c | 105 …lv_color32_t * c32_buf = lv_draw_layer_go_to_xy(target_layer, draw_area.x1 - target_layer->buf_are… in lv_draw_vg_lite_mask_rect() 109 lv_memzero(c32_buf, area_w * sizeof(lv_color32_t)); in lv_draw_vg_lite_mask_rect()
|
/lvgl-latest/src/draw/ |
D | lv_draw_vector_private.h | 51 lv_color32_t color; 61 lv_color32_t color;
|
D | lv_draw_buf.c | 231 …mcpy(dest->data, src->data, LV_COLOR_INDEXED_PALETTE_SIZE(dest->header.cf) * sizeof(lv_color32_t)); in lv_draw_buf_copy() 427 data += LV_COLOR_INDEXED_PALETTE_SIZE(buf->header.cf) * sizeof(lv_color32_t); in lv_draw_buf_goto_xy() 522 lv_color32_t * palette = (lv_color32_t *)draw_buf->data; in lv_draw_buf_premultiply() 533 lv_color32_t * pixel = (lv_color32_t *)line; in lv_draw_buf_premultiply() 586 void lv_draw_buf_set_palette(lv_draw_buf_t * draw_buf, uint8_t index, lv_color32_t color) in lv_draw_buf_set_palette() 596 lv_color32_t * palette = (lv_color32_t *)draw_buf->data; in lv_draw_buf_set_palette() 627 void lv_image_buf_set_palette(lv_image_dsc_t * dsc, uint8_t id, lv_color32_t c) in lv_image_buf_set_palette()
|
D | lv_draw_buf.h | 42 LV_COLOR_INDEXED_PALETTE_SIZE(cf) * sizeof(lv_color32_t)) 335 void lv_draw_buf_set_palette(lv_draw_buf_t * draw_buf, uint8_t index, lv_color32_t color); 340 void lv_image_buf_set_palette(lv_image_dsc_t * dsc, uint8_t id, lv_color32_t c);
|
D | lv_draw_image_private.h | 33 const lv_color32_t * palette;
|
D | lv_image_decoder_private.h | 97 const lv_color32_t * palette;
|
D | lv_draw_vector.h | 252 void lv_vector_dsc_set_fill_color32(lv_vector_dsc_t * dsc, lv_color32_t color); 330 void lv_vector_dsc_set_stroke_color32(lv_vector_dsc_t * dsc, lv_color32_t color);
|
/lvgl-latest/src/widgets/canvas/ |
D | lv_canvas.h | 97 void lv_canvas_set_palette(lv_obj_t * obj, uint8_t index, lv_color32_t color); 112 lv_color32_t lv_canvas_get_px(lv_obj_t * obj, int32_t x, int32_t y);
|
D | lv_canvas.c | 167 lv_color32_t * buf = (lv_color32_t *)data; in lv_canvas_set_px() 181 void lv_canvas_set_palette(lv_obj_t * obj, uint8_t index, lv_color32_t color) in lv_canvas_set_palette() 203 lv_color32_t lv_canvas_get_px(lv_obj_t * obj, int32_t x, int32_t y) in lv_canvas_get_px() 207 lv_color32_t ret = { 0 }; in lv_canvas_get_px() 216 ret = *(lv_color32_t *)px; in lv_canvas_get_px() 249 lv_memzero(&ret, sizeof(lv_color32_t)); in lv_canvas_get_px()
|
/lvgl-latest/src/draw/sw/ |
D | lv_draw_sw_transform.c | 297 lv_color32_t * dest_c32 = (lv_color32_t *) dest_buf; in transform_rgb888() 350 lv_color32_t px_hor; in transform_rgb888() 357 lv_color32_t px_ver; in transform_rgb888() 397 lv_color32_t * dest_c32 = (lv_color32_t *) dest_buf; in transform_argb8888() 437 … const lv_color32_t * src_c32 = (const lv_color32_t *)(src + ys_int * src_stride + xs_int * 4); in transform_argb8888() 447 lv_color32_t px_hor = src_c32[x_next]; in transform_argb8888() 448 lv_color32_t px_ver = *(const lv_color32_t *)((uint8_t *)src_c32 + y_next * src_stride); in transform_argb8888()
|
D | lv_draw_sw_mask_rect.c | 98 lv_color32_t * c32_buf = lv_draw_layer_go_to_xy(target_layer, draw_area.x1 - buf_area->x1, in lv_draw_sw_mask_rect() 102 lv_memzero(c32_buf, area_w * sizeof(lv_color32_t)); in lv_draw_sw_mask_rect()
|
/lvgl-latest/src/draw/nxp/vglite/ |
D | lv_draw_vglite_fill.c | 105 lv_color32_t col32 = lv_color_to_32(dsc->color, dsc->opa); in _vglite_fill() 169 lv_color32_t col32 = lv_color_to_32(dsc->color, opa); in _vglite_draw_rect() 181 lv_color32_t col32[LV_GRADIENT_MAX_STOPS]; in _vglite_draw_rect()
|
D | lv_vglite_utils.h | 116 vg_lite_color_t vglite_get_color(lv_color32_t lv_col32, bool gradient);
|
D | lv_draw_vglite_triangle.c | 118 lv_color32_t col32 = lv_color_to_32(dsc->bg_color, dsc->bg_opa); in _vglite_draw_triangle() 130 lv_color32_t col32[LV_GRADIENT_MAX_STOPS]; in _vglite_draw_triangle()
|
/lvgl-latest/src/libs/bin_decoder/ |
D | lv_bin_decoder.c | 52 lv_color32_t * palette; 72 static lv_result_t decode_indexed_line(lv_color_format_t color_format, const lv_color32_t * palette… 73 int32_t w_px, const uint8_t * in, lv_color32_t * out); 478 decode_indexed_line(cf, dsc->palette, x_fraction, w_px, buf, (lv_color32_t *)img_data); in lv_bin_decoder_get_area() 573 uint32_t palette_len = sizeof(lv_color32_t) * LV_COLOR_INDEXED_PALETTE_SIZE(cf); in decode_indexed() 574 const lv_color32_t * palette; in decode_indexed() 582 palette = (lv_color32_t *)data; in decode_indexed() 631 palette = (lv_color32_t *)image->data; in decode_indexed() 657 decode_indexed_line(cf, dsc->palette, 0, dsc->header.w, in, (lv_color32_t *)out); in decode_indexed() 744 uint32_t palette_len = sizeof(lv_color32_t) * LV_COLOR_INDEXED_PALETTE_SIZE(cf); in load_indexed() [all …]
|
/lvgl-latest/src/libs/lodepng/ |
D | lv_lodepng.c | 264 lv_color32_t * img_argb = (lv_color32_t *)img_p; in convert_color_depth()
|
/lvgl-latest/src/libs/gif/ |
D | gifdec_mve.h | 44 lv_color32_t c = lv_color32_make(*(color + 0), *(color + 1), *(color + 2), opa); in _gifdec_fill_bg_mve()
|