Home
last modified time | relevance | path

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

/external/pixman/pixman/
Dpixman-bits-image.c77 int x0 = pixman_fixed_to_int (x - pixman_fixed_e); in bits_image_fetch_pixel_nearest()
78 int y0 = pixman_fixed_to_int (y - pixman_fixed_e); in bits_image_fetch_pixel_nearest()
112 x1 = pixman_fixed_to_int (x1); in bits_image_fetch_pixel_bilinear()
113 y1 = pixman_fixed_to_int (y1); in bits_image_fetch_pixel_bilinear()
191 y1 = pixman_fixed_to_int (y); in bits_image_fetch_bilinear_no_repeat_8888()
284 tr = top_row[pixman_fixed_to_int (x_top) + 1] | top_mask; in bits_image_fetch_bilinear_no_repeat_8888()
285 br = bottom_row[pixman_fixed_to_int (x_bottom) + 1] | bottom_mask; in bits_image_fetch_bilinear_no_repeat_8888()
307 tl = top_row [pixman_fixed_to_int (x_top)] | top_mask; in bits_image_fetch_bilinear_no_repeat_8888()
308 tr = top_row [pixman_fixed_to_int (x_top) + 1] | top_mask; in bits_image_fetch_bilinear_no_repeat_8888()
309 bl = bottom_row [pixman_fixed_to_int (x_bottom)] | bottom_mask; in bits_image_fetch_bilinear_no_repeat_8888()
[all …]
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-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-android.c88 x1 = pixman_fixed_to_int(vx); in scaled_nearest_scanline_8888_8888_none_SRC()
91 x2 = pixman_fixed_to_int(vx); in scaled_nearest_scanline_8888_8888_none_SRC()
98 x1 = pixman_fixed_to_int(vx); in scaled_nearest_scanline_8888_8888_none_SRC()
201 y1 = pixman_fixed_to_int(vy); in android_bilinear_filter_neon()
Dpixman.c509 if (pixman_fixed_to_int (transformed.x1) >= 0 && in analyze_extent()
510 pixman_fixed_to_int (transformed.y1) >= 0 && in analyze_extent()
511 pixman_fixed_to_int (transformed.x2) < image->bits.width && in analyze_extent()
512 pixman_fixed_to_int (transformed.y2) < image->bits.height) in analyze_extent()
517 if (pixman_fixed_to_int (transformed.x1 - pixman_fixed_1 / 2) >= 0 && in analyze_extent()
518 pixman_fixed_to_int (transformed.y1 - pixman_fixed_1 / 2) >= 0 && in analyze_extent()
519 pixman_fixed_to_int (transformed.x2 + pixman_fixed_1 / 2) < image->bits.width && in analyze_extent()
520 pixman_fixed_to_int (transformed.y2 + pixman_fixed_1 / 2) < image->bits.height) in analyze_extent()
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-inlines.h327 x1 = pixman_fixed_to_int (vx); \
337 x2 = pixman_fixed_to_int (vx); \
389 x1 = pixman_fixed_to_int (vx); \
499 y = pixman_fixed_to_int (vy); \
906 max_x = pixman_fixed_to_int (vx + (width - 1) * (int64_t)unit_x) + 1; \
938 y1 = pixman_fixed_to_int (vy); \
1118 if (pixman_fixed_to_int (vx) == src_width - 1) \
1146 if (pixman_fixed_to_int (vx) != src_width - 1 && width_remain > 0) \
Dpixman-image.c689 int width = pixman_fixed_to_int (params[0]); in pixman_image_set_filter()
690 int height = pixman_fixed_to_int (params[1]); in pixman_image_set_filter()
691 int x_phase_bits = pixman_fixed_to_int (params[2]); in pixman_image_set_filter()
692 int y_phase_bits = pixman_fixed_to_int (params[3]); in pixman_image_set_filter()
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-sse2.c5335 s = combine1 (ps + pixman_fixed_to_int (vx), pm); in scaled_nearest_scanline_sse2_8888_8888_OVER()
5351 tmp1 = *(ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_sse2_8888_8888_OVER()
5355 tmp2 = *(ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_sse2_8888_8888_OVER()
5359 tmp3 = *(ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_sse2_8888_8888_OVER()
5363 tmp4 = *(ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_sse2_8888_8888_OVER()
5404 s = combine1 (ps + pixman_fixed_to_int (vx), pm); in scaled_nearest_scanline_sse2_8888_8888_OVER()
5452 uint32_t s = *(src + pixman_fixed_to_int (vx)); in FAST_NEAREST_MAINLOOP()
5477 tmp1 = *(src + pixman_fixed_to_int (vx)); in FAST_NEAREST_MAINLOOP()
5481 tmp2 = *(src + pixman_fixed_to_int (vx)); in FAST_NEAREST_MAINLOOP()
5485 tmp3 = *(src + pixman_fixed_to_int (vx)); in FAST_NEAREST_MAINLOOP()
[all …]
Dpixman.h129 #define pixman_fixed_to_int(f) ((int) ((f) >> 16)) macro
Dpixman-mmx.c3551 __m64 t = ldq_u ((__m64 *)&src_top [pixman_fixed_to_int (vx)]); \
3552 __m64 b = ldq_u ((__m64 *)&src_bottom [pixman_fixed_to_int (vx)]); \