Home
last modified time | relevance | path

Searched refs:hmap (Results 1 – 3 of 3) sorted by relevance

/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_dither.c25 grad->map[i] = lv_color_hex(grad->hmap[i].full); in lv_dither_none()
55 lv_color32_t tmp = grad->hmap[LV_CLAMP(0, j - 4, grad->size)]; in lv_dither_ordered_hor()
76 lv_color32_t tmp = grad->hmap[LV_CLAMP(0, y - 4, grad->size)]; in lv_dither_ordered_ver()
119 grad->map[0] = lv_color_hex(grad->hmap[0].full); in lv_dither_err_diff_hor()
121 lv_color32_t t = grad->hmap[x]; in lv_dither_err_diff_hor()
151 grad->map[grad->size - 1] = lv_color_hex(grad->hmap[grad->size - 1].full); in lv_dither_err_diff_hor()
185 grad->map[0] = lv_color_hex(grad->hmap[y].full); in lv_dither_err_diff_ver()
186 FS_QUANT_ERROR(next_px_err, grad->hmap[y], grad->map[0]); in lv_dither_err_diff_ver()
189 lv_color_t tmp = lv_color_hex(grad->hmap[y].full); in lv_dither_err_diff_ver()
190 lv_color32_t t = grad->hmap[y]; in lv_dither_err_diff_ver()
[all …]
Dlv_draw_sw_gradient.c128 c->hmap = (lv_color32_t *)(((uint8_t *)c->hmap) - size); in free_item()
207 … item->hmap = (lv_color32_t *)(p + ALIGN(sizeof(*item)) + ALIGN(map_size * sizeof(lv_color_t))); in allocate_item()
218 …item->hmap = (lv_color32_t *)(grad_cache_end + ALIGN(sizeof(*item)) + ALIGN(map_size * sizeof(lv_c… in allocate_item()
280 item->hmap[i] = lv_gradient_calculate(g, item->size, i); in lv_gradient_get()
Dlv_draw_sw_gradient.h51 …lv_color32_t * hmap; /**< If dithering, we need to store the current, high bitdepth gradi… member