Home
last modified time | relevance | path

Searched full:src (Results 1 – 25 of 113) sorted by relevance

12345

/lvgl-3.7.0/env_support/cmsis-pack/
DLVGL.lvgl.8.4.0.pack ... c lv_conf_cmsis.h README.md README_zh.md src/ src/core/ src/core/lv_core ...
DLVGL.lvgl.pdsc323 <!-- src/core -->
324 <file category="sourceC" name="src/core/lv_disp.c" />
325 <file category="sourceC" name="src/core/lv_event.c" />
326 <file category="sourceC" name="src/core/lv_group.c" />
327 <file category="sourceC" name="src/core/lv_indev.c" />
328 <file category="sourceC" name="src/core/lv_indev_scroll.c" />
329 <file category="sourceC" name="src/core/lv_obj.c" />
330 <file category="sourceC" name="src/core/lv_obj_class.c" />
331 <file category="sourceC" name="src/core/lv_obj_draw.c" />
332 <file category="sourceC" name="src/core/lv_obj_pos.c" />
[all …]
/lvgl-3.7.0/
Dlvgl.h25 #include "src/misc/lv_log.h"
26 #include "src/misc/lv_timer.h"
27 #include "src/misc/lv_math.h"
28 #include "src/misc/lv_mem.h"
29 #include "src/misc/lv_async.h"
30 #include "src/misc/lv_anim_timeline.h"
31 #include "src/misc/lv_printf.h"
33 #include "src/hal/lv_hal.h"
35 #include "src/core/lv_obj.h"
36 #include "src/core/lv_group.h"
[all …]
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.7.0/src/draw/
Dlv_img_decoder.c79 * @param src the image source. E.g. file name or variable.
83 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()
[all …]
Dlv_img_cache.c59 * @param src source of the image. Path to file or pointer to an `lv_img_dsc_t` variable
63 _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()
178 * @param src an image source path to a file or pointer to an `lv_img_dsc_t` variable.
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_draw_img.c30 … const lv_area_t * coords, const void * src);
60 * @param src pointer to a lv_color_t array which contains the pixels of the image
63 …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
65 if(src == NULL) { in lv_draw_img()
66 LV_LOG_WARN("Image draw: src is NULL"); in lv_draw_img()
76 res = draw_ctx->draw_img(draw_ctx, dsc, coords, src); in lv_draw_img()
80 res = decode_and_draw(draw_ctx, dsc, coords, src); in lv_draw_img()
189 * @param src pointer to an image source:
195 lv_img_src_t lv_img_src_get_type(const void * src) argument
199 if(src == NULL) return img_src_type;
[all …]
Dlv_img_decoder.h49 * @param src the image source. Can be a pointer to a C array or a file name (Use
54 typedef lv_res_t (*lv_img_decoder_info_f_t)(struct _lv_img_decoder_t * decoder, const void * src,
60 * @param dsc pointer to decoder descriptor. `src`, `color` are already initialized in it.
102 const void * src; member
144 * @param src the image source. Can be
151 lv_res_t lv_img_decoder_get_info(const void * src, lv_img_header_t * header);
157 * @param src the image source. Can be
166 lv_res_t lv_img_decoder_open(lv_img_decoder_dsc_t * dsc, const void * src, lv_color_t color, int32_…
229 * @param src the image source: pointer to an `lv_img_dsc_t` variable, a file path or a symbol
233 lv_res_t lv_img_decoder_built_in_info(lv_img_decoder_t * decoder, const void * src, lv_img_header_t…
[all …]
Dlv_draw.mk15 DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw
16 VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw
18 CFLAGS += "-I$(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
/lvgl-3.7.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()
118 /*If the new and the old src are the same then it was only a refresh.*/ 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()
[all …]
/lvgl-3.7.0/src/extra/widgets/imgbtn/
Dlv_imgbtn.c225 /*Simply draw the middle src if no tiled*/ in draw_main()
226 const void * src = imgbtn->img_src_left[state]; in draw_main() local
246 if(src) { in draw_main()
247 lv_img_decoder_get_info(src, &header); in draw_main()
253 lv_draw_img(draw_ctx, &img_dsc, &coords_part, src); in draw_main()
256 src = imgbtn->img_src_right[state]; in draw_main()
257 if(src) { in draw_main()
258 lv_img_decoder_get_info(src, &header); in draw_main()
264 lv_draw_img(draw_ctx, &img_dsc, &coords_part, src); in draw_main()
267 src = imgbtn->img_src_mid[state]; in draw_main()
[all …]
/lvgl-3.7.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.7.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.7.0/docs/get-started/platforms/
Dnxp.md21 Supported draw callbacks are available in "src/draw/nxp/pxp/lv_draw_pxp.c":
69 #include "src/draw/nxp/pxp/lv_gpu_nxp_pxp.h"
79 - src/draw/nxp/pxp/lv_draw_pxp.c[.h]: draw context callbacks
80 - src/draw/nxp/pxp/lv_draw_pxp_blend.c[.h]: fill and blit (with optional transformation)
81 - src/draw/nxp/pxp/lv_gpu_nxp_pxp.c[.h]: init, uninit, run/wait PXP device
82 - src/draw/nxp/pxp/lv_gpu_nxp_pxp_osa.c[.h]: OS abstraction (FreeRTOS or bare metal)
110 Supported draw callbacks are available in "src/draw/nxp/vglite/lv_draw_vglite.c":
165 - src/draw/nxp/vglite/lv_draw_vglite.c[.h]: draw context callbacks
166 - src/draw/nxp/vglite/lv_draw_vglite_blend.c[.h]: fill and blit (with optional transformation)
167 - src/draw/nxp/vglite/lv_draw_vglite_rect.c[.h]: draw rectangle
[all …]
/lvgl-3.7.0/src/draw/stm32_dma2d/
Dlv_gpu_stm32_dma2d.c27 …s=lvgl/scripts/code-format.cfg --ignore-exclude-errors lvgl/src/draw/stm32_dma2d/*.c lvgl/src/draw…
59 const lv_area_t * src_area, const void * src);
182 // merge mask alpha bytes with src RGB bytes in lv_draw_stm32_dma2d_blend()
318 const lv_area_t * src_area, const void * src) in lv_draw_stm32_dma2d_img() argument
320 //if(lv_img_src_get_type(src) != LV_IMG_SRC_VARIABLE) return LV_RES_INV; in lv_draw_stm32_dma2d_img()
323 const lv_img_dsc_t * img = src; in lv_draw_stm32_dma2d_img()
332 // FIXME: src pixel size *must* be known to use DMA2D in lv_draw_stm32_dma2d_img()
340 …rLength = lv_area_get_size(src_area) * sizeof(lv_color_t); // TODO: verify src pixel size = sizeof… in lv_draw_stm32_dma2d_img()
342 …//LV_ASSERT_MSG((uint32_t)src % CACHE_ROW_SIZE == 0); // FIXME: assert fails (performance, non-cri… in lv_draw_stm32_dma2d_img()
428 * @brief Draws src (foreground) map on dst (background) map.
[all …]
/lvgl-3.7.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 …]
Dlv_sjpg.c107 static lv_res_t decoder_info(lv_img_decoder_t * decoder, const void * src, lv_img_header_t * header…
143 * @param src can be file name or pointer to a C array
147 static lv_res_t decoder_info(lv_img_decoder_t * decoder, const void * src, lv_img_header_t * header) in decoder_info() argument
151 /*Check whether the type `src` is known by the decoder*/ in decoder_info()
154 lv_img_src_t src_type = lv_img_src_get_type(src); /*Get the source type*/ in decoder_info()
159 const lv_img_dsc_t * img_dsc = src; in decoder_info()
212 const char * fn = src; in decoder_info()
351 const uint32_t raw_sjpeg_data_size = ((lv_img_dsc_t *)dsc->src)->data_size; in decoder_open()
359 sjpeg->sjpeg_data = (uint8_t *)((lv_img_dsc_t *)(dsc->src))->data; in decoder_open()
360 sjpeg->sjpeg_data_size = ((lv_img_dsc_t *)(dsc->src))->data_size; in decoder_open()
[all …]
/lvgl-3.7.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
337 src/test_fonts/ubuntu_font.c
352 # The sources in src/test_runners is auto-generated, the
353 # sources in src/test_cases is the actual test case.
[all …]
/lvgl-3.7.0/src/misc/
Dlv_mem.h128 * @param src pointer to the source buffer
131 static inline void * lv_memcpy(void * dst, const void * src, size_t len) in lv_memcpy() argument
133 return memcpy(dst, src, len); in lv_memcpy()
139 * @param src pointer to the source buffer
142 static inline void * lv_memcpy_small(void * dst, const void * src, size_t len) in lv_memcpy_small() argument
144 return memcpy(dst, src, len); in lv_memcpy_small()
182 * @param src pointer to the source buffer
185 void * /* LV_ATTRIBUTE_FAST_MEM */ lv_memcpy(void * dst, const void * src, size_t len);
190 * @param src pointer to the source buffer
193 static inline void * LV_ATTRIBUTE_FAST_MEM lv_memcpy_small(void * dst, const void * src, size_t len) in lv_memcpy_small() argument
[all …]
/lvgl-3.7.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.7.0/src/draw/nxp/vglite/
Dlv_draw_vglite_arc.c240 static void copy_arc(vg_arc * dst, vg_arc * src) in copy_arc() argument
242 dst->quarter = src->quarter; in copy_arc()
243 dst->rad = src->rad; in copy_arc()
244 dst->angle = src->angle; in copy_arc()
245 dst->p0x = src->p0x; in copy_arc()
246 dst->p1x = src->p1x; in copy_arc()
247 dst->p2x = src->p2x; in copy_arc()
248 dst->p3x = src->p3x; in copy_arc()
249 dst->p0y = src->p0y; in copy_arc()
250 dst->p1y = src->p1y; in copy_arc()
[all …]
Dlv_draw_vglite_blend.c233 VG_LITE_RETURN_INV("Check src alignment failed."); in lv_gpu_nxp_vglite_blit()
260 VG_LITE_RETURN_INV("Check src alignment failed."); in lv_gpu_nxp_vglite_blit_transform()
287 VG_LITE_RETURN_INV("Check src alignment failed."); in lv_gpu_nxp_vglite_buffer_copy()
365 VG_LITE_RETURN_INV("Check src alignment failed."); in lv_vglite_blit_split()
417 …/* src and dst buffer shift against each other. Src buffer real data [0,0] may start actually at [… in lv_vglite_blit_split()
423 VG_LITE_LOG_TRACE("X shift: src: %d, dst: %d", shift_src_x, shift_dest_x); in lv_vglite_blit_split()
439 tile_dest_area.y1 = tile_src_area.y1; /* y has no alignment, always in sync with src */ in lv_vglite_blit_split()
481 VG_LITE_RETURN_INV("Check src alignment failed."); in lv_vglite_blit_split()
568 VG_LITE_RETURN_INV("Src buffer ptr (0x%x) not aligned to 0x%x bytes.", in check_src_alignment()
573 VG_LITE_RETURN_INV("Src buffer stride (%d px) not aligned to %d px.", in check_src_alignment()
/lvgl-3.7.0/src/extra/libs/bmp/
Dlv_bmp.c34 static lv_res_t decoder_info(lv_img_decoder_t * decoder, const void * src, lv_img_header_t * header…
68 * @param src can be file name or pointer to a C array
72 static lv_res_t decoder_info(lv_img_decoder_t * decoder, const void * src, lv_img_header_t * header) in decoder_info() argument
76 lv_img_src_t src_type = lv_img_src_get_type(src); /*Get the source type*/ in decoder_info()
80 const char * fn = src; in decoder_info()
84 lv_fs_res_t res = lv_fs_open(&f, src, LV_FS_MODE_RD); in decoder_info()
118 * @param src can be file name or pointer to a C array
128 const char * fn = dsc->src; in decoder_open()
137 lv_fs_res_t res = lv_fs_open(&b.f, dsc->src, LV_FS_MODE_RD); in decoder_open()
/lvgl-3.7.0/src/extra/libs/png/
Dlv_png.c27 static lv_res_t decoder_info(struct _lv_img_decoder_t * decoder, const void * src, lv_img_header_t …
61 * @param src can be file name or pointer to a C array
65 static lv_res_t decoder_info(struct _lv_img_decoder_t * decoder, const void * src, lv_img_header_t … in decoder_info() argument
68 lv_img_src_t src_type = lv_img_src_get_type(src); /*Get the source type*/ in decoder_info()
72 const char * fn = src; in decoder_info()
104 const lv_img_dsc_t * img_dsc = src; in decoder_info()
141 * @param src can be file name or pointer to a C array
155 const char * fn = dsc->src; in decoder_open()
191 const lv_img_dsc_t * img_dsc = dsc->src; in decoder_open()

12345