/lvgl-latest/src/stdlib/builtin/ |
D | lv_sprintf_builtin.c | 555 …printf_inner(out_fct_type out, char * buffer, const size_t maxlen, const char * format, va_list va) in lv_vsnprintf_inner() argument 565 while(*format) { in lv_vsnprintf_inner() 567 if(*format != '%') { in lv_vsnprintf_inner() 569 out(*format, buffer, idx++, maxlen); in lv_vsnprintf_inner() 570 format++; in lv_vsnprintf_inner() 575 format++; in lv_vsnprintf_inner() 581 switch(*format) { in lv_vsnprintf_inner() 584 format++; in lv_vsnprintf_inner() 589 format++; in lv_vsnprintf_inner() 594 format++; in lv_vsnprintf_inner() [all …]
|
/lvgl-latest/src/stdlib/clib/ |
D | lv_sprintf_clib.c | 40 int lv_snprintf(char * buffer, size_t count, const char * format, ...) in lv_snprintf() argument 43 va_start(va, format); in lv_snprintf() 44 const int ret = vsnprintf(buffer, count, format, va); in lv_snprintf() 49 int lv_vsnprintf(char * buffer, size_t count, const char * format, va_list va) in lv_vsnprintf() argument 51 return vsnprintf(buffer, count, format, va); in lv_vsnprintf()
|
/lvgl-latest/src/stdlib/rtthread/ |
D | lv_sprintf_rtthread.c | 43 int lv_snprintf(char * buffer, size_t count, const char * format, ...) in lv_snprintf() argument 46 va_start(va, format); in lv_snprintf() 47 const int ret = rt_vsnprintf(buffer, count, format, va); in lv_snprintf() 52 int lv_vsnprintf(char * buffer, size_t count, const char * format, va_list va) in lv_vsnprintf() argument 54 return rt_vsnprintf(buffer, count, format, va); in lv_vsnprintf()
|
/lvgl-latest/src/misc/ |
D | lv_log.c | 72 …add(lv_log_level_t level, const char * file, int line, const char * func, const char * format, ...) in lv_log_add() argument 78 va_start(args, format); in lv_log_add() 102 vprintf(format, args); in lv_log_add() 109 lv_vsnprintf(msg, sizeof(msg), format, args); in lv_log_add() 122 void lv_log(const char * format, ...) in lv_log() argument 127 va_start(args, format); in lv_log() 130 vprintf(format, args); in lv_log() 134 lv_vsnprintf(buf, sizeof(buf), format, args); in lv_log()
|
D | lv_assert.h | 53 #define LV_ASSERT_FORMAT_MSG(expr, format, ...) \ argument 56 LV_LOG_ERROR("Asserted at expression: %s " format , #expr, __VA_ARGS__); \
|
D | lv_log.h | 80 void lv_log(const char * format, ...) LV_FORMAT_ATTRIBUTE(1, 2); 92 const char * func, const char * format, ...) LV_FORMAT_ATTRIBUTE(5, 6);
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgLoader.cpp | 133 const char *format; in _find() local 136 format = "TVG"; in _find() 140 format = "SVG"; in _find() 144 format = "TTF"; in _find() 148 format = "lottie(json)"; in _find() 152 format = "RAW"; in _find() 156 format = "PNG"; in _find() 160 format = "JPG"; in _find() 164 format = "WEBP"; in _find() 168 format = "???"; in _find() [all …]
|
D | tvgSaver.cpp | 75 const char *format; in _find() local 78 format = "TVG"; in _find() 82 format = "GIF"; in _find() 86 format = "???"; in _find() 90 TVGLOG("RENDERER", "%s format is not supported", format); in _find()
|
/lvgl-latest/libs/nema_gfx/include/ |
D | nema_graphics.h | 46 uint8_t format; member 204 nema_tex_format_t format, int32_t stride, nema_tex_mode_t wrap_mode); 297 int nema_format_size (nema_tex_format_t format); 307 int nema_stride_size(nema_tex_format_t format, nema_tex_mode_t wrap_mode, int width); 319 int nema_texture_size(nema_tex_format_t format, nema_tex_mode_t wrap_mode, int width, int height); 374 nema_tex_format_t format, int32_t stride, nema_tex_mode_t mode); 388 nema_tex_format_t format, int32_t stride, nema_tex_mode_t mode); 401 nema_tex_format_t format, int32_t stride); 418 nema_tex_format_t format, int32_t stride, nema_tex_mode_t mode,
|
/lvgl-latest/src/draw/vg_lite/ |
D | lv_vg_lite_utils.c | 215 const char * lv_vg_lite_buffer_format_string(vg_lite_buffer_format_t format) in lv_vg_lite_buffer_format_string() argument 217 switch(format) { in lv_vg_lite_buffer_format_string() 316 uint8_t fmt_len = lv_vg_lite_path_format_len(path->format); in lv_vg_lite_path_dump_info() 326 LV_LOG_USER("format: %d", (int)path->format); in lv_vg_lite_path_dump_info() 426 (int)((buffer)->format), in lv_vg_lite_buffer_dump_info() 427 lv_vg_lite_buffer_format_string((buffer)->format)); in lv_vg_lite_buffer_dump_info() 566 vg_lite_buffer_format_t format, in lv_vg_lite_buffer_format_bytes() argument 574 switch(format) { in lv_vg_lite_buffer_format_bytes() 648 LV_LOG_ERROR("unsupported color format: 0x%" PRIx32, (uint32_t)format); in lv_vg_lite_buffer_format_bytes() 678 vg_lite_buffer_format_t format, in lv_vg_lite_buffer_init() argument [all …]
|
D | lv_vg_lite_utils.h | 88 const char * lv_vg_lite_buffer_format_string(vg_lite_buffer_format_t format); 109 vg_lite_buffer_format_t format, 124 vg_lite_buffer_format_t format, 142 uint32_t lv_vg_lite_get_palette_size(vg_lite_buffer_format_t format);
|
D | lv_vg_lite_path.c | 144 path->base.format = data_format; in lv_vg_lite_path_reset() 297 switch(path->base.format) { in lv_vg_lite_path_append_op() 312 LV_ASSERT_FORMAT_MSG(false, "Invalid format: %d", path->base.format); in lv_vg_lite_path_append_op() 337 switch(path->base.format) { in lv_vg_lite_path_append_point() 351 LV_ASSERT_FORMAT_MSG(false, "Invalid format: %d", path->base.format); in lv_vg_lite_path_append_point() 623 uint8_t lv_vg_lite_path_format_len(vg_lite_format_t format) in lv_vg_lite_path_format_len() argument 625 switch(format) { in lv_vg_lite_path_format_len() 635 LV_ASSERT_FORMAT_MSG(false, "Invalid format: %d", format); in lv_vg_lite_path_format_len() 647 uint8_t fmt_len = lv_vg_lite_path_format_len(path->format); in lv_vg_lite_path_for_each_data() 664 switch(path->format) { in lv_vg_lite_path_for_each_data() [all …]
|
/lvgl-latest/src/stdlib/ |
D | lv_sprintf.h | 37 int lv_snprintf(char * buffer, size_t count, const char * format, ...); 39 int lv_vsnprintf(char * buffer, size_t count, const char * format, va_list va);
|
/lvgl-latest/docs/details/libs/ |
D | lodepng.rst | 21 The decoded image is stored in RGBA pixel format. 28 PNG file format supports True color (24/32 bit), and 8-bit palette colors. 29 Usually cliparts, drawings, icons and simple graphics are stored in PNG format, 31 the image by using 8-bit palette colors, instead of 24/32 bit True color format.
|
D | bmp.rst | 33 differences between how the BMP files and LVGL's image format stores 37 - The BMP files color format needs to match with :c:macro:`LV_COLOR_DEPTH`. 38 Use GIMP to save the image in the required format. Both RGB888 and
|
D | tjpgd.rst | 49 - Color format = RAW, output format = C Array
|
D | gif.rst | 23 format and "C array" Output format.
|
/lvgl-latest/docs/_ext/ |
D | lv_example.py | 54 …ph_node = nodes.raw(text=f"<p>{self.human_language_name(language)} code </p>", format='html') 56 …example-link-button' onclick=\"event.stopPropagation();\" href='{url}'>{text}</a>", format='html')) 93 …raw(text=f"<div class='lv-example-container'>{iframe_html}{description_html}</div>", format='html') 101 trailing_node = nodes.raw(text=f"<hr/>", format='html')
|
/lvgl-latest/src/libs/freetype/ |
D | lv_freetype_glyph.c | 92 g_dsc->format = LV_FONT_GLYPH_FORMAT_NONE; in freetype_get_glyph_dsc_cb() 178 dsc_out->format = LV_FONT_GLYPH_FORMAT_VECTOR; in freetype_glyph_create_cb() 196 if(glyph->format == FT_GLYPH_FORMAT_BITMAP) in freetype_glyph_create_cb() 197 dsc_out->format = LV_FONT_GLYPH_FORMAT_IMAGE; in freetype_glyph_create_cb() 199 dsc_out->format = LV_FONT_GLYPH_FORMAT_A8; in freetype_glyph_create_cb()
|
/lvgl-latest/src/draw/nema_gfx/ |
D | lv_draw_nema_gfx_label.c | 274 uint32_t format = glyph_draw_dsc->g->format; in _bpp_nema_gfx_format() local 276 switch(format) { in _bpp_nema_gfx_format() 297 if(glyph_draw_dsc->format == LV_FONT_GLYPH_FORMAT_NONE) { in _draw_nema_gfx_letter() 308 else if(glyph_draw_dsc->format >= LV_FONT_GLYPH_FORMAT_A1 && in _draw_nema_gfx_letter() 309 glyph_draw_dsc->format <= LV_FONT_GLYPH_FORMAT_A8_ALIGNED) { in _draw_nema_gfx_letter() 336 if(glyph_draw_dsc->format <= LV_FONT_GLYPH_FORMAT_A4) { in _draw_nema_gfx_letter() 354 else if(glyph_draw_dsc->format == LV_FONT_GLYPH_FORMAT_IMAGE) { in _draw_nema_gfx_letter() 367 else if(glyph_draw_dsc->format == LV_FONT_GLYPH_FORMAT_VECTOR) { in _draw_nema_gfx_letter() 780 if(LV_FONT_GLYPH_FORMAT_NONE < g.format && g.format < LV_FONT_GLYPH_FORMAT_IMAGE) { in _draw_letter() 807 dsc->format = dsc->glyph_data ? g.format : LV_FONT_GLYPH_FORMAT_NONE; in _draw_letter() [all …]
|
/lvgl-latest/src/others/vg_lite_tvg/ |
D | vg_lite_tvg.cpp | 59 #define VLC_GET_ARG(CUR, INDEX) vlc_get_arg((cur + (INDEX) * fmt_len), path->format); 86 #define VG_LITE_IS_ALPHA_FORMAT(format) \ argument 87 ((format) == VG_LITE_A8 || (format) == VG_LITE_A4) 218 const vg_lite_uint32_t * get_CLUT(vg_lite_buffer_format_t format) in get_CLUT() argument 220 switch(format) { in get_CLUT() 321 static void get_format_bytes(vg_lite_buffer_format_t format, 521 … if(buffer->format == VG_LITE_RGBA8888_ETC2_EAC && (buffer->width % 16 || buffer->height % 4)) { in vg_lite_allocate() 529 if(buffer->format >= VG_LITE_YUY2 && buffer->format <= VG_LITE_NV16) { in vg_lite_allocate() 534 if(buffer->format >= VG_LITE_YUY2_TILED && buffer->format <= VG_LITE_AYUY2_TILED) { in vg_lite_allocate() 541 get_format_bytes(buffer->format, &mul, &div, &align); in vg_lite_allocate() [all …]
|
/lvgl-latest/docs/details/other-components/ |
D | ime_pinyin.rst | 54 Then, write a dictionary in the following format. 57 Dictionary format 66 Then, write your own dictionary according to the following format: 91 After writing a dictionary according to the above dictionary format, you
|
/lvgl-latest/src/draw/ |
D | lv_draw_label_private.h | 47 lv_font_glyph_format_t format; member
|
/lvgl-latest/env_support/cmake/ |
D | esp.cmake | 20 set_source_files_properties(${EXAMPLE_SOURCES} COMPILE_FLAGS "-Wno-unused-variable -Wno-format") 58 set_source_files_properties(${DEMO_MUSIC_SOURCES} COMPILE_FLAGS "-Wno-format")
|
/lvgl-latest/docs/details/main-components/ |
D | image.rst | 28 - *cf*: Color format. See :ref:`below <overview_image_color_formats>` 89 You can store images in a *Raw* format to indicate that it's not encoded 114 3. Select the :ref:`Color format <overview_image_color_formats>`. 126 In the case of binary files, you need to specify the color format you 149 .header.cf = LV_COLOR_FORMAT_NATIVE, /* Set the color format */ 191 :info: get some basic info about the image (width, height and color format). 200 finds one which can open the image, i.e. one which knows that format. 219 converter and select ``Raw`` or ``Raw with alpha`` format. 226 accordingly. You should choose the correct format according to your needs: 231 to *True color* according to the format described in the :ref:`overview_image_color_formats` sectio… [all …]
|