Searched refs:buf_size (Results 1 – 13 of 13) sorted by relevance
/lvgl-3.7.0/src/extra/others/snapshot/ |
D | lv_snapshot.c | 84 …shot_take_to_buf(lv_obj_t * obj, lv_img_cf_t cf, lv_img_dsc_t * dsc, void * buf, uint32_t buf_size) in lv_snapshot_take_to_buf() argument 103 if(buf_size_needed == 0 || buf_size < buf_size_needed) return LV_RES_INV; in lv_snapshot_take_to_buf() 116 lv_memset(buf, 0x00, buf_size); in lv_snapshot_take_to_buf() 168 uint32_t buf_size = lv_snapshot_buf_size_needed(obj, cf); in lv_snapshot_take() local 170 void * buf = lv_mem_alloc(buf_size); in lv_snapshot_take() 183 if(lv_snapshot_take_to_buf(obj, cf, dsc, buf, buf_size) == LV_RES_INV) { in lv_snapshot_take()
|
D | lv_snapshot.h | 72 …hot_take_to_buf(lv_obj_t * obj, lv_img_cf_t cf, lv_img_dsc_t * dsc, void * buf, uint32_t buf_size);
|
/lvgl-3.7.0/src/font/ |
D | lv_font_fmt_txt.c | 101 uint32_t buf_size = gsize; in lv_font_get_bitmap_fmt_txt() local 105 buf_size = (gsize + 7) >> 3; in lv_font_get_bitmap_fmt_txt() 108 buf_size = (gsize + 3) >> 2; in lv_font_get_bitmap_fmt_txt() 111 buf_size = (gsize + 1) >> 1; in lv_font_get_bitmap_fmt_txt() 114 buf_size = (gsize + 1) >> 1; in lv_font_get_bitmap_fmt_txt() 118 if(last_buf_size < buf_size) { in lv_font_get_bitmap_fmt_txt() 119 uint8_t * tmp = lv_mem_realloc(LV_GC_ROOT(_lv_font_decompr_buf), buf_size); in lv_font_get_bitmap_fmt_txt() 123 last_buf_size = buf_size; in lv_font_get_bitmap_fmt_txt()
|
/lvgl-3.7.0/src/draw/sw/ |
D | lv_draw_sw_img.c | 122 uint32_t buf_size = buf_w * buf_h; in lv_draw_sw_img_decoded() local 124 lv_color_t * rgb_buf = lv_mem_buf_get(buf_size * sizeof(lv_color_t)); in lv_draw_sw_img_decoded() 125 lv_opa_t * mask_buf = lv_mem_buf_get(buf_size); in lv_draw_sw_img_decoded() 159 for(i = 0; i < buf_size; i++) { in lv_draw_sw_img_decoded()
|
/lvgl-3.7.0/src/widgets/ |
D | lv_roller.h | 110 void lv_roller_get_selected_str(const lv_obj_t * obj, char * buf, uint32_t buf_size);
|
D | lv_dropdown.h | 190 void lv_dropdown_get_selected_str(const lv_obj_t * obj, char * buf, uint32_t buf_size);
|
D | lv_roller.c | 230 void lv_roller_get_selected_str(const lv_obj_t * obj, char * buf, uint32_t buf_size) in lv_roller_get_selected_str() argument 247 if(buf_size && c >= buf_size - 1) { in lv_roller_get_selected_str()
|
D | lv_dropdown.c | 370 void lv_dropdown_get_selected_str(const lv_obj_t * obj, char * buf, uint32_t buf_size) in lv_dropdown_get_selected_str() argument 394 if(buf_size && c >= buf_size - 1) { in lv_dropdown_get_selected_str()
|
/lvgl-3.7.0/src/extra/libs/qrcode/ |
D | lv_qrcode.c | 194 uint32_t buf_size = LV_CANVAS_BUF_SIZE_INDEXED_1BIT(size_param, size_param); in lv_qrcode_constructor() local 195 uint8_t * buf = lv_mem_alloc(buf_size); in lv_qrcode_constructor()
|
/lvgl-3.7.0/docs/others/ |
D | snapshot.md | 40 …v_obj_t * obj, lv_img_cf_t cf, lv_img_dsc_t * dsc, void * buf, uint32_t buf_size);` for this case.…
|
/lvgl-3.7.0/docs/widgets/core/ |
D | roller.md | 26 `lv_roller_get_selected_str(roller, buf, buf_size)` will copy the name of the selected option to `b…
|
D | dropdown.md | 54 `lv_dropdown_get_selected_str(dropdown, buf, buf_size)` copies the *name* of the selected option to…
|
/lvgl-3.7.0/src/draw/arm2d/ |
D | lv_gpu_arm2d.c | 981 uint32_t buf_size = buf_w * buf_h; in lv_draw_arm2d_img_decoded() local 983 lv_color_t * rgb_buf = lv_mem_buf_get(buf_size * sizeof(lv_color_t)); in lv_draw_arm2d_img_decoded() 984 lv_opa_t * mask_buf = lv_mem_buf_get(buf_size); in lv_draw_arm2d_img_decoded()
|