Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_dither.c125 next_l = grad->error_acc[x + 1]; in lv_dither_err_diff_hor()
133 grad->error_acc[x - 1].r += coef[1] >> 4; in lv_dither_err_diff_hor()
134 grad->error_acc[x].r += coef[2] >> 4; in lv_dither_err_diff_hor()
135 grad->error_acc[x + 1].r = coef[3] >> 4; in lv_dither_err_diff_hor()
139 grad->error_acc[x - 1].g += coef[1] >> 4; in lv_dither_err_diff_hor()
140 grad->error_acc[x].g += coef[2] >> 4; in lv_dither_err_diff_hor()
141 grad->error_acc[x + 1].g = coef[3] >> 4; in lv_dither_err_diff_hor()
145 grad->error_acc[x - 1].b += coef[1] >> 4; in lv_dither_err_diff_hor()
146 grad->error_acc[x].b += coef[2] >> 4; in lv_dither_err_diff_hor()
147 grad->error_acc[x + 1].b = coef[3] >> 4; in lv_dither_err_diff_hor()
[all …]
Dlv_draw_sw_gradient.c130 c->error_acc = (lv_scolor24_t *)(((uint8_t *)c->error_acc) - size); in free_item()
209 …item->error_acc = (lv_scolor24_t *)(p + ALIGN(sizeof(*item)) + ALIGN(size * sizeof(lv_grad_color_t… in allocate_item()
220 …item->error_acc = (lv_scolor24_t *)(grad_cache_end + ALIGN(sizeof(*item)) + ALIGN(size * sizeof(lv… in allocate_item()
283 lv_memset_00(item->error_acc, w * sizeof(lv_scolor24_t)); in lv_gradient_get()
Dlv_draw_sw_gradient.h54 …lv_scolor24_t * error_acc; /**< Error diffusion dithering algorithm requires storing the last e… member