Home
last modified time | relevance | path

Searched refs:img_dsc (Results 1 – 16 of 16) sorted by relevance

/lvgl-3.5.0/src/extra/libs/png/
Dlv_png.c104 const lv_img_dsc_t * img_dsc = src; in decoder_info() local
105 const uint32_t data_size = img_dsc->data_size; in decoder_info()
108 if(memcmp(magic, img_dsc->data, sizeof(magic))) return LV_RES_INV; in decoder_info()
110 header->cf = img_dsc->header.cf; /*Save the color format*/ in decoder_info()
111 header->w = img_dsc->header.w; /*Save the color width*/ in decoder_info()
112 header->h = img_dsc->header.h; /*Save the color height*/ in decoder_info()
172 const lv_img_dsc_t * img_dsc = dsc->src; in decoder_open() local
177 … error = lodepng_decode32(&img_data, &png_width, &png_height, img_dsc->data, img_dsc->data_size); in decoder_open()
/lvgl-3.5.0/src/draw/stm32_dma2d/
Dlv_gpu_stm32_dma2d.c217 …c void lv_draw_stm32_dma2d_img_decoded(lv_draw_ctx_t * draw_ctx, const lv_draw_img_dsc_t * img_dsc, in lv_draw_stm32_dma2d_img_decoded() argument
225 bool transform = img_dsc->angle != 0 || img_dsc->zoom != LV_IMG_ZOOM_NONE; in lv_draw_stm32_dma2d_img_decoded()
229 …if(!mask_any && !transform && bitmapColorFormat != UNSUPPORTED && img_dsc->recolor_opa == LV_OPA_T… in lv_draw_stm32_dma2d_img_decoded()
236 img_dsc->opa, bitmapColorFormat, ignoreBitmapAlpha); in lv_draw_stm32_dma2d_img_decoded()
240 lv_draw_sw_img_decoded(draw_ctx, img_dsc, coords, src_buf, color_format); in lv_draw_stm32_dma2d_img_decoded()
279 static lv_res_t lv_draw_stm32_dma2d_img(lv_draw_ctx_t * draw_ctx, const lv_draw_img_dsc_t * img_dsc, in lv_draw_stm32_dma2d_img() argument
285 if(img_dsc->opa <= LV_OPA_MIN) return LV_RES_OK; in lv_draw_stm32_dma2d_img()
290 … if(bitmapColorFormat == UNSUPPORTED || img_dsc->angle != 0 || img_dsc->zoom != LV_IMG_ZOOM_NONE) { in lv_draw_stm32_dma2d_img()
314 &src_offset, img_dsc->opa, bitmapColorFormat, ignoreBitmapAlpha); in lv_draw_stm32_dma2d_img()
Dlv_gpu_stm32_dma2d.h60 static lv_res_t lv_draw_stm32_dma2d_img(lv_draw_ctx_t * draw_ctx, const lv_draw_img_dsc_t * img_dsc,
63 …c void lv_draw_stm32_dma2d_img_decoded(lv_draw_ctx_t * draw_ctx, const lv_draw_img_dsc_t * img_dsc,
/lvgl-3.5.0/src/extra/widgets/imgbtn/
Dlv_imgbtn.c231 lv_draw_img_dsc_t img_dsc; in draw_main() local
232 lv_draw_img_dsc_init(&img_dsc); in draw_main()
233 lv_obj_init_draw_img_dsc(obj, LV_PART_MAIN, &img_dsc); in draw_main()
247 lv_draw_img(draw_ctx, &img_dsc, &coords_part, src); in draw_main()
258 lv_draw_img(draw_ctx, &img_dsc, &coords_part, src); in draw_main()
285 lv_draw_img(draw_ctx, &img_dsc, &coords_part, src); in draw_main()
/lvgl-3.5.0/src/draw/
Dlv_img_decoder.c91 const lv_img_dsc_t * img_dsc = src; in lv_img_decoder_get_info() local
92 if(img_dsc->data == NULL) return LV_RES_INV; in lv_img_decoder_get_info()
114 const lv_img_dsc_t * img_dsc = src; in lv_img_decoder_open() local
115 if(img_dsc->data == NULL) return LV_RES_INV; in lv_img_decoder_open()
602 const lv_img_dsc_t * img_dsc = dsc->src; in lv_img_decoder_built_in_line_alpha() local
604 data_tmp = img_dsc->data + ofs; in lv_img_decoder_built_in_line_alpha()
670 const lv_img_dsc_t * img_dsc = dsc->src; in lv_img_decoder_built_in_line_indexed() local
671 data_tmp = img_dsc->data + ofs; in lv_img_decoder_built_in_line_indexed()
/lvgl-3.5.0/src/draw/sw/
Dlv_draw_sw_letter.c184 lv_draw_img_dsc_t img_dsc; in draw_letter_normal() local
185 lv_draw_img_dsc_init(&img_dsc); in draw_letter_normal()
186 img_dsc.angle = 0; in draw_letter_normal()
187 img_dsc.zoom = LV_IMG_ZOOM_NONE; in draw_letter_normal()
188 img_dsc.opa = dsc->opa; in draw_letter_normal()
189 img_dsc.blend_mode = dsc->blend_mode; in draw_letter_normal()
190 lv_draw_img(draw_ctx, &img_dsc, &fill_area, map_p); in draw_letter_normal()
Dlv_draw_sw_rect.c364 lv_draw_img_dsc_t img_dsc; in draw_bg_img() local
365 lv_draw_img_dsc_init(&img_dsc); in draw_bg_img()
366 img_dsc.blend_mode = dsc->blend_mode; in draw_bg_img()
367 img_dsc.recolor = dsc->bg_img_recolor; in draw_bg_img()
368 img_dsc.recolor_opa = dsc->bg_img_recolor_opa; in draw_bg_img()
369 img_dsc.opa = dsc->bg_img_opa; in draw_bg_img()
379 lv_draw_img(draw_ctx, &img_dsc, &area, dsc->bg_img_src); in draw_bg_img()
391 lv_draw_img(draw_ctx, &img_dsc, &area, dsc->bg_img_src); in draw_bg_img()
/lvgl-3.5.0/src/widgets/
Dlv_img.c638 lv_draw_img_dsc_t img_dsc; in draw_img() local
639 lv_draw_img_dsc_init(&img_dsc); in draw_img()
640 lv_obj_init_draw_img_dsc(obj, LV_PART_MAIN, &img_dsc); in draw_img()
642 img_dsc.zoom = img->zoom; in draw_img()
643 img_dsc.angle = img->angle; in draw_img()
644 img_dsc.pivot.x = img->pivot.x; in draw_img()
645 img_dsc.pivot.y = img->pivot.y; in draw_img()
646 img_dsc.antialias = img->antialias; in draw_img()
671 lv_draw_img(draw_ctx, &img_dsc, &coords_tmp, img->src); in draw_img()
Dlv_dropdown.c843 lv_draw_img_dsc_t img_dsc; in draw_main() local
844 lv_draw_img_dsc_init(&img_dsc); in draw_main()
845 lv_obj_init_draw_img_dsc(obj, LV_PART_INDICATOR, &img_dsc); in draw_main()
846 img_dsc.pivot.x = symbol_w / 2; in draw_main()
847 img_dsc.pivot.y = symbol_h / 2; in draw_main()
848 img_dsc.angle = lv_obj_get_style_transform_angle(obj, LV_PART_INDICATOR); in draw_main()
849 lv_draw_img(draw_ctx, &img_dsc, &symbol_area, dropdown->symbol); in draw_main()
/lvgl-3.5.0/src/extra/libs/gif/
Dlv_gif.c71 const lv_img_dsc_t * img_dsc = src; in lv_gif_set_src() local
72 gifobj->gif = gd_open_gif_data(img_dsc->data); in lv_gif_set_src()
/lvgl-3.5.0/src/extra/widgets/meter/
Dlv_meter.c563 lv_draw_img_dsc_t img_dsc; in draw_needles() local
564 lv_draw_img_dsc_init(&img_dsc); in draw_needles()
565 lv_obj_init_draw_img_dsc(obj, LV_PART_ITEMS, &img_dsc); in draw_needles()
608 img_dsc.opa = indic->opa > LV_OPA_MAX ? opa_main : (opa_main * indic->opa) >> 8; in draw_needles()
609 img_dsc.pivot.x = indic->type_data.needle_img.pivot.x; in draw_needles()
610 img_dsc.pivot.y = indic->type_data.needle_img.pivot.y; in draw_needles()
613 img_dsc.angle = angle; in draw_needles()
616 part_draw_dsc.img_dsc = &img_dsc; in draw_needles()
619 lv_draw_img(draw_ctx, &img_dsc, &a, indic->type_data.needle_img.src); in draw_needles()
/lvgl-3.5.0/src/core/
Dlv_obj_draw.h54img_dsc; /**< A draw descriptor that can be modified to changed what LVGL will draw. Set onl… member
/lvgl-3.5.0/src/draw/sdl/
Dlv_draw_sdl_rect.c543 lv_draw_img_dsc_t img_dsc; in draw_bg_img() local
544 lv_draw_img_dsc_init(&img_dsc); in draw_bg_img()
545 img_dsc.blend_mode = dsc->blend_mode; in draw_bg_img()
546 img_dsc.recolor = dsc->bg_img_recolor; in draw_bg_img()
547 img_dsc.recolor_opa = dsc->bg_img_recolor_opa; in draw_bg_img()
548 img_dsc.opa = dsc->bg_img_opa; in draw_bg_img()
549 img_dsc.frame_id = 0; in draw_bg_img()
566 lv_draw_img((lv_draw_ctx_t *) ctx, &img_dsc, &area, dsc->bg_img_src); in draw_bg_img()
578 lv_draw_img((lv_draw_ctx_t *) ctx, &img_dsc, &area, dsc->bg_img_src); in draw_bg_img()
/lvgl-3.5.0/src/extra/libs/sjpg/
Dlv_sjpg.c160 const lv_img_dsc_t * img_dsc = src; in decoder_info() local
161 uint8_t * raw_sjpeg_data = (uint8_t *)img_dsc->data; in decoder_info()
162 const uint32_t raw_sjpeg_data_size = img_dsc->data_size; in decoder_info()
/lvgl-3.5.0/docs/widgets/extra/
Dmeter.md77 - `img_dsc`
/lvgl-3.5.0/docs/overview/
Ddrawing.md166 lv_draw_img_dsc_t * img_dsc; // A draw descriptor that can be modified to changed what LVGL …