Lines Matching full:x
19 void LV_ATTRIBUTE_FAST_MEM lv_dither_none(lv_grad_t * grad, lv_coord_t x, lv_coord_t y, lv_coord_t … in lv_dither_none() argument
21 LV_UNUSED(x); in lv_dither_none()
41 void LV_ATTRIBUTE_FAST_MEM lv_dither_ordered_hor(lv_grad_t * grad, lv_coord_t x, lv_coord_t y, lv_c… in lv_dither_ordered_hor() argument
43 LV_UNUSED(x); in lv_dither_ordered_hor()
65 void LV_ATTRIBUTE_FAST_MEM lv_dither_ordered_ver(lv_grad_t * grad, lv_coord_t x, lv_coord_t y, lv_c… in lv_dither_ordered_ver() argument
80 int8_t factor = dither_ordered_threshold_matrix[(y & 7) * 8 + ((j + x) & 7)] - 32; in lv_dither_ordered_ver()
107 Coefs are: x 7 in lv_dither_err_diff_hor()
110 Can be implemented as: x (x<<3 - x) in lv_dither_err_diff_hor()
111 (x<<2 - x) (x<<2+x) x in lv_dither_err_diff_hor()
120 for(lv_coord_t x = 1; x < grad->size - 1; x++) { in lv_dither_err_diff_hor() local
121 lv_color32_t t = grad->hmap[x]; in lv_dither_err_diff_hor()
125 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()
149 grad->map[x] = q; in lv_dither_err_diff_hor()
196 for(lv_coord_t x = 1; x < w; x++) { in lv_dither_err_diff_ver() local
200 FS_COMPONENTS3(t, +, next_px_err, 6, prev_l, 1, grad->error_acc[x], 9); in lv_dither_err_diff_ver()
201 prev_l = grad->error_acc[x]; in lv_dither_err_diff_ver()
206 grad->error_acc[x] = next_px_err; in lv_dither_err_diff_ver()
207 grad->map[x] = q; in lv_dither_err_diff_ver()