Lines Matching refs:x
20 LV_ATTRIBUTE_FAST_MEM void lv_dither_none(lv_grad_t * grad, lv_coord_t x, lv_coord_t y, lv_coord_t … in lv_dither_none() argument
22 LV_UNUSED(x); in lv_dither_none()
43 LV_ATTRIBUTE_FAST_MEM void lv_dither_ordered_hor(lv_grad_t * grad, lv_coord_t x, lv_coord_t y, lv_c… in lv_dither_ordered_hor() argument
45 LV_UNUSED(x); in lv_dither_ordered_hor()
66 LV_ATTRIBUTE_FAST_MEM void lv_dither_ordered_ver(lv_grad_t * grad, lv_coord_t x, lv_coord_t y, lv_c… in lv_dither_ordered_ver() argument
81 int8_t factor = dither_ordered_threshold_matrix[(y & 7) * 8 + ((j + x) & 7)] - 32; in lv_dither_ordered_ver()
122 for(lv_coord_t x = 1; x < grad->size - 1; x++) { in lv_dither_err_diff_hor() local
123 lv_color32_t t = grad->hmap[x]; in lv_dither_err_diff_hor()
127 next_l = grad->error_acc[x + 1]; in lv_dither_err_diff_hor()
135 grad->error_acc[x - 1].r += coef[1] >> 4; in lv_dither_err_diff_hor()
136 grad->error_acc[x].r += coef[2] >> 4; in lv_dither_err_diff_hor()
137 grad->error_acc[x + 1].r = coef[3] >> 4; in lv_dither_err_diff_hor()
141 grad->error_acc[x - 1].g += coef[1] >> 4; in lv_dither_err_diff_hor()
142 grad->error_acc[x].g += coef[2] >> 4; in lv_dither_err_diff_hor()
143 grad->error_acc[x + 1].g = coef[3] >> 4; in lv_dither_err_diff_hor()
147 grad->error_acc[x - 1].b += coef[1] >> 4; in lv_dither_err_diff_hor()
148 grad->error_acc[x].b += coef[2] >> 4; in lv_dither_err_diff_hor()
149 grad->error_acc[x + 1].b = coef[3] >> 4; in lv_dither_err_diff_hor()
151 grad->map[x] = q; in lv_dither_err_diff_hor()
198 for(lv_coord_t x = 1; x < w; x++) { in lv_dither_err_diff_ver() local
202 FS_COMPONENTS3(t, +, next_px_err, 6, prev_l, 1, grad->error_acc[x], 9); in lv_dither_err_diff_ver()
203 prev_l = grad->error_acc[x]; in lv_dither_err_diff_ver()
208 grad->error_acc[x] = next_px_err; in lv_dither_err_diff_ver()
209 grad->map[x] = q; in lv_dither_err_diff_ver()