Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 90) sorted by relevance

1234

/lvgl-latest/src/stdlib/builtin/
Dlv_sprintf_builtin.c555 …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/
Dlv_sprintf_clib.c40 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/
Dlv_sprintf_rtthread.c43 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/
Dlv_log.c72 …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()
Dlv_assert.h53 #define LV_ASSERT_FORMAT_MSG(expr, format, ...) \ argument
56 LV_LOG_ERROR("Asserted at expression: %s " format , #expr, __VA_ARGS__); \
Dlv_log.h80 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/
DtvgLoader.cpp133 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 …]
DtvgSaver.cpp75 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/
Dnema_graphics.h46 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/
Dlv_vg_lite_utils.c215 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 …]
Dlv_vg_lite_utils.h88 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);
Dlv_vg_lite_path.c144 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/
Dlv_sprintf.h37 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/
Dlodepng.rst21 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.
Dbmp.rst33 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
Dtjpgd.rst49 - Color format = RAW, output format = C Array
Dgif.rst23 format and "C array" Output format.
/lvgl-latest/docs/_ext/
Dlv_example.py54 …ph_node = nodes.raw(text=f"<p>{self.human_language_name(language)} code &nbsp;</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/
Dlv_freetype_glyph.c92 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/
Dlv_draw_nema_gfx_label.c274 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/
Dvg_lite_tvg.cpp59 #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/
Dime_pinyin.rst54 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/
Dlv_draw_label_private.h47 lv_font_glyph_format_t format; member
/lvgl-latest/env_support/cmake/
Desp.cmake20 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/
Dimage.rst28 - *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 …]

1234