Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 92) sorted by relevance

1234

/lvgl-3.5.0/
Dcomponent.mk4 src \
5 src/core \
6 src/draw \
7 src/extra \
8 src/font \
9 src/gpu \
10 src/hal \
11 src/misc \
12 src/widgets \
13 src/extra/layouts \
[all …]
Dlvgl.mk3 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core/lv_core.mk
4 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/lv_draw.mk
5 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/lv_extra.mk
6 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/font/lv_font.mk
7 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal/lv_hal.mk
8 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc/lv_misc.mk
9 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets/lv_widgets.mk
/lvgl-3.5.0/scripts/
Dcode-format.cfg28 --exclude=../src/core/lv_obj_style_gen.c
29 --exclude=../src/core/lv_obj_style_gen.h
30 --exclude=../src/extra/libs/gif/gifdec.c
31 --exclude=../src/extra/libs/gif/gifdec.h
32 --exclude=../src/extra/libs/png/lodepng.c
33 --exclude=../src/extra/libs/png/lodepng.h
34 --exclude=../src/extra/libs/qrcode/qrcodegen.c
35 --exclude=../src/extra/libs/qrcode/qrcodegen.h
36 --exclude=../src/extra/libs/sjpg/tjpgd.c
37 --exclude=../src/extra/libs/sjpg/tjpgd.h
[all …]
/lvgl-3.5.0/src/draw/
Dlv_draw.mk15 DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw
16 VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw
20 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d/lv_draw_arm2d.mk
21 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/lv_draw_nxp.mk
22 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl/lv_draw_sdl.mk
23 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d/lv_draw_stm32_dma2d.mk
24 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw/lv_draw_sw.mk
25 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d/lv_draw_swm341_dma2d.mk
Dlv_img_cache.c63 _lv_img_cache_entry_t * _lv_img_cache_open(const void * src, lv_color_t color, int32_t frame_id) in _lv_img_cache_open() argument
87 lv_img_cache_match(src, cache[i].dec_dsc.src)) { in _lv_img_cache_open()
111 if(cached_src->dec_dsc.src) { in _lv_img_cache_open()
123 lv_res_t open_res = lv_img_decoder_open(&cached_src->dec_dsc, src, color, frame_id); in _lv_img_cache_open()
180 void lv_img_cache_invalidate_src(const void * src) in lv_img_cache_invalidate_src() argument
182 LV_UNUSED(src); in lv_img_cache_invalidate_src()
188 if(src == NULL || lv_img_cache_match(src, cache[i].dec_dsc.src)) { in lv_img_cache_invalidate_src()
189 if(cache[i].dec_dsc.src != NULL) { in lv_img_cache_invalidate_src()
Dlv_img_decoder.c83 lv_res_t lv_img_decoder_get_info(const void * src, lv_img_header_t * header) in lv_img_decoder_get_info() argument
87 if(src == NULL) return LV_RES_INV; in lv_img_decoder_get_info()
89 lv_img_src_t src_type = lv_img_src_get_type(src); in lv_img_decoder_get_info()
91 const lv_img_dsc_t * img_dsc = src; in lv_img_decoder_get_info()
99 res = d->info_cb(d, src, header); in lv_img_decoder_get_info()
107 lv_res_t lv_img_decoder_open(lv_img_decoder_dsc_t * dsc, const void * src, lv_color_t color, int32_… in lv_img_decoder_open() argument
111 if(src == NULL) return LV_RES_INV; in lv_img_decoder_open()
112 lv_img_src_t src_type = lv_img_src_get_type(src); in lv_img_decoder_open()
114 const lv_img_dsc_t * img_dsc = src; in lv_img_decoder_open()
123 size_t fnlen = strlen(src); in lv_img_decoder_open()
[all …]
Dlv_img_decoder.h54 typedef lv_res_t (*lv_img_decoder_info_f_t)(struct _lv_img_decoder_t * decoder, const void * src,
104 const void * src; member
153 lv_res_t lv_img_decoder_get_info(const void * src, lv_img_header_t * header);
168 lv_res_t lv_img_decoder_open(lv_img_decoder_dsc_t * dsc, const void * src, lv_color_t color, int32_…
235 lv_res_t lv_img_decoder_built_in_info(lv_img_decoder_t * decoder, const void * src, lv_img_header_t…
Dlv_draw_img.c29 const lv_area_t * coords, const void * src);
62 …v_draw_ctx_t * draw_ctx, const lv_draw_img_dsc_t * dsc, const lv_area_t * coords, const void * src) in lv_draw_img() argument
64 if(src == NULL) { in lv_draw_img()
75 res = draw_ctx->draw_img(draw_ctx, dsc, coords, src); in lv_draw_img()
79 res = decode_and_draw(draw_ctx, dsc, coords, src); in lv_draw_img()
194 lv_img_src_t lv_img_src_get_type(const void * src) in lv_img_src_get_type() argument
198 if(src == NULL) return img_src_type; in lv_img_src_get_type()
199 const uint8_t * u8_p = src; in lv_img_src_get_type()
232 const lv_area_t * coords, const void * src) in decode_and_draw() argument
236 _lv_img_cache_entry_t * cdsc = _lv_img_cache_open(src, draw_dsc->recolor, draw_dsc->frame_id); in decode_and_draw()
Dlv_img_cache.h53 _lv_img_cache_entry_t * _lv_img_cache_open(const void * src, lv_color_t color, int32_t frame_id);
68 void lv_img_cache_invalidate_src(const void * src);
/lvgl-3.5.0/src/misc/
Dlv_mem.h132 static inline void * lv_memcpy(void * dst, const void * src, size_t len) in lv_memcpy() argument
134 return memcpy(dst, src, len); in lv_memcpy()
143 static inline void * lv_memcpy_small(void * dst, const void * src, size_t len) in lv_memcpy_small() argument
145 return memcpy(dst, src, len); in lv_memcpy_small()
186 LV_ATTRIBUTE_FAST_MEM void * lv_memcpy(void * dst, const void * src, size_t len);
194 LV_ATTRIBUTE_FAST_MEM static inline void * lv_memcpy_small(void * dst, const void * src, size_t len) in lv_memcpy_small() argument
197 const uint8_t * s8 = (const uint8_t *)src; in lv_memcpy_small()
/lvgl-3.5.0/src/draw/nxp/
Dlv_draw_nxp.mk1 DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp
2 VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp
6 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp/lv_draw_nxp_pxp.mk
7 include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite/lv_draw_nxp_vglite.mk
/lvgl-3.5.0/env_support/rt-thread/
DSConscript5 src = []
25 lvgl_src_cwd = lvgl_cwd + 'src/'
30 src = src + Glob(os.path.join(current_path,'*.c')) # add all .c files
41 src = src + Glob(os.path.join(current_path,'*.c'))
51 src = src + Glob(os.path.join(current_path,'*.c'))
61 group = group + DefineGroup('LVGL', src, depend = ['PKG_USING_LVGL'], CPPPATH = inc, LOCAL_CFLAGS =…
/lvgl-3.5.0/docs/
Dindex.md9 <img src="_static/img/home_banner.jpg" style="width:100%">
13 …<a href="intro/index.html"><img class="home-img" src="_static/img/home_1.png" alt="Get familiar wi…
14 …<a href="get-started/index.html"><img class="home-img" src="_static/img/home_2.png" alt="Learn the…
15 …<a href="porting/index.html"><img class="home-img" src="_static/img/home_3.png" alt="See how to po…
16 …<a href="overview/index.html"><img class="home-img" src="_static/img/home_4.png" alt="Learn the ho…
17 …<a href="widgets/index.html"><img class="home-img" src="_static/img/home_5.png" alt="Take a look a…
18 …<a href="CONTRIBUTING.html"><img class="home-img" src="_static/img/home_6.png" alt="Be part of the…
/lvgl-3.5.0/src/extra/widgets/imgbtn/
Dlv_imgbtn.c220 const void * src = imgbtn->img_src_left[state]; in draw_main() local
240 if(src) { in draw_main()
241 lv_img_decoder_get_info(src, &header); in draw_main()
247 lv_draw_img(draw_ctx, &img_dsc, &coords_part, src); in draw_main()
250 src = imgbtn->img_src_right[state]; in draw_main()
251 if(src) { in draw_main()
252 lv_img_decoder_get_info(src, &header); in draw_main()
258 lv_draw_img(draw_ctx, &img_dsc, &coords_part, src); in draw_main()
261 src = imgbtn->img_src_mid[state]; in draw_main()
262 if(src) { in draw_main()
[all …]
/lvgl-3.5.0/env_support/rt-thread/squareline/
DSConscript4 src = ['lv_ui_entry.c']
6 src += Glob(cwd + '/ui/*.c')
8 group = DefineGroup('LVGL-SquareLine', src, depend = ['PKG_USING_LVGL_SQUARELINE'])
/lvgl-3.5.0/src/draw/sdl/
Dlv_draw_sdl_stack_blur.c25 stack_blur_job(lv_opa_t * src, unsigned int w, unsigned int h, unsigned int radius, int cores, int …
91 static void stack_blur_job(lv_opa_t * src, unsigned int w, unsigned int h, unsigned int radius, int… in stack_blur_job() argument
128 src_ptr = src + stride * y; // start of line (0,y) in stack_blur_job()
150 src_ptr = src + (xp + y * w); // img.pix_ptr(xp, y); in stack_blur_job()
151 dst_ptr = src + y * stride; // img.pix_ptr(0, y); in stack_blur_job()
195 src_ptr = src + x; // x,0 in stack_blur_job()
214 src_ptr = src + (x + yp * w); // img.pix_ptr(x, yp); in stack_blur_job()
215 dst_ptr = src + x; // img.pix_ptr(x, 0); in stack_blur_job()
/lvgl-3.5.0/tests/
DCMakeLists.txt281 -DLV_CONF_PATH=${LVGL_TEST_DIR}/src/lv_test_conf.h
325 $<BUILD_INTERFACE:${LVGL_TEST_DIR}/src>
332 src/lv_test_indev.c
333 src/lv_test_init.c
334 src/test_fonts/font_1.c
335 src/test_fonts/font_2.c
336 src/test_fonts/font_3.c
351 # The sources in src/test_runners is auto-generated, the
352 # sources in src/test_cases is the actual test case.
353 file( GLOB TEST_CASE_FILES src/test_cases/*.c )
[all …]
/lvgl-3.5.0/src/draw/sw/
Dlv_draw_sw_transform.c50 static void argb_no_aa(const uint8_t * src, lv_coord_t src_w, lv_coord_t src_h, lv_coord_t src_stri…
54 static void rgb_no_aa(const uint8_t * src, lv_coord_t src_w, lv_coord_t src_h, lv_coord_t src_strid…
59 static void rgb565a8_no_aa(const uint8_t * src, lv_coord_t src_w, lv_coord_t src_h, lv_coord_t src_…
64 static void argb_and_rgb_aa(const uint8_t * src, lv_coord_t src_w, lv_coord_t src_h, lv_coord_t src…
160 static void rgb_no_aa(const uint8_t * src, lv_coord_t src_w, lv_coord_t src_h, lv_coord_t src_strid… in rgb_no_aa() argument
184 const uint8_t * src_tmp = src; in rgb_no_aa()
188 const lv_color_t * src_tmp = (const lv_color_t *)src; in rgb_no_aa()
192 const uint8_t * src_tmp = src; in rgb_no_aa()
203 static void argb_no_aa(const uint8_t * src, lv_coord_t src_w, lv_coord_t src_h, lv_coord_t src_stri… in argb_no_aa() argument
221 const uint8_t * src_tmp = src; in argb_no_aa()
[all …]
/lvgl-3.5.0/src/widgets/
Dlv_img.c70 void lv_img_set_src(lv_obj_t * obj, const void * src) in lv_img_set_src() argument
76 lv_img_src_t src_type = lv_img_src_get_type(src); in lv_img_set_src()
99 lv_mem_free((void *)img->src); in lv_img_set_src()
101 img->src = NULL; in lv_img_set_src()
107 lv_img_decoder_get_info(src, &header); in lv_img_set_src()
113 lv_mem_free((void *)img->src); in lv_img_set_src()
115 img->src = src; in lv_img_set_src()
119 if(img->src != src) { in lv_img_set_src()
125 old_src = img->src; in lv_img_set_src()
127 char * new_str = lv_mem_alloc(strlen(src) + 1); in lv_img_set_src()
[all …]
/lvgl-3.5.0/src/extra/libs/gif/
Dlv_gif.c58 void lv_gif_set_src(lv_obj_t * obj, const void * src) in lv_gif_set_src() argument
70 if(lv_img_src_get_type(src) == LV_IMG_SRC_VARIABLE) { in lv_gif_set_src()
71 const lv_img_dsc_t * img_dsc = src; in lv_gif_set_src()
74 else if(lv_img_src_get_type(src) == LV_IMG_SRC_FILE) { in lv_gif_set_src()
75 gifobj->gif = gd_open_gif_file(src); in lv_gif_set_src()
/lvgl-3.5.0/src/draw/arm2d/
Dlv_draw_arm2d.mk3 DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d
4 VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d
/lvgl-3.5.0/src/draw/stm32_dma2d/
Dlv_draw_stm32_dma2d.mk3 DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d
4 VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d
/lvgl-3.5.0/src/draw/swm341_dma2d/
Dlv_draw_swm341_dma2d.mk3 DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d
4 VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d
/lvgl-3.5.0/src/extra/libs/sjpg/
Dtjpgd.c580 int32_t* src, /* Input block data (de-quantized and pre-scaled for Arai Algorithm) */ in block_idct() argument
591 v0 = src[8 * 0]; /* Get even elements */ in block_idct()
592 v1 = src[8 * 2]; in block_idct()
593 v2 = src[8 * 4]; in block_idct()
594 v3 = src[8 * 6]; in block_idct()
606 v4 = src[8 * 7]; /* Get odd elements */ in block_idct()
607 v5 = src[8 * 1]; in block_idct()
608 v6 = src[8 * 5]; in block_idct()
609 v7 = src[8 * 3]; in block_idct()
623 src[8 * 0] = v0 + v7; /* Write-back transformed values */ in block_idct()
[all …]
/lvgl-3.5.0/src/hal/
Dlv_hal.mk5 DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal
6 VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal

1234