Home
last modified time | relevance | path

Searched refs:pixman_fixed_to_int (Results 1 – 15 of 15) sorted by relevance

/third_party/pixman/pixman/
Dpixman-edge-imp.h39 line = buf + pixman_fixed_to_int (y) * stride; in RASTERIZE_EDGES()
64 if (pixman_fixed_to_int (rx) >= width) in RASTERIZE_EDGES()
80 lxi = pixman_fixed_to_int (lx); in RASTERIZE_EDGES()
81 rxi = pixman_fixed_to_int (rx); in RASTERIZE_EDGES()
Dpixman-trap.c48 if (pixman_fixed_to_int (i) == 0x7fff) in pixman_sample_ceil_y()
77 if (pixman_fixed_to_int (i) == 0x8000) in pixman_sample_floor_y()
263 if (pixman_fixed_to_int (b) >= height) in pixman_add_traps()
376 if (pixman_fixed_to_int (b) >= height) in pixman_rasterize_trapezoid()
440 y1 = pixman_fixed_to_int (trap->top); in get_trap_extents()
444 y2 = pixman_fixed_to_int (pixman_fixed_ceil (trap->bottom)); in get_trap_extents()
449 if (pixman_fixed_to_int ((x)) < box->x1) \ in get_trap_extents()
450 box->x1 = pixman_fixed_to_int ((x)); in get_trap_extents()
452 if (pixman_fixed_to_int (pixman_fixed_ceil ((x))) > box->x2) \ in get_trap_extents()
453 box->x2 = pixman_fixed_to_int (pixman_fixed_ceil ((x))); in get_trap_extents()
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()
117 x1 = pixman_fixed_to_int (x1); in bits_image_fetch_pixel_bilinear_32()
118 y1 = pixman_fixed_to_int (y1); in bits_image_fetch_pixel_bilinear_32()
166 x1 = pixman_fixed_to_int (x1); in bits_image_fetch_pixel_bilinear_float()
167 y1 = pixman_fixed_to_int (y1); in bits_image_fetch_pixel_bilinear_float()
269 int32_t cwidth = pixman_fixed_to_int (params[0]); in bits_image_fetch_pixel_convolution()
270 int32_t cheight = pixman_fixed_to_int (params[1]); in bits_image_fetch_pixel_convolution()
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()
[all …]
Dpixman-fast-path.c1383 tmp1 = *(src + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_565_565_SRC()
1385 tmp2 = *(src + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_565_565_SRC()
1387 tmp3 = *(src + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_565_565_SRC()
1389 tmp4 = *(src + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_565_565_SRC()
1398 tmp1 = *(src + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_565_565_SRC()
1400 tmp2 = *(src + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_565_565_SRC()
1406 *dst = *(src + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_565_565_SRC()
1502 int y = pixman_fixed_to_int (vy); in fast_composite_scaled_nearest()
1527 x1 = pixman_fixed_to_int (vx); in fast_composite_scaled_nearest()
1530 x2 = pixman_fixed_to_int (vx); in fast_composite_scaled_nearest()
[all …]
Dpixman-edge.c170 line = buf + pixman_fixed_to_int (y) * stride; in rasterize_edges_8()
185 if (pixman_fixed_to_int (rx) >= width) in rasterize_edges_8()
200 lxi = pixman_fixed_to_int (lx); in rasterize_edges_8()
201 rxi = pixman_fixed_to_int (rx); in rasterize_edges_8()
Dpixman.c502 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()
510 if (pixman_fixed_to_int (transformed.x1 - pixman_fixed_1 / 2) >= 0 && in analyze_extent()
511 pixman_fixed_to_int (transformed.y1 - pixman_fixed_1 / 2) >= 0 && in analyze_extent()
512 pixman_fixed_to_int (transformed.x2 + pixman_fixed_1 / 2) < image->bits.width && in analyze_extent()
513 pixman_fixed_to_int (transformed.y2 + pixman_fixed_1 / 2) < image->bits.height) in analyze_extent()
Dpixman-ssse3.c72 (__m128i *)(bits + pixman_fixed_to_int (x + ux))); in ssse3_fetch_horizontal()
77 (__m128i *)(bits + pixman_fixed_to_int (x))); in ssse3_fetch_horizontal()
171 y0 = pixman_fixed_to_int (info->y); in ssse3_fetch_bilinear_cover()
Dpixman-image.c362 (pixman_fixed_to_int ( in compute_image_info()
736 int width = pixman_fixed_to_int (params[0]); in pixman_image_set_filter()
737 int height = pixman_fixed_to_int (params[1]); in pixman_image_set_filter()
738 int x_phase_bits = pixman_fixed_to_int (params[2]); in pixman_image_set_filter()
739 int y_phase_bits = pixman_fixed_to_int (params[3]); in pixman_image_set_filter()
Dpixman-inlines.h352 x1 = pixman_fixed_to_int (vx); \
362 x2 = pixman_fixed_to_int (vx); \
414 x1 = pixman_fixed_to_int (vx); \
524 y = pixman_fixed_to_int (vy); \
932 max_x = pixman_fixed_to_int (vx + (width - 1) * (int64_t)unit_x) + 1; \
964 y1 = pixman_fixed_to_int (vy); \
1144 if (pixman_fixed_to_int (vx) == src_width - 1) \
1172 if (pixman_fixed_to_int (vx) != src_width - 1 && width_remain > 0) \
Dpixman-matrix.c615 x1 = pixman_fixed_to_int (v[i].vector[0]); in pixman_transform_bounds()
616 y1 = pixman_fixed_to_int (v[i].vector[1]); in pixman_transform_bounds()
617 x2 = pixman_fixed_to_int (pixman_fixed_ceil (v[i].vector[0])); in pixman_transform_bounds()
618 y2 = pixman_fixed_to_int (pixman_fixed_ceil (v[i].vector[1])); in pixman_transform_bounds()
Dpixman-vmx.c2903 s = combine1 (ps + pixman_fixed_to_int (vx), pm); in scaled_nearest_scanline_vmx_8888_8888_OVER()
2919 tmp1 = *(ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_vmx_8888_8888_OVER()
2923 tmp2 = *(ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_vmx_8888_8888_OVER()
2927 tmp3 = *(ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_vmx_8888_8888_OVER()
2931 tmp4 = *(ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_vmx_8888_8888_OVER()
2963 s = combine1 (ps + pixman_fixed_to_int (vx), pm); in scaled_nearest_scanline_vmx_8888_8888_OVER()
Dpixman-sse2.c5341 s = combine1 (ps + pixman_fixed_to_int (vx), pm); in scaled_nearest_scanline_sse2_8888_8888_OVER()
5357 tmp1 = *(ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_sse2_8888_8888_OVER()
5361 tmp2 = *(ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_sse2_8888_8888_OVER()
5365 tmp3 = *(ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_sse2_8888_8888_OVER()
5369 tmp4 = *(ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_sse2_8888_8888_OVER()
5410 s = combine1 (ps + pixman_fixed_to_int (vx), pm); in scaled_nearest_scanline_sse2_8888_8888_OVER()
5458 uint32_t s = *(src + pixman_fixed_to_int (vx)); in FAST_NEAREST_MAINLOOP()
5483 tmp1 = *(src + pixman_fixed_to_int (vx)); in FAST_NEAREST_MAINLOOP()
5487 tmp2 = *(src + pixman_fixed_to_int (vx)); in FAST_NEAREST_MAINLOOP()
5491 tmp3 = *(src + pixman_fixed_to_int (vx)); in FAST_NEAREST_MAINLOOP()
[all …]
Dpixman-mmx.c3562 __m64 s = load (ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_mmx_8888_8888_OVER()
3612 uint32_t s = *(src + pixman_fixed_to_int (vx)); in FAST_NEAREST_MAINLOOP()
3661 __m64 t = ldq_u ((__m64 *)&src_top [pixman_fixed_to_int (vx)]); \
3662 __m64 b = ldq_u ((__m64 *)&src_bottom [pixman_fixed_to_int (vx)]); \
Dpixman.h129 #define pixman_fixed_to_int(f) ((int) ((f) >> 16)) macro
/third_party/pixman/test/
Daffine-bench.c404 xmin = pixman_fixed_to_int (transformed.x1 - pixman_fixed_1 / 2); in main()
405 ymin = pixman_fixed_to_int (transformed.y1 - pixman_fixed_1 / 2); in main()
406 xmax = pixman_fixed_to_int (transformed.x2 + pixman_fixed_1 / 2); in main()
407 ymax = pixman_fixed_to_int (transformed.y2 + pixman_fixed_1 / 2); in main()