Searched refs:N_X_FRAC (Results 1 – 3 of 3) sorted by relevance
/third_party/pixman/pixman/ |
D | pixman-edge.c | 216 clip255 (READ (image, ap + lxi) + N_X_FRAC (8) - lxs)); in rasterize_edges_8() 237 fill_size * N_X_FRAC (8), in rasterize_edges_8() 249 fill_size * N_X_FRAC (8), in rasterize_edges_8() 255 ADD_SATURATE_8 (ap + lxi, N_X_FRAC (8), in rasterize_edges_8() 263 fill_size * N_X_FRAC (8), in rasterize_edges_8() 270 N_X_FRAC (8), in rasterize_edges_8() 279 ADD_SATURATE_8 (ap + lxi, N_X_FRAC (8), rxi - lxi); in rasterize_edges_8() 298 ADD_SATURATE_8 (ap + fill_start, fill_size * N_X_FRAC (8), in rasterize_edges_8() 325 ADD_SATURATE_8 (ap + fill_start, fill_size * N_X_FRAC (8), in rasterize_edges_8()
|
D | pixman-edge-imp.h | 148 ADD_ALPHA (N_X_FRAC(N_BITS) - lxs); in RASTERIZE_EDGES() 152 ADD_ALPHA (N_X_FRAC(N_BITS)); in RASTERIZE_EDGES()
|
D | pixman-private.h | 409 #define N_X_FRAC(n) ((n) == 1 ? 1 : (1 << ((n) / 2)) + 1) macro 417 #define STEP_X_SMALL(n) (pixman_fixed_1 / N_X_FRAC (n)) 418 #define STEP_X_BIG(n) (pixman_fixed_1 - (N_X_FRAC (n) - 1) * STEP_X_SMALL (n)) 421 #define X_FRAC_LAST(n) (X_FRAC_FIRST (n) + (N_X_FRAC (n) - 1) * STEP_X_SMALL (n))
|