/external/pixman/pixman/ |
pixman-linear-gradient.c | 64 v.vector[1] = pixman_fixed_1; 65 v.vector[2] = pixman_fixed_1; 80 inc = height * (double) pixman_fixed_1 * pixman_fixed_1 * 112 v.vector[0] = pixman_int_to_fixed (x) + pixman_fixed_1 / 2; 113 v.vector[1] = pixman_int_to_fixed (y) + pixman_fixed_1 / 2; 114 v.vector[2] = pixman_fixed_1; 127 unit.vector[0] = pixman_fixed_1; 152 invden = pixman_fixed_1 * (double) pixman_fixed_1 / [all...] |
pixman-radial-gradient.c | 104 t = pixman_fixed_1 / 2 * c / b; 107 if (0 <= t && t <= pixman_fixed_1) 141 if (0 <= t0 && t0 <= pixman_fixed_1) 143 else if (0 <= t1 && t1 <= pixman_fixed_1) 255 v.vector[0] = pixman_int_to_fixed (x) + pixman_fixed_1 / 2; 256 v.vector[1] = pixman_int_to_fixed (y) + pixman_fixed_1 / 2; 257 v.vector[2] = pixman_fixed_1; 272 unit.vector[0] = pixman_fixed_1; 277 if (unit.vector[2] == 0 && v.vector[2] == pixman_fixed_1) 361 invv2 = 1. * pixman_fixed_1 / v.vector[2] [all...] |
pixman-conical-gradient.c | 81 v.vector[0] = pixman_int_to_fixed (x) + pixman_fixed_1 / 2; 82 v.vector[1] = pixman_int_to_fixed (y) + pixman_fixed_1 / 2; 83 v.vector[2] = pixman_fixed_1; 98 v.vector[2] == pixman_fixed_1;
|
pixman-image.c | 56 begin->x = stops[n - 1].x - pixman_fixed_1; 58 end->x = stops[0].x + pixman_fixed_1; 284 image->common.transform->matrix[2][2] == pixman_fixed_1) 291 if (image->common.transform->matrix[0][0] == -pixman_fixed_1 && 292 image->common.transform->matrix[1][1] == -pixman_fixed_1) 304 if (m01 == -pixman_fixed_1 && m10 == pixman_fixed_1) 306 else if (m01 == pixman_fixed_1 && m10 == -pixman_fixed_1) 349 (image->common.transform->matrix[0][0] == pixman_fixed_1 & [all...] |
pixman-bits-image.c | 106 x1 = x - pixman_fixed_1 / 2; 107 y1 = y - pixman_fixed_1 / 2; 167 v.vector[0] = pixman_int_to_fixed (offset) + pixman_fixed_1 / 2; 168 v.vector[1] = pixman_int_to_fixed (line) + pixman_fixed_1 / 2; 169 v.vector[2] = pixman_fixed_1; 175 x = x_top = x_bottom = v.vector[0] - pixman_fixed_1/2; 177 y = v.vector[1] - pixman_fixed_1/2; 362 int x_off = (params[0] - pixman_fixed_1) >> 1; 363 int y_off = (params[1] - pixman_fixed_1) >> 1; 445 int x_off = ((cwidth << 16) - pixman_fixed_1) >> 1 [all...] |
pixman.c | 345 x1 = pixman_int_to_fixed (extents->x1) + pixman_fixed_1 / 2; 346 y1 = pixman_int_to_fixed (extents->y1) + pixman_fixed_1 / 2; 347 x2 = pixman_int_to_fixed (extents->x2) - pixman_fixed_1 / 2; 348 y2 = pixman_int_to_fixed (extents->y2) - pixman_fixed_1 / 2; 370 v.vector[2] = pixman_fixed_1; 452 x_off = - pixman_fixed_e - ((params[0] - pixman_fixed_1) >> 1); 453 y_off = - pixman_fixed_e - ((params[1] - pixman_fixed_1) >> 1); 460 x_off = - pixman_fixed_e - ((params[0] - pixman_fixed_1) >> 1); 461 y_off = - pixman_fixed_e - ((params[1] - pixman_fixed_1) >> 1); 469 x_off = - pixman_fixed_1 / 2 [all...] |
pixman-filter.c | 291 if (new_total != pixman_fixed_1) 292 *(p - *width / 2) += (pixman_fixed_1 - new_total);
|
pixman-inlines.h | 455 v.vector[0] = pixman_int_to_fixed (src_x) + pixman_fixed_1 / 2; \ 456 v.vector[1] = pixman_int_to_fixed (src_y) + pixman_fixed_1 / 2; \ 457 v.vector[2] = pixman_fixed_1; \ 774 pad_repeat_get_scanline_bounds (source_image_width, vx + pixman_fixed_1, 871 v.vector[0] = pixman_int_to_fixed (src_x) + pixman_fixed_1 / 2; \ 872 v.vector[1] = pixman_int_to_fixed (src_y) + pixman_fixed_1 / 2; \ 873 v.vector[2] = pixman_fixed_1; \ 881 v.vector[0] -= pixman_fixed_1 / 2; \ 882 v.vector[1] -= pixman_fixed_1 / 2; \ [all...] |
pixman-matrix.c | 233 if (divint == pixman_fixed_1 && divfrac == 0) 240 result->v[2] = pixman_fixed_1; 302 result->v[2] = pixman_fixed_1; 334 result->v[2] = pixman_fixed_1;
|
pixman-private.h | 357 #define STEP_Y_SMALL(n) (pixman_fixed_1 / N_Y_FRAC (n)) 358 #define STEP_Y_BIG(n) (pixman_fixed_1 - (N_Y_FRAC (n) - 1) * STEP_Y_SMALL (n)) 363 #define STEP_X_SMALL(n) (pixman_fixed_1 / N_X_FRAC (n)) 364 #define STEP_X_BIG(n) (pixman_fixed_1 - (N_X_FRAC (n) - 1) * STEP_X_SMALL (n)) [all...] |
pixman-trap.c | 55 i += pixman_fixed_1; 84 i -= pixman_fixed_1;
|
pixman.h | 126 #define pixman_fixed_1 (pixman_int_to_fixed(1)) macro 127 #define pixman_fixed_1_minus_e (pixman_fixed_1 - pixman_fixed_e) 131 #define pixman_fixed_to_double(f) (double) ((f) / (double) pixman_fixed_1) [all...] |
pixman-fast-path.c | [all...] |
/external/pixman/test/ |
rotate-test.c | 27 { { { v00, v01, WIDTH * pixman_fixed_1 / 2 }, \ 28 { v10, v11, HEIGHT * pixman_fixed_1 / 2 }, \ 29 { 0, 0, pixman_fixed_1 } } } 31 #define F1 pixman_fixed_1
|
scaling-helpers-test.c | 31 if (vx + pixman_fixed_1 < 0) 36 else if (vx + pixman_fixed_1 >= pixman_int_to_fixed (source_image_width))
|
matrix-test.c | 116 ti.matrix[2][2] = pixman_fixed_1; 122 vi.v[2] = pixman_fixed_1; 126 ti.matrix[2][2] == pixman_fixed_1 && 127 vi.v[2] == pixman_fixed_1);
|
scaling-crash-test.c | 199 (((pixman_fixed_48_16_t)pixman_fixed_1) << 16) / (7 << 16); 208 (((pixman_fixed_48_16_t)pixman_fixed_1) << 16) / (32767 << 16);
|
affine-test.c | 127 s = pixman_fixed_1; 132 c = -pixman_fixed_1; 140 s = -pixman_fixed_1;
|
stress-test.c | 530 xform.matrix[0][0] = pixman_fixed_1; 531 xform.matrix[1][1] = pixman_fixed_1; 532 xform.matrix[2][2] = pixman_fixed_1; 615 step = pixman_fixed_1 / *n_stops; 628 stops[*n_stops - 1].x = pixman_fixed_1;
|
lowlevel-blt-bench.c | 98 { pixman_fixed_1 + 1, 0, 0 }, 99 { 0, pixman_fixed_1, 0 }, 100 { 0, 0, pixman_fixed_1 } [all...] |
/external/pixman/demos/ |
gradient-test.c | 32 { { pixman_fixed_1, 0, 0 }, 33 { 0, pixman_fixed_1, 0 }, 34 { 0, 0, pixman_fixed_1 } }
|
alpha-test.c | 37 { { pixman_fixed_1, 0, 0 }, 38 { 0, pixman_fixed_1, 0 }, 39 { 0, 0, pixman_fixed_1 } }
|