Searched refs:pixman_int_to_fixed (Results 1 - 24 of 24) sorted by relevance

/external/pixman/demos/
H A Dtrap-test.c24 trap.top.l = pixman_int_to_fixed (50) + 0x8000;
25 trap.top.r = pixman_int_to_fixed (150) + 0x8000;
26 trap.top.y = pixman_int_to_fixed (30);
28 trap.bot.l = pixman_int_to_fixed (50) + 0x8000;
29 trap.bot.r = pixman_int_to_fixed (150) + 0x8000;
30 trap.bot.y = pixman_int_to_fixed (150);
H A Dclip-test.c31 { pixman_int_to_fixed (0), { 0xffff, 0x0000, 0x0000, 0xffff } },
32 { pixman_int_to_fixed (1), { 0xffff, 0xffff, 0x0000, 0xffff } }
36 pixman_point_fixed_t p2 = { pixman_int_to_fixed (WIDTH),
37 pixman_int_to_fixed (HEIGHT) };
H A Dalpha-test.c22 { pixman_int_to_fixed (0), { 0x0000, 0x0000, 0x0000, 0x0000 } },
23 { pixman_int_to_fixed (1), { 0xffff, 0x0000, 0x1111, 0xffff } }
27 pixman_int_to_fixed (0) };
H A Dgradient-test.c18 { pixman_int_to_fixed (0), { 0x0000, 0x0000, 0xffff, 0xffff } },
19 { pixman_int_to_fixed (1), { 0xffff, 0x1111, 0x1111, 0xffff } }
/external/pixman/test/
H A Dgradient-crash-test.c24 { pixman_int_to_fixed (1), { 0xffff, 0xeeee, 0xeeee, 0xeeee } },
29 { pixman_int_to_fixed (1), { 0xffff, 0xeeee, 0xeeee, 0xeeee } },
30 { pixman_int_to_fixed (1), { 0xffff, 0xeeee, 0xeeee, 0xeeee } },
35 { pixman_int_to_fixed (0), { 0xffff, 0xeeee, 0xeeee, 0xeeee } },
36 { pixman_int_to_fixed (1), { 0xffff, 0x1111, 0x1111, 0x1111 } }
41 { pixman_double_to_fixed (WIDTH / 8.), pixman_int_to_fixed (0) } },
H A Dscaling-helpers-test.c36 else if (vx + pixman_fixed_1 >= pixman_int_to_fixed (source_image_width))
38 if (vx >= pixman_int_to_fixed (source_image_width))
H A Dscaling-crash-test.c44 pixman_int_to_fixed (5),
45 pixman_int_to_fixed (5),
H A Daffine-test.c128 tx = pixman_int_to_fixed (MAX_SRC_HEIGHT);
134 tx = pixman_int_to_fixed (MAX_SRC_WIDTH);
135 ty = pixman_int_to_fixed (MAX_SRC_HEIGHT);
141 ty = pixman_int_to_fixed (MAX_SRC_WIDTH);
H A Dalphamap.c199 pixman_transform_scale (&t1, NULL, pixman_int_to_fixed (100), pixman_int_to_fixed (11));
201 pixman_transform_translate (&t1, NULL, pixman_int_to_fixed (11), pixman_int_to_fixed (17));
/external/pixman/pixman/
H A Dpixman-conical-gradient.c81 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;
203 angle = MOD (angle, pixman_int_to_fixed (360));
H A Dpixman-edge-imp.h66 rx = pixman_int_to_fixed (width);
72 rx = pixman_int_to_fixed (width) - 1;
H A Dpixman-filter.c333 params[0] = pixman_int_to_fixed (width);
334 params[1] = pixman_int_to_fixed (height);
335 params[2] = pixman_int_to_fixed (subsample_bits_x);
336 params[3] = pixman_int_to_fixed (subsample_bits_y);
H A Dpixman-trap.c210 pixman_fixed_t x_off_fixed = pixman_int_to_fixed (x_off);
211 pixman_fixed_t y_off_fixed = pixman_int_to_fixed (y_off);
252 x_off_fixed = pixman_int_to_fixed (x_off);
253 y_off_fixed = pixman_int_to_fixed (y_off);
264 b = pixman_int_to_fixed (height) - 1;
368 y_off_fixed = pixman_int_to_fixed (y_off);
377 b = pixman_int_to_fixed (height) - 1;
H A Dpixman-linear-gradient.c112 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;
H A Dpixman-bits-image.c167 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;
298 w = pixman_int_to_fixed (bits->width - 1);
325 w = pixman_int_to_fixed (bits->width);
577 v.vector[0] = pixman_int_to_fixed (offset) + pixman_fixed_1 / 2;
578 v.vector[1] = pixman_int_to_fixed (line) + pixman_fixed_1 / 2;
670 v.vector[0] = pixman_int_to_fixed (offset) + pixman_fixed_1 / 2;
671 v.vector[1] = pixman_int_to_fixed (line) + pixman_fixed_1 / 2;
753 v.vector[0] = pixman_int_to_fixed (offset) + pixman_fixed_1 / 2;
754 v.vector[1] = pixman_int_to_fixed (lin
[all...]
H A Dpixman-inlines.h428 pixman_fixed_t src_width_fixed = pixman_int_to_fixed (src_image->bits.width); \
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; \
474 max_vy = pixman_int_to_fixed (src_image->bits.height); \
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; \
905 repeat (PIXMAN_REPEAT_NORMAL, &vx, pixman_int_to_fixed(src_image->bits.width)); \
923 src_width_fixed = pixman_int_to_fixed (src_width); \
H A Dpixman-radial-gradient.c255 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;
H A Dpixman-edge.c191 rx = pixman_int_to_fixed (width) - 1;
H A Dpixman.c345 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;
H A Dpixman-image.c65 end->x = pixman_int_to_fixed (2) - stops[n - 1].x;
362 pixman_fixed_t magic_limit = pixman_int_to_fixed (30000);
H A Dpixman-android.c288 pixman_fixed_t src_width_fixed = pixman_int_to_fixed(src_width);
H A Dpixman.h126 #define pixman_fixed_1 (pixman_int_to_fixed(1))
128 #define pixman_fixed_minus_1 (pixman_int_to_fixed(-1))
130 #define pixman_int_to_fixed(i) ((pixman_fixed_t) ((i) << 16)) macro
H A Dpixman-matrix.c35 #define F(x) pixman_int_to_fixed (x)
H A Dpixman-fast-path.c1479 v.vector[0] = pixman_int_to_fixed (src_x) + pixman_fixed_1 / 2;
1480 v.vector[1] = pixman_int_to_fixed (src_y) + pixman_fixed_1 / 2;

Completed in 4008 milliseconds