Home
last modified time | relevance | path

Searched refs:pixman_fixed_e (Results 1 – 8 of 8) sorted by relevance

/third_party/pixman/pixman/
Dpixman.c454 x_off = - pixman_fixed_e - ((params[0] - pixman_fixed_1) >> 1); in analyze_extent()
455 y_off = - pixman_fixed_e - ((params[1] - pixman_fixed_1) >> 1); in analyze_extent()
462 x_off = - pixman_fixed_e - ((params[0] - pixman_fixed_1) >> 1); in analyze_extent()
463 y_off = - pixman_fixed_e - ((params[1] - pixman_fixed_1) >> 1); in analyze_extent()
479 x_off = - pixman_fixed_e; in analyze_extent()
480 y_off = - pixman_fixed_e; in analyze_extent()
502 if (pixman_fixed_to_int (transformed.x1 - pixman_fixed_e) >= 0 && in analyze_extent()
503 pixman_fixed_to_int (transformed.y1 - pixman_fixed_e) >= 0 && in analyze_extent()
504 pixman_fixed_to_int (transformed.x2 - pixman_fixed_e) < image->bits.width && in analyze_extent()
505 pixman_fixed_to_int (transformed.y2 - pixman_fixed_e) < image->bits.height) in analyze_extent()
[all …]
Dpixman-edge-imp.h58 lx += X_FRAC_FIRST(1) - pixman_fixed_e; in RASTERIZE_EDGES()
59 rx += X_FRAC_FIRST(1) - pixman_fixed_e; in RASTERIZE_EDGES()
Dpixman-inlines.h491 v.vector[0] -= pixman_fixed_e; \
492 v.vector[1] -= pixman_fixed_e; \
536 left_pad, -pixman_fixed_e, 0, src_width_fixed, FALSE); \
548 right_pad, -pixman_fixed_e, 0, src_width_fixed, FALSE); \
557 -pixman_fixed_e, 0, src_width_fixed, TRUE); \
564 -pixman_fixed_e, 0, src_width_fixed, TRUE); \
576 -pixman_fixed_e, 0, src_width_fixed, TRUE); \
1152 num_pixels = ((src_width_fixed - vx - pixman_fixed_e) / unit_x) + 1; \
1180 num_pixels = ((src_width_fixed - pixman_fixed_1 - vx - pixman_fixed_e) \
Dpixman-bits-image.c80 int x0 = pixman_fixed_to_int (x - pixman_fixed_e); in bits_image_fetch_pixel_nearest()
81 int y0 = pixman_fixed_to_int (y - pixman_fixed_e); in bits_image_fetch_pixel_nearest()
279 x1 = pixman_fixed_to_int (x - pixman_fixed_e - x_off); in bits_image_fetch_pixel_convolution()
280 y1 = pixman_fixed_to_int (y - pixman_fixed_e - y_off); in bits_image_fetch_pixel_convolution()
362 x1 = pixman_fixed_to_int (x - pixman_fixed_e - x_off); in bits_image_fetch_pixel_separable_convolution()
363 y1 = pixman_fixed_to_int (y - pixman_fixed_e - y_off); in bits_image_fetch_pixel_separable_convolution()
Dpixman-fast-path.c1490 v.vector[0] -= pixman_fixed_e; in fast_composite_scaled_nearest()
1491 v.vector[1] -= pixman_fixed_e; in fast_composite_scaled_nearest()
1777 pixman_fixed_1 / 2 - pixman_fixed_e) - height;\
1780 pixman_fixed_1 / 2 - pixman_fixed_e); \
1801 pixman_fixed_1 / 2 - pixman_fixed_e); \
1804 pixman_fixed_1 / 2 - pixman_fixed_e) - width; \
2767 x1 = pixman_fixed_to_int (x - pixman_fixed_e - x_off); in bits_image_fetch_separable_convolution_affine()
2768 y1 = pixman_fixed_to_int (y - pixman_fixed_e - y_off); in bits_image_fetch_separable_convolution_affine()
3045 x0 = pixman_fixed_to_int (x - pixman_fixed_e); in bits_image_fetch_nearest_affine()
3046 y0 = pixman_fixed_to_int (y - pixman_fixed_e); in bits_image_fetch_nearest_affine()
Dpixman-trap.c43 …f = DIV (f - Y_FRAC_FIRST (n) + (STEP_Y_SMALL (n) - pixman_fixed_e), STEP_Y_SMALL (n)) * STEP_Y_SM… in pixman_sample_ceil_y()
72 f = DIV (f - pixman_fixed_e - Y_FRAC_FIRST (n), STEP_Y_SMALL (n)) * STEP_Y_SMALL (n) + in pixman_sample_floor_y()
Dpixman.h125 #define pixman_fixed_e ((pixman_fixed_t) 1) macro
127 #define pixman_fixed_1_minus_e (pixman_fixed_1 - pixman_fixed_e)
/third_party/pixman/test/
Dcover-test.c173 ref_src = bilinear ? pixman_fixed_1 / 2 : pixman_fixed_e; in calc_translate()
248 assert (v1.vector[0] >= pixman_fixed_e); in check_transform()
249 assert (v1.vector[1] >= pixman_fixed_e); in check_transform()