Home
last modified time | relevance | path

Searched refs:height (Results 1 – 25 of 137) sorted by relevance

123456

/lvgl-latest/libs/nema_gfx/include/
Dnema_transitions.h65 uint32_t blending_mode, float step, int width, int height);
92 uint32_t blending_mode, float step, int height);
106 uint32_t blending_mode, float step, int width, int height);
120 uint32_t blending_mode, float step, int width, int height);
134 uint32_t blending_mode, float step, int width, int height);
148 uint32_t blending_mode, float step, int width, int height);
162 int width, int height);
176 int width, int height);
190 uint32_t blending_mode, float step, int width, int height);
204 uint32_t blending_mode, float step, int width, int height);
Dnema_vg.h57 void nema_vg_init(int width, int height);
66 void nema_vg_init_stencil_pool(int width, int height, int pool);
75 void nema_vg_init_stencil_prealloc(int width, int height, nema_buffer_t stencil_bo);
140 uint32_t nema_vg_draw_rect(float x, float y, float width, float height,
158 uint32_t nema_vg_draw_rounded_rect(float x, float y, float width, float height,
Dnema_graphics.h203 uint32_t width, uint32_t height,
319 int nema_texture_size(nema_tex_format_t format, nema_tex_mode_t wrap_mode, int width, int height);
373 uint32_t width, uint32_t height,
387 uint32_t width, uint32_t height,
400 uint32_t width, uint32_t height,
417 uint32_t width, uint32_t height,
430 uint32_t width, uint32_t height);
Dnema_vg_tsvg.h54 void nema_vg_get_tsvg_resolution(const void *buffer, uint32_t *width, uint32_t *height);
/lvgl-latest/src/draw/nxp/vglite/
Dlv_vglite_buf.c72 void vglite_set_dest_buf(const void * buf, uint32_t width, uint32_t height, uint32_t stride, in vglite_set_dest_buf() argument
75 vglite_set_buf(&_dest_vgbuf, (void *)buf, width, height, stride, cf); in vglite_set_dest_buf()
78 void vglite_set_src_buf(const void * buf, uint32_t width, uint32_t height, uint32_t stride, in vglite_set_src_buf() argument
81 vglite_set_buf(&_src_vgbuf, (void *)buf, width, height, stride, cf); in vglite_set_src_buf()
85 uint32_t width, uint32_t height, uint32_t stride, in vglite_set_buf() argument
96 vgbuf->height = (int32_t)height; in vglite_set_buf()
Dlv_vglite_buf.h83 void vglite_set_dest_buf(const void * buf, uint32_t width, uint32_t height, uint32_t stride,
96 void vglite_set_src_buf(const void * buf, uint32_t width, uint32_t height, uint32_t stride,
111 uint32_t width, uint32_t height, uint32_t stride,
Dlv_draw_vglite_border.c151 rect[num_rect].height = final_radius + ceil(line_width / 2.0f); in _vglite_draw_border()
159 rect[num_rect].height = coords->y2 - coords->y1 + line_width + 1; in _vglite_draw_border()
167 rect[num_rect].height = coords->y2 - coords->y1 + line_width + 1; in _vglite_draw_border()
175 rect[num_rect].height = final_radius + ceil(line_width / 2.0f); in _vglite_draw_border()
/lvgl-latest/tests/src/test_cases/
Dtest_display.c18 uint32_t height; member
56 …fer_size = lv_draw_buf_width_to_stride(test_set->width, test_set->color_format) * test_set->height; in exec_invalidated_drawbuf_size_test()
60 lv_display_t * disp = lv_display_create(test_set->width, test_set->height); in exec_invalidated_drawbuf_size_test()
77 .height = 20, in test_get_invalidated_drawbuf_size_rgb888_partial()
91 .height = 20, in test_get_invalidated_drawbuf_size_rgb888_full()
105 .height = 90, in test_get_invalidated_drawbuf_size_i1_full()
119 .height = 90, in test_get_invalidated_drawbuf_size_i1_partial()
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_utils.c79 static void rotate180_argb8888(const uint32_t * src, uint32_t * dst, int32_t width, int32_t height,…
89 static void rotate180_rgb888(const uint8_t * src, uint8_t * dst, int32_t width, int32_t height, int…
91 static void rotate270_rgb888(const uint8_t * src, uint8_t * dst, int32_t width, int32_t height, int…
98 static void rotate180_rgb565(const uint16_t * src, uint16_t * dst, int32_t width, int32_t height, i…
110 static void rotate180_l8(const uint8_t * src, uint8_t * dst, int32_t width, int32_t height, int32_t…
129 …v_draw_sw_i1_to_argb8888(const void * buf_i1, void * buf_argb8888, uint32_t width, uint32_t height, in lv_draw_sw_i1_to_argb8888() argument
136 for(uint32_t row = 0; row < height; row++) { in lv_draw_sw_i1_to_argb8888()
214 …_draw_sw_i1_convert_to_vtiled(const void * buf, uint32_t buf_size, uint32_t width, uint32_t height, in lv_draw_sw_i1_convert_to_vtiled() argument
219 LV_ASSERT(width % 8 == 0 && height % 8 == 0); in lv_draw_sw_i1_convert_to_vtiled()
220 LV_ASSERT(buf_size >= (width / 8) * height); in lv_draw_sw_i1_convert_to_vtiled()
[all …]
Dlv_draw_sw_utils.h44 …v_draw_sw_i1_to_argb8888(const void * buf_i1, void * buf_argb8888, uint32_t width, uint32_t height,
79 …_draw_sw_i1_convert_to_vtiled(const void * buf, uint32_t buf_size, uint32_t width, uint32_t height,
/lvgl-latest/src/drivers/wayland/
Dlv_wayland.c149 int height; member
232 int height; member
253 static void color_fill(void * pixels, lv_color_t color, uint32_t width, uint32_t height);
254 static void color_fill_XRGB8888(void * pixels, lv_color_t color, uint32_t width, uint32_t height);
255 static void color_fill_RGB565(void * pixels, lv_color_t color, uint32_t width, uint32_t height);
258 static bool resize_window(struct window * window, int width, int height);
411 else if(pos_y >= (window->height + BORDER_SIZE - (BORDER_SIZE * 5))) { in pointer_handle_enter()
425 else if(pos_y >= (window->height + BORDER_SIZE - (BORDER_SIZE * 5))) { in pointer_handle_enter()
441 wl_surface_damage(app->cursor_surface, 0, 0, cursor_image->width, cursor_image->height); in pointer_handle_enter()
473 …ointer_obj->input.pointer.y = LV_MAX(0, LV_MIN(wl_fixed_to_int(sy), app->pointer_obj->height - 1)); in pointer_handle_motion()
[all …]
/lvgl-latest/src/libs/tiny_ttf/
Dstb_rect_pack.h138 STBRP_DEF void stbrp_init_target(stbrp_context * context, int width, int height, stbrp_node * nodes…
187 int height; member
263 STBRP_DEF void stbrp_init_target(stbrp_context * context, int width, int height, stbrp_node * nodes… in stbrp_init_target() argument
275 context->height = height; in stbrp_init_target()
345 static stbrp__findresult stbrp__skyline_find_best_pos(stbrp_context * c, int width, int height) in stbrp__skyline_find_best_pos() argument
357 if(width > c->width || height > c->height) { in stbrp__skyline_find_best_pos()
377 if(y + height <= c->height) { in stbrp__skyline_find_best_pos()
427 if(y + height <= c->height) { in stbrp__skyline_find_best_pos()
448 …tic stbrp__findresult stbrp__skyline_pack_rectangle(stbrp_context * context, int width, int height) in stbrp__skyline_pack_rectangle() argument
451 stbrp__findresult res = stbrp__skyline_find_best_pos(context, width, height); in stbrp__skyline_pack_rectangle()
[all …]
/lvgl-latest/src/libs/rlottie/
Dlv_rlottie.c49 int32_t height; member
65 lv_obj_t * lv_rlottie_create_from_file(lv_obj_t * parent, int32_t width, int32_t height, const char… in lv_rlottie_create_from_file() argument
68 create_info.height = height; in lv_rlottie_create_from_file()
79 lv_obj_t * lv_rlottie_create_from_raw(lv_obj_t * parent, int32_t width, int32_t height, const char … in lv_rlottie_create_from_raw() argument
82 create_info.height = height; in lv_rlottie_create_from_raw()
136 size_t allocated_buf_size = (create_info.width * create_info.height * LV_ARGB32 / 8); in lv_rlottie_constructor()
144 rlottie->imgdsc.header.h = create_info.height; in lv_rlottie_constructor()
Dlv_rlottie.h40 lv_obj_t * lv_rlottie_create_from_file(lv_obj_t * parent, int32_t width, int32_t height, const char…
42 lv_obj_t * lv_rlottie_create_from_raw(lv_obj_t * parent, int32_t width, int32_t height,
/lvgl-latest/scripts/
Djpg_to_sjpg.py34 width, height = im.size variable
38 print("\tRES = " + str(width) + " x " + str(height) + '\n')
43 splits = math.ceil(height/block_size)
51 row_remaining = height;
83 header = header + height.to_bytes(2, byteorder='little');
122 c_code = c_code + "\t.header.h = " + str(height) + ",\n"
/lvgl-latest/tests/unity/
Dunity_support.c52 int width, height; member
67 static int write_png_file(void * raw_img, uint32_t width, uint32_t height, char * file_name);
174 for(y = 0; y < p.height; y++) { in screenshot_compare()
262 p->height = png_get_image_height(p->png_ptr, p->info_ptr); in read_png_file()
274 p->row_pointers = (png_bytep *) malloc(sizeof(png_bytep) * p->height); in read_png_file()
277 for(y = 0; y < p->height; y++) in read_png_file()
286 static int write_png_file(void * raw_img, uint32_t width, uint32_t height, char * file_name) in write_png_file() argument
328 png_set_IHDR(png_ptr, info_ptr, width, height, in write_png_file()
341 png_bytep * row_pointers = (png_bytep *) malloc(sizeof(png_bytep) * height); in write_png_file()
342 for(uint32_t y = 0; y < height; y++) { in write_png_file()
[all …]
/lvgl-latest/src/libs/ffmpeg/
Dlv_ffmpeg.c184 int height = player->ffmpeg_ctx->video_dec_ctx->height; in lv_ffmpeg_player_set_src() local
187 data_size = width * height * 4; in lv_ffmpeg_player_set_src()
190 player->imgdsc.header.h = height; in lv_ffmpeg_player_set_src()
385 int height = ffmpeg_ctx->video_dec_ctx->height; in ffmpeg_output_video_frame() local
389 || frame->height != height in ffmpeg_output_video_frame()
401 height, in ffmpeg_output_video_frame()
403 frame->width, frame->height, in ffmpeg_output_video_frame()
415 ffmpeg_ctx->video_dec_ctx->pix_fmt, width, height); in ffmpeg_output_video_frame()
429 if((width & 0x7) || (height & 0x7)) { in ffmpeg_output_video_frame()
433 width, height); in ffmpeg_output_video_frame()
[all …]
/lvgl-latest/src/libs/libjpeg_turbo/
Dlv_libjpeg_turbo.c48 static bool get_jpeg_head_info(const char * filename, uint32_t * width, uint32_t * height, uint32_t…
49 static bool get_jpeg_size(uint8_t * data, uint32_t data_size, uint32_t * width, uint32_t * height);
136 uint32_t height; in decoder_info() local
139 if(!get_jpeg_head_info(src, &width, &height, &orientation)) { in decoder_info()
145 header->w = (orientation % 180) ? height : width; in decoder_info()
146 header->h = (orientation % 180) ? width : height; in decoder_info()
423 static bool get_jpeg_head_info(const char * filename, uint32_t * width, uint32_t * height, uint32_t… in get_jpeg_head_info() argument
432 if(!get_jpeg_size(data, data_size, width, height)) { in get_jpeg_head_info()
445 static bool get_jpeg_size(uint8_t * data, uint32_t data_size, uint32_t * width, uint32_t * height) in get_jpeg_size() argument
467 *height = cinfo.image_height; in get_jpeg_size()
/lvgl-latest/examples/styles/
Dlv_example_style_17.c17 int32_t height = lv_display_get_vertical_resolution(NULL); in lv_example_style_17() local
36 lv_obj_set_size(obj, width, height); in lv_example_style_17()
/lvgl-latest/src/libs/gif/
Dgifdec.c78 uint16_t width, height, depth; in gif_open() local
98 height = read_num(gif_base); in gif_open()
116 if(0 == width || 0 == height){ in gif_open()
121 if(0 == (INT_MAX - sizeof(gd_GIF) - LZW_CACHE_SIZE) / width / height / 5){ in gif_open()
125 gif = lv_malloc(sizeof(gd_GIF) + 5 * width * height + LZW_CACHE_SIZE); in gif_open()
127 if(0 == (INT_MAX - sizeof(gd_GIF)) / width / height / 5){ in gif_open()
131 gif = lv_malloc(sizeof(gd_GIF) + 5 * width * height); in gif_open()
136 gif->height = height; in gif_open()
144 gif->frame = &gif->canvas[4 * width * height]; in gif_open()
146 memset(gif->frame, gif->bgindex, gif->width * gif->height); in gif_open()
[all …]
/lvgl-latest/docs/details/libs/
Dgif.rst44 - :c:macro:`LV_COLOR_DEPTH` ``8``: 3 x image width x image height
45 - :c:macro:`LV_COLOR_DEPTH` ``16``: 4 x image width x image height
46 - :c:macro:`LV_COLOR_DEPTH` ``32``: 5 x image width x image height
/lvgl-latest/src/draw/dma2d/
Dlv_draw_dma2d_img.c61 .height = h, in lv_draw_dma2d_opaque_image()
79 .height = h, in lv_draw_dma2d_opaque_image()
148 .height = h, in lv_draw_dma2d_image()
164 .height = h, in lv_draw_dma2d_image()
/lvgl-latest/src/draw/vg_lite/
Dlv_vg_lite_decoder.c186 int32_t height = dsc->header.h; in decoder_open_variable() local
189 …lv_draw_buf_t * draw_buf = lv_draw_buf_create_ex(image_cache_draw_buf_handlers, width, height, DES… in decoder_open_variable()
226 for(int32_t y = 0; y < height; y++) { in decoder_open_variable()
240 uint32_t height = dsc->header.h; in decoder_open_file() local
261 …lv_draw_buf_t * draw_buf = lv_draw_buf_create_ex(image_cache_draw_buf_handlers, width, height, DES… in decoder_open_file()
310 for(uint32_t y = 0; y < height; y++) { in decoder_open_file()
/lvgl-latest/docs/details/other-components/
Dimgfont.rst27 imgfont = lv_imgfont_create(height, path_cb, user_data);
29 - ``height`` Font size.
/lvgl-latest/src/others/imgfont/
Dlv_imgfont.c48 lv_font_t * lv_imgfont_create(uint16_t height, lv_imgfont_get_path_cb_t path_cb, void * user_data) in lv_imgfont_create() argument
62 font->line_height = height; in lv_imgfont_create()

123456