Searched refs:coef (Results 1 – 1 of 1) sorted by relevance
113 int coef[4] = {0, 0, 0, 0}; in lv_dither_err_diff_hor() local114 #define FS_COMPUTE_ERROR(e) { coef[0] = (e<<3) - e; coef[1] = (e<<2) - e; coef[2] = (e<<2) + e; coe… in lv_dither_err_diff_hor()132 next_px_err.r = coef[0] >> 4; 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()138 next_px_err.g = coef[0] >> 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()[all …]