/lvgl-latest/tests/unity/ |
D | unity_support.c | 38 int width, height; member 52 static int write_png_file(void * raw_img, uint32_t width, uint32_t height, char * file_name); 99 for(y = 0; y < p.height; y++) { in lv_test_assert_img_eq() 184 p->height = png_get_image_height(p->png_ptr, p->info_ptr); in read_png_file() 196 p->row_pointers = (png_bytep *) malloc(sizeof(png_bytep) * p->height); in read_png_file() 199 for(y = 0; y < p->height; y++) in read_png_file() 209 static int write_png_file(void * raw_img, uint32_t width, uint32_t height, char * file_name) in write_png_file() argument 251 png_set_IHDR(png_ptr, info_ptr, width, height, in write_png_file() 265 png_bytep * row_pointers = (png_bytep *) malloc(sizeof(png_bytep) * height); in write_png_file() 266 for(uint32_t y = 0; y < height; y++) { in write_png_file() [all …]
|
/lvgl-latest/src/extra/libs/tiny_ttf/ |
D | stb_rect_pack.h | 138 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/extra/libs/ffmpeg/ |
D | lv_ffmpeg.c | 175 int height = player->ffmpeg_ctx->video_dec_ctx->height; in lv_ffmpeg_player_set_src() local 179 data_size = width * height * LV_IMG_PX_SIZE_ALPHA_BYTE; in lv_ffmpeg_player_set_src() 182 data_size = width * height * LV_COLOR_SIZE / 8; in lv_ffmpeg_player_set_src() 187 player->imgdsc.header.h = height; in lv_ffmpeg_player_set_src() 391 int height = ffmpeg_ctx->video_dec_ctx->height; in ffmpeg_output_video_frame() local 395 || frame->height != height in ffmpeg_output_video_frame() 407 height, in ffmpeg_output_video_frame() 409 frame->width, frame->height, in ffmpeg_output_video_frame() 421 ffmpeg_ctx->video_dec_ctx->pix_fmt, width, height); in ffmpeg_output_video_frame() 435 if((width & 0x7) || (height & 0x7)) { in ffmpeg_output_video_frame() [all …]
|
/lvgl-latest/scripts/ |
D | jpg_to_sjpg.py | 32 width, height = im.size variable 36 print("\tRES = " + str(width) + " x " + str(height) + '\n') 41 spilts = math.ceil(height/block_size) 49 row_remaining = height; 81 header = header + height.to_bytes(2, byteorder='little'); 120 c_code = c_code + "\t.header.h = " + str(height) + ",\n"
|
/lvgl-latest/src/draw/sdl/ |
D | lv_draw_sdl_utils.h | 49 SDL_Surface * lv_sdl_create_opa_surface(lv_opa_t * opa, lv_coord_t width, lv_coord_t height, lv_coo… 52 lv_coord_t height, lv_coord_t stride); 54 void lv_sdl_to_8bpp(uint8_t * dest, const uint8_t * src, int width, int height, int stride, uint8_t…
|
D | lv_draw_sdl_utils.c | 121 SDL_Surface * lv_sdl_create_opa_surface(lv_opa_t * opa, lv_coord_t width, lv_coord_t height, lv_coo… in lv_sdl_create_opa_surface() argument 123 SDL_Surface * indexed = SDL_CreateRGBSurfaceFrom(opa, width, height, 8, stride, 0, 0, 0, 0); in lv_sdl_create_opa_surface() 131 lv_coord_t height, lv_coord_t stride) in lv_sdl_create_opa_texture() argument 133 SDL_Surface * indexed = lv_sdl_create_opa_surface(pixels, width, height, stride); in lv_sdl_create_opa_texture() 139 void lv_sdl_to_8bpp(uint8_t * dest, const uint8_t * src, int width, int height, int stride, uint8_t… in lv_sdl_to_8bpp() argument 141 int src_len = width * height; in lv_sdl_to_8bpp()
|
D | lv_draw_sdl_texture_cache.c | 38 lv_coord_t width, height; member 108 int access, width, height; in lv_draw_sdl_texture_cache_put_advanced() local 109 if(SDL_QueryTexture(texture, &format, &access, &width, &height) != 0) { in lv_draw_sdl_texture_cache_put_advanced() 112 LV_LOG_INFO("cache texture %p, %d*%d@%dbpp", texture, width, height, SDL_BITSPERPIXEL(format)); in lv_draw_sdl_texture_cache_put_advanced() 113 …return lv_lru_set(lru, key, key_length, value, width * height * SDL_BITSPERPIXEL(format) / 8) == L… in lv_draw_sdl_texture_cache_put_advanced()
|
/lvgl-latest/src/extra/libs/freetype/ |
D | lv_freetype.c | 45 uint16_t height; member 255 scaler.width = dsc->height; in get_glyph_dsc_cb_cache() 256 scaler.height = dsc->height; in get_glyph_dsc_cb_cache() 288 desc_type.height = dsc->height; in get_glyph_dsc_cb_cache() 289 desc_type.width = dsc->height; in get_glyph_dsc_cb_cache() 299 dsc_out->box_h = sbit->height; /*Height of the bitmap in [px]*/ in get_glyph_dsc_cb_cache() 302 dsc_out->ofs_y = sbit->top - sbit->height; /*Y offset of the bitmap measured from the as line*/ in get_glyph_dsc_cb_cache() 364 dsc->height = info->weight; in lv_ft_font_init_cache() 372 scaler.height = info->weight; in lv_ft_font_init_cache() 385 font->line_height = (face_size->face->size->metrics.height >> 6); in lv_ft_font_init_cache() [all …]
|
/lvgl-latest/src/extra/libs/rlottie/ |
D | lv_rlottie.c | 55 lv_obj_t * lv_rlottie_create_from_file(lv_obj_t * parent, lv_coord_t width, lv_coord_t height, cons… in lv_rlottie_create_from_file() argument 59 create_height = height; in lv_rlottie_create_from_file() 71 lv_obj_t * lv_rlottie_create_from_raw(lv_obj_t * parent, lv_coord_t width, lv_coord_t height, const… in lv_rlottie_create_from_raw() argument 75 create_height = height; in lv_rlottie_create_from_raw() 184 static void convert_to_rgba5658(uint32_t * pix, const size_t width, const size_t height) in convert_to_rgba5658() argument 190 for(size_t y = 0; y < height; y++) { in convert_to_rgba5658()
|
D | lv_rlottie.h | 57 lv_obj_t * lv_rlottie_create_from_file(lv_obj_t * parent, lv_coord_t width, lv_coord_t height, cons… 59 lv_obj_t * lv_rlottie_create_from_raw(lv_obj_t * parent, lv_coord_t width, lv_coord_t height,
|
/lvgl-latest/src/draw/stm32_dma2d/ |
D | lv_gpu_stm32_dma2d.h | 65 lv_coord_t width, lv_coord_t height, uint8_t pixel_size); 67 lv_coord_t height, uint8_t pixel_size);
|
D | lv_gpu_stm32_dma2d.c | 39 …lean_cache(address, offset, width, height, pixel_size) _lv_gpu_stm32_dma2d_clean_cache(address, of… argument 40 …te_cache(address, offset, width, height, pixel_size) _lv_gpu_stm32_dma2d_invalidate_cache(address,… argument 42 #define __lv_gpu_stm32_dma2d_clean_cache(address, offset, width, height, pixel_size) argument 43 #define __lv_gpu_stm32_dma2d_invalidate_cache(address, offset, width, height, pixel_size) argument 667 lv_coord_t height, uint8_t pixel_size) in _lv_gpu_stm32_dma2d_invalidate_cache() argument 677 while(h < height) { in _lv_gpu_stm32_dma2d_invalidate_cache() 697 lv_coord_t height, uint8_t pixel_size) in _lv_gpu_stm32_dma2d_clean_cache() argument 706 while(h < height) { in _lv_gpu_stm32_dma2d_clean_cache()
|
/lvgl-latest/docs/libs/ |
D | gif.md | 25 - `LV_COLOR_DEPTH 8`: 3 x image width x image height 26 - `LV_COLOR_DEPTH 16`: 4 x image width x image height 27 - `LV_COLOR_DEPTH 32`: 5 x image width x image height
|
D | rlottie.md | 33 The `width` and `height` of the object be set in the *create* function and the animation will be sc… 39 lv_obj_t * lottie = lv_rlottie_create_from_file(parent, width, height, "path/to/lottie.json"); 60 lv_obj_t* lottie = lv_rlottie_create_from_raw(parent, width, height, (const char *)lottie_data);
|
/lvgl-latest/docs/others/ |
D | imgfont.md | 9 To create a new imgfont use `lv_imgfont_create(height, path_cb)`. 11 `height` used to indicate the size of a imgfont.
|
/lvgl-latest/src/extra/libs/gif/ |
D | gifdec.c | 71 uint16_t width, height, depth; in gif_open() local 92 height = read_num(gif_base); in gif_open() 111 gif = lv_mem_alloc(sizeof(gd_GIF) + 5 * width * height); in gif_open() 113 gif = lv_mem_alloc(sizeof(gd_GIF) + 4 * width * height); in gif_open() 115 gif = lv_mem_alloc(sizeof(gd_GIF) + 3 * width * height); in gif_open() 121 gif->height = height; in gif_open() 130 gif->frame = &gif->canvas[4 * width * height]; in gif_open() 132 gif->frame = &gif->canvas[3 * width * height]; in gif_open() 134 gif->frame = &gif->canvas[2 * width * height]; in gif_open() 137 memset(gif->frame, gif->bgindex, gif->width * gif->height); in gif_open() [all …]
|
D | gifdec.h | 30 uint16_t width, height; member
|
/lvgl-latest/docs/overview/ |
D | coords.md | 8 - support min-width, max-width, min-height, max-height 11 - width/height means the full size, the "content area" is smaller with padding and border width 17 - `LV_SIZE_CONTENT`: Special value to set the width/height of an object to involve all the children… 22 - bounding box: the width/height of the elements. 153 The width and the height of an object can be set easily as well: 160 …sed on the parent's content area size. For example to set the object's height to the screen height: 189 - It makes it easy to set the width/height/etc. for several objects together. E.g. make all the sli… 256 …e size of the parent). For example `lv_pct(50)` will move the object with half of its width/height. 265 The transformed width and height are added on both sides of the object. This means a 10 px transfor… 281 Similarly to CSS, LVGL also supports `min-width`, `max-width`, `min-height` and `max-height`. These… [all …]
|
/lvgl-latest/tests/src/test_cases/ |
D | test_style.c | 7 static void obj_set_height_helper(void * obj, int32_t height) in obj_set_height_helper() argument 9 lv_obj_set_height((lv_obj_t *)obj, (lv_coord_t)height); in obj_set_height_helper()
|
/lvgl-latest/src/extra/others/imgfont/ |
D | lv_imgfont.c | 49 lv_font_t * lv_imgfont_create(uint16_t height, lv_get_imgfont_path_cb_t path_cb) in lv_imgfont_create() argument 67 font->line_height = height; in lv_imgfont_create()
|
D | lv_imgfont.h | 42 lv_font_t * lv_imgfont_create(uint16_t height, lv_get_imgfont_path_cb_t path_cb);
|
/lvgl-latest/docs/widgets/core/ |
D | label.md | 30 By default, the width and height of the label is set to `LV_SIZE_CONTENT`. Therefore, the size of t… 31 Otherwise, if the width or height are explicitly set (using e.g.`lv_obj_set_width` or a layout), t… 32 Similarly, the policies can be applied if the height of the text is greater than the height of the … 33 - `LV_LABEL_LONG_WRAP` Wrap too long lines. If the height is `LV_SIZE_CONTENT` the label's height w…
|
D | table.md | 36 The height is calculated automatically from the cell styles (font, padding etc) and the number of r… 43 If the label's width or height is set to `LV_SIZE_CONTENT` that size will be used to show the whole… 46 If the width or height is set to a smaller number than the "intrinsic" size then the table becomes …
|
D | canvas.md | 18 To assign a buffer to a Canvas, use `lv_canvas_set_buffer(canvas, buffer, width, height, LV_IMG_CF_… 21 `static lv_color_t buffer[LV_CANVAS_BUF_SIZE_TRUE_COLOR(width, height)]`. 42 …can be copied to the canvas with `lv_canvas_copy_buf(canvas, buffer_to_copy, x, y, width, height)`. 67 - `pivot_y` pivot Y of rotation. Relative to the source canvas. Set to `source height / 2` to rotat…
|
/lvgl-latest/src/draw/nxp/pxp/ |
D | lv_draw_pxp_blend.c | 157 .height = dest_h in lv_gpu_nxp_pxp_fill() 287 .height = dest_h in lv_gpu_nxp_pxp_blit() 334 .height = src_height, in lv_gpu_nxp_pxp_buffer_copy() 443 .height = dest_h in lv_pxp_blit_cover() 566 .height = dest_h in lv_pxp_blit_cf()
|