Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 22 of 22) sorted by relevance

/lvgl-latest/src/draw/renesas/dave2d/
Dlv_draw_dave2d_label.c10 static lv_draw_dave2d_unit_t * unit = NULL; variable
16 unit = u; in lv_draw_dave2d_label()
39 x = 0 - unit->base_unit.target_layer->buf_area.x1; in lv_draw_dave2d_draw_letter_cb()
40 y = 0 - unit->base_unit.target_layer->buf_area.y1; in lv_draw_dave2d_draw_letter_cb()
47 status = lv_mutex_lock(unit->pd2Mutex); in lv_draw_dave2d_draw_letter_cb()
52 d2_selectrenderbuffer(unit->d2_handle, unit->renderbuffer); in lv_draw_dave2d_draw_letter_cb()
59 d2_framebuffer_from_layer(unit->d2_handle, unit->base_unit.target_layer); in lv_draw_dave2d_draw_letter_cb()
61 current_fillmode = d2_getfillmode(unit->d2_handle); in lv_draw_dave2d_draw_letter_cb()
63 …d2_cliprect(unit->d2_handle, (d2_border)clip_area.x1, (d2_border)clip_area.y1, (d2_border)clip_are… in lv_draw_dave2d_draw_letter_cb()
77 lv_draw_dave2d_border(unit, &border_draw_dsc, glyph_draw_dsc->bg_coords); in lv_draw_dave2d_draw_letter_cb()
[all …]
/lvgl-latest/src/draw/vg_lite/
Dlv_draw_vg_lite.c70 lv_draw_vg_lite_unit_t * unit = lv_draw_create_unit(sizeof(lv_draw_vg_lite_unit_t)); in lv_draw_vg_lite_init() local
71 unit->base_unit.dispatch_cb = draw_dispatch; in lv_draw_vg_lite_init()
72 unit->base_unit.evaluate_cb = draw_evaluate; in lv_draw_vg_lite_init()
73 unit->base_unit.delete_cb = draw_delete; in lv_draw_vg_lite_init()
74 unit->base_unit.name = "VG_LITE"; in lv_draw_vg_lite_init()
76 lv_vg_lite_image_dsc_init(unit); in lv_draw_vg_lite_init()
78 lv_vg_lite_grad_init(unit, LV_VG_LITE_GRAD_CACHE_CNT); in lv_draw_vg_lite_init()
79 lv_vg_lite_stroke_init(unit, LV_VG_LITE_STROKE_CACHE_CNT); in lv_draw_vg_lite_init()
81 lv_vg_lite_path_init(unit); in lv_draw_vg_lite_init()
83 lv_draw_vg_lite_label_init(&unit->base_unit); in lv_draw_vg_lite_init()
[all …]
Dlv_vg_lite_stroke.h41 void lv_vg_lite_stroke_init(struct _lv_draw_vg_lite_unit_t * unit, uint32_t cache_cnt);
47 void lv_vg_lite_stroke_deinit(struct _lv_draw_vg_lite_unit_t * unit);
56 lv_cache_entry_t * lv_vg_lite_stroke_get(struct _lv_draw_vg_lite_unit_t * unit,
72 void lv_vg_lite_stroke_drop(struct _lv_draw_vg_lite_unit_t * unit, lv_cache_entry_t * cache_entry);
Dlv_vg_lite_stroke.c84 void lv_vg_lite_stroke_init(struct _lv_draw_vg_lite_unit_t * unit, uint32_t cache_cnt) in lv_vg_lite_stroke_init() argument
86 LV_ASSERT_NULL(unit); in lv_vg_lite_stroke_init()
94unit->stroke_cache = lv_cache_create(&lv_cache_class_lru_rb_count, sizeof(stroke_item_t), cache_cn… in lv_vg_lite_stroke_init()
95 lv_cache_set_name(unit->stroke_cache, "VG_STROKE"); in lv_vg_lite_stroke_init()
98 void lv_vg_lite_stroke_deinit(struct _lv_draw_vg_lite_unit_t * unit) in lv_vg_lite_stroke_deinit() argument
100 LV_ASSERT_NULL(unit); in lv_vg_lite_stroke_deinit()
101 LV_ASSERT_NULL(unit->stroke_cache); in lv_vg_lite_stroke_deinit()
102 lv_cache_destroy(unit->stroke_cache, NULL); in lv_vg_lite_stroke_deinit()
103 unit->stroke_cache = NULL; in lv_vg_lite_stroke_deinit()
134 lv_cache_entry_t * lv_vg_lite_stroke_get(struct _lv_draw_vg_lite_unit_t * unit, in lv_vg_lite_stroke_get() argument
[all …]
Dlv_vg_lite_path.c73 void lv_vg_lite_path_init(struct _lv_draw_vg_lite_unit_t * unit) in lv_vg_lite_path_init() argument
75 LV_ASSERT_NULL(unit); in lv_vg_lite_path_init()
76 unit->global_path = lv_vg_lite_path_create(VG_LITE_FP32); in lv_vg_lite_path_init()
77 unit->path_in_use = false; in lv_vg_lite_path_init()
80 void lv_vg_lite_path_deinit(struct _lv_draw_vg_lite_unit_t * unit) in lv_vg_lite_path_deinit() argument
82 LV_ASSERT_NULL(unit); in lv_vg_lite_path_deinit()
83 LV_ASSERT(!unit->path_in_use); in lv_vg_lite_path_deinit()
84 lv_vg_lite_path_destroy(unit->global_path); in lv_vg_lite_path_deinit()
85 unit->global_path = NULL; in lv_vg_lite_path_deinit()
121 lv_vg_lite_path_t * lv_vg_lite_path_get(struct _lv_draw_vg_lite_unit_t * unit, vg_lite_format_t dat… in lv_vg_lite_path_get() argument
[all …]
Dlv_vg_lite_path.h55 void lv_vg_lite_path_init(lv_draw_vg_lite_unit_t * unit);
57 void lv_vg_lite_path_deinit(lv_draw_vg_lite_unit_t * unit);
63 lv_vg_lite_path_t * lv_vg_lite_path_get(lv_draw_vg_lite_unit_t * unit, vg_lite_format_t data_format…
65 void lv_vg_lite_path_drop(lv_draw_vg_lite_unit_t * unit, lv_vg_lite_path_t * path);
Dlv_vg_lite_utils.h136 void lv_vg_lite_image_dsc_init(struct _lv_draw_vg_lite_unit_t * unit);
138 void lv_vg_lite_image_dsc_deinit(struct _lv_draw_vg_lite_unit_t * unit);
Dlv_vg_lite_utils.c850 void lv_vg_lite_image_dsc_init(struct _lv_draw_vg_lite_unit_t * unit) in lv_vg_lite_image_dsc_init() argument
852 unit->image_dsc_pending = lv_vg_lite_pending_create(sizeof(lv_image_decoder_dsc_t), 4); in lv_vg_lite_image_dsc_init()
853 lv_vg_lite_pending_set_free_cb(unit->image_dsc_pending, image_dsc_free_cb, NULL); in lv_vg_lite_image_dsc_init()
856 void lv_vg_lite_image_dsc_deinit(struct _lv_draw_vg_lite_unit_t * unit) in lv_vg_lite_image_dsc_deinit() argument
858 lv_vg_lite_pending_destroy(unit->image_dsc_pending); in lv_vg_lite_image_dsc_deinit()
859 unit->image_dsc_pending = NULL; in lv_vg_lite_image_dsc_deinit()
/lvgl-latest/scripts/gdb/lvglgdb/
Dlvgl.py162 unit = self.lv_global.draw_info.unit_head
165 while unit:
166 yield unit
167 unit = unit.next
334 for unit in g_lvgl_instance.draw_units():
335 self.dump_draw_unit(unit)
/lvgl-latest/docs/details/integration/chip/
Dnxp.rst40 - In order to use PXP as a draw unit, select in "lv_conf.h": Set :c:macro:`LV_USE_DRAW_PXP` to `1`.
53 PXP is enabled as a draw unit or to rotate the screen, no user code is required:
61 During PXP initialization, a new draw unit `lv_draw_pxp_unit_t` will be created
86 preferred score and the draw unit id will be set to the task. An `score` equal
92 unit for processing.
94 `_pxp_delete()` will cleanup the PXP draw unit.
169 - "src/draw/nxp/pxp/lv_draw_pxp.c": draw unit initialization
261 During VGLite initialization, a new draw unit `lv_draw_vglite_unit_t` will be
285 preferred score and the draw unit id will be set to the task. An `score` equal
291 VGLite draw unit for processing.
[all …]
Dalif.rst29 This project uses D/AVE 2D rendering acceleration with LVGL's D/AVE 2D :ref:`draw unit<draw>`.
/lvgl-latest/examples/layouts/grid/
Dindex.rst13 Demonstrate grid's -free unit-
/lvgl-latest/docs/details/other-components/
Dobserver.rst194 3. What is the range or unit (mV, V, mA, A)?
218 lv_subject_t subject_unit; //The unit
240 const char * unit = lv_subject_get_pointer(subject_unit);
242 lv_label_set_text_fmt(label, "%s: %d %s", mode ? "Current" : "Voltage", value, unit);
/lvgl-latest/demos/ebike/
Dlv_demo_ebike_home.c31 static lv_obj_t * card_labels_create(lv_obj_t * parent, const char * value, const char * unit, cons…
316 static lv_obj_t * card_labels_create(lv_obj_t * parent, const char * value, const char * unit, cons… in card_labels_create() argument
336 lv_label_set_text(label, unit); in card_labels_create()
/lvgl-latest/docs/details/main-components/
Ddraw.rst76 Draw Unit(s), you add each available drawing unit to that list by calling
78 function, the newly-created draw unit is added to the head of that list, pushing
95 For an example of how draw-unit cration and initialization is done, see
Dindev.rst147 1. in the input device by the ``indev->rotary_sensitivity`` element (1/256 unit), and
148 2. by the ``rotary_sensitivity`` style property in the widget (1/256 unit).
Dimage.rst478 - GPU draw unit example:
/lvgl-latest/docs/details/base-widget/layouts/
Dgrid.rst33 other tracks that have non-zero FR-unit values.
219 .. _fr units: https://css-tricks.com/introduction-fr-css-unit/
/lvgl-latest/demos/high_res/
Dlv_demo_high_res_app_ev_charging.c55 const char * text, const char * unit);
444 const char * text, const char * unit) in create_widget3_info() argument
476 lv_label_set_text_static(label_unit, unit); in create_widget3_info()
/lvgl-latest/
DKconfig632 Also add the index number of the draw unit on white background.
633 For layers add the index number of the draw unit on black background.
/lvgl-latest/docs/details/integration/os/yocto/
Dlvgl_recipe.rst761 /* Set the number of draw unit.
/lvgl-latest/docs/details/base-widget/styles/
Dstyle-properties.rst1428 Adjust sensitivity for rotary encoders in 1/256 unit. It means, 128: slow down the rotary to half, …