Home
last modified time | relevance | path

Searched refs:lv_color32_t (Results 1 – 25 of 48) sorted by relevance

12

/lvgl-latest/src/misc/
Dlv_color_op.h59 lv_color32_t lv_color_mix32(lv_color32_t fg, lv_color32_t bg);
Dlv_color.h118 } 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);
Dlv_color.c106 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()
Dlv_color_op.c46 lv_color32_t lv_color_mix32(lv_color32_t fg, lv_color32_t bg) in lv_color_mix32()
/lvgl-latest/src/draw/sw/blend/
Dlv_draw_sw_blend_to_argb8888.c38 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 …]
Dlv_draw_sw_blend_to_l8.c68 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/
Dlv_x11_display.c75 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/
Dlv_vg_lite_decoder.c38 …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()
Dlv_draw_vg_lite_mask_rect.c105lv_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/
Dlv_draw_vector_private.h51 lv_color32_t color;
61 lv_color32_t color;
Dlv_draw_buf.c231 …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()
Dlv_draw_buf.h42 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);
Dlv_draw_image_private.h33 const lv_color32_t * palette;
Dlv_image_decoder_private.h97 const lv_color32_t * palette;
Dlv_draw_vector.h252 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/
Dlv_canvas.h97 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);
Dlv_canvas.c167 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/
Dlv_draw_sw_transform.c297 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()
Dlv_draw_sw_mask_rect.c98 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/
Dlv_draw_vglite_fill.c105 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()
Dlv_vglite_utils.h116 vg_lite_color_t vglite_get_color(lv_color32_t lv_col32, bool gradient);
Dlv_draw_vglite_triangle.c118 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/
Dlv_bin_decoder.c52 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/
Dlv_lodepng.c264 lv_color32_t * img_argb = (lv_color32_t *)img_p; in convert_color_depth()
/lvgl-latest/src/libs/gif/
Dgifdec_mve.h44 lv_color32_t c = lv_color32_make(*(color + 0), *(color + 1), *(color + 2), opa); in _gifdec_fill_bg_mve()

12