/external/pixman/pixman/ |
D | pixman.h | 123 typedef pixman_fixed_16_16_t pixman_fixed_t; typedef 125 #define pixman_fixed_e ((pixman_fixed_t) 1) 130 #define pixman_int_to_fixed(i) ((pixman_fixed_t) ((i) << 16)) 132 #define pixman_double_to_fixed(d) ((pixman_fixed_t) ((d) * 65536.0)) 160 pixman_fixed_t x; 161 pixman_fixed_t y; 175 pixman_fixed_t vector[3]; 180 pixman_fixed_t matrix[3][3]; 196 pixman_fixed_t sx, 197 pixman_fixed_t sy); [all …]
|
D | pixman-android.c | 80 uint32_t *dst, const uint32_t *src, int32_t w, pixman_fixed_t vx, in scaled_nearest_scanline_8888_8888_none_SRC() 81 pixman_fixed_t unit_x, pixman_fixed_t src_width_fixed) { in scaled_nearest_scanline_8888_8888_none_SRC() 104 static force_inline int pixman_fixed_to_bilinear_weight(pixman_fixed_t x) { in pixman_fixed_to_bilinear_weight() 122 int32_t source_image_width, pixman_fixed_t vx, pixman_fixed_t unit_x, in pad_repeat_get_scanline_bounds() 151 int32_t source_image_width, pixman_fixed_t vx, pixman_fixed_t unit_x, in bilinear_pad_repeat_get_scanline_bounds() 172 pixman_fixed_t x, pixman_fixed_t ux, int width); 180 pixman_fixed_t unit_x, unit_y; in android_bilinear_filter_neon() 186 pixman_fixed_t vx, vy; in android_bilinear_filter_neon() 288 pixman_fixed_t src_width_fixed = pixman_int_to_fixed(src_width); in android_nearest_filter() 289 pixman_fixed_t max_vy; in android_nearest_filter() [all …]
|
D | pixman-trap.c | 37 PIXMAN_EXPORT pixman_fixed_t 38 pixman_sample_ceil_y (pixman_fixed_t y, int n) in pixman_sample_ceil_y() 40 pixman_fixed_t f = pixman_fixed_frac (y); in pixman_sample_ceil_y() 41 pixman_fixed_t i = pixman_fixed_floor (y); in pixman_sample_ceil_y() 65 PIXMAN_EXPORT pixman_fixed_t 66 pixman_sample_floor_y (pixman_fixed_t y, in pixman_sample_floor_y() 69 pixman_fixed_t f = pixman_fixed_frac (y); in pixman_sample_floor_y() 70 pixman_fixed_t i = pixman_fixed_floor (y); in pixman_sample_floor_y() 130 pixman_fixed_t *stepx_p, in _pixman_edge_multi_init() 131 pixman_fixed_t *dx_p) in _pixman_edge_multi_init() [all …]
|
D | pixman-arm-common.h | 238 pixman_fixed_t vx, \ 239 pixman_fixed_t unit_x, \ 240 pixman_fixed_t max_vx); \ 246 pixman_fixed_t vx, \ 247 pixman_fixed_t unit_x, \ 248 pixman_fixed_t max_vx, \ 283 pixman_fixed_t vx, \ 284 pixman_fixed_t unit_x, \ 285 pixman_fixed_t max_vx, \ 293 pixman_fixed_t vx, \ [all …]
|
D | pixman-filter.c | 218 static pixman_fixed_t * 225 pixman_fixed_t *params, *p; in create_1d_filter() 233 p = params = malloc (*width * n_phases * sizeof (pixman_fixed_t)); in create_1d_filter() 242 pixman_fixed_t new_total; in create_1d_filter() 276 *p++ = (pixman_fixed_t)(c * 65535.0 + 0.5); in create_1d_filter() 285 pixman_fixed_t t = (*p) * total + 0.5; in create_1d_filter() 301 PIXMAN_EXPORT pixman_fixed_t * 303 pixman_fixed_t scale_x, in pixman_filter_create_separable_convolution() 304 pixman_fixed_t scale_y, in pixman_filter_create_separable_convolution() 314 pixman_fixed_t *horz = NULL, *vert = NULL, *params = NULL; in pixman_filter_create_separable_convolution() [all …]
|
D | pixman-mips-dspr2.h | 258 pixman_fixed_t vx, \ 259 pixman_fixed_t unit_x); \ 265 pixman_fixed_t vx, \ 266 pixman_fixed_t unit_x, \ 267 pixman_fixed_t max_vx, \ 301 pixman_fixed_t vx, \ 302 pixman_fixed_t unit_x); \ 309 pixman_fixed_t vx, \ 310 pixman_fixed_t unit_x, \ 311 pixman_fixed_t max_vx, \ [all …]
|
D | pixman-edge.c | 159 pixman_fixed_t t, in rasterize_edges_8() 160 pixman_fixed_t b) in rasterize_edges_8() 162 pixman_fixed_t y = t; in rasterize_edges_8() 175 pixman_fixed_t lx, rx; in rasterize_edges_8() 345 pixman_fixed_t t, in PIXMAN_RASTERIZE_EDGES() 346 pixman_fixed_t b) in PIXMAN_RASTERIZE_EDGES() 373 pixman_fixed_t t, in pixman_rasterize_edges() 374 pixman_fixed_t b) in pixman_rasterize_edges()
|
D | pixman-edge-imp.h | 30 pixman_fixed_t t, in RASTERIZE_EDGES() 31 pixman_fixed_t b) in RASTERIZE_EDGES() 33 pixman_fixed_t y = t; in RASTERIZE_EDGES() 43 pixman_fixed_t lx; in RASTERIZE_EDGES() 44 pixman_fixed_t rx; in RASTERIZE_EDGES()
|
D | pixman-bits-image.c | 73 pixman_fixed_t x, in bits_image_fetch_pixel_nearest() 74 pixman_fixed_t y, in bits_image_fetch_pixel_nearest() 95 pixman_fixed_t x, in bits_image_fetch_pixel_bilinear() 96 pixman_fixed_t y, in bits_image_fetch_pixel_bilinear() 152 pixman_fixed_t x_top, x_bottom, x; in bits_image_fetch_bilinear_no_repeat_8888() 153 pixman_fixed_t ux_top, ux_bottom, ux; in bits_image_fetch_bilinear_no_repeat_8888() 357 pixman_fixed_t x, in bits_image_fetch_pixel_convolution() 358 pixman_fixed_t y, in bits_image_fetch_pixel_convolution() 361 pixman_fixed_t *params = image->common.filter_params; in bits_image_fetch_pixel_convolution() 388 pixman_fixed_t f = *params; in bits_image_fetch_pixel_convolution() [all …]
|
D | pixman-matrix.c | 451 d.matrix[dy][dx] = (pixman_fixed_t) v; in pixman_transform_multiply() 461 pixman_fixed_t sx, in pixman_transform_init_scale() 462 pixman_fixed_t sy) in pixman_transform_init_scale() 471 static pixman_fixed_t 472 fixed_inverse (pixman_fixed_t x) in fixed_inverse() 474 return (pixman_fixed_t) ((((pixman_fixed_48_16_t) F (1)) * F (1)) / x); in fixed_inverse() 480 pixman_fixed_t sx, in pixman_transform_scale() 481 pixman_fixed_t sy) in pixman_transform_scale() 508 pixman_fixed_t c, in pixman_transform_init_rotate() 509 pixman_fixed_t s) in pixman_transform_init_rotate() [all …]
|
D | pixman-inlines.h | 85 pixman_fixed_to_bilinear_weight (pixman_fixed_t x) in pixman_fixed_to_bilinear_weight() 239 pixman_fixed_t vx, in pad_repeat_get_scanline_bounds() 240 pixman_fixed_t unit_x, in pad_repeat_get_scanline_bounds() 309 pixman_fixed_t vx, \ 310 pixman_fixed_t unit_x, \ 311 pixman_fixed_t src_width_fixed, \ 428 pixman_fixed_t src_width_fixed = pixman_int_to_fixed (src_image->bits.width); \ 429 pixman_fixed_t max_vy; \ 431 pixman_fixed_t vx, vy; \ 432 pixman_fixed_t unit_x, unit_y; \ [all …]
|
D | pixman-image.c | 301 pixman_fixed_t m01 = image->common.transform->matrix[0][1]; in compute_image_info() 302 pixman_fixed_t m10 = image->common.transform->matrix[1][0]; in compute_image_info() 362 pixman_fixed_t magic_limit = pixman_int_to_fixed (30000); in compute_image_info() 678 const pixman_fixed_t *params, in pixman_image_set_filter() 682 pixman_fixed_t *new_params; in pixman_image_set_filter() 703 new_params = pixman_malloc_ab (n_params, sizeof (pixman_fixed_t)); in pixman_image_set_filter() 708 params, n_params * sizeof (pixman_fixed_t)); in pixman_image_set_filter()
|
D | pixman-private.h | 108 pixman_fixed_t * filter_params; 148 pixman_fixed_t x; 149 pixman_fixed_t y; 150 pixman_fixed_t radius; 326 pixman_fixed_t left_x; 327 pixman_fixed_t right_x; 377 pixman_fixed_t t, 378 pixman_fixed_t b);
|
D | pixman-radial-gradient.c | 426 pixman_fixed_t inner_radius, in pixman_image_create_radial_gradient() 427 pixman_fixed_t outer_radius, in pixman_image_create_radial_gradient()
|
/external/pixman/test/ |
D | scaling-helpers-test.c | 12 pixman_fixed_t vx_, in bilinear_pad_repeat_get_scanline_bounds_ref() 13 pixman_fixed_t unit_x, in bilinear_pad_repeat_get_scanline_bounds_ref() 60 pixman_fixed_t vx = prng_rand_n(10000 << 16) - (3000 << 16); in main() 63 pixman_fixed_t unit_x = prng_rand_n(10 << 16) + 1; in main()
|
D | radial-perf-test.c | 9 static const pixman_fixed_t r_inner = 0; in main() 10 static const pixman_fixed_t r_outer = 64 << 16; in main()
|
D | scaling-crash-test.c | 40 static const pixman_fixed_t kernel[] = in run_test() 198 pixman_fixed_t one_seventh = in main() 207 pixman_fixed_t scale = in main()
|
D | scaling-test.c | 69 pixman_fixed_t scale_x = 65536, scale_y = 65536; in test_composite() 70 pixman_fixed_t translate_x = 0, translate_y = 0; in test_composite() 71 pixman_fixed_t mask_scale_x = 65536, mask_scale_y = 65536; in test_composite() 72 pixman_fixed_t mask_translate_x = 0, mask_translate_y = 0; in test_composite()
|
D | gradient-crash-test.c | 85 pixman_fixed_t r_inner; in main() 86 pixman_fixed_t r_outer; in main()
|
D | stress-test.c | 248 pixman_fixed_t *coefficients = NULL; in create_random_bits_image() 359 coefficients = malloc (n_coefficients * sizeof (pixman_fixed_t)); in create_random_bits_image() 608 pixman_fixed_t step; in create_random_stops() 609 pixman_fixed_t s; in create_random_stops() 673 pixman_fixed_t inner_r, outer_r; in create_random_radial_image() 700 pixman_fixed_t angle; in create_random_conical_image()
|
D | affine-test.c | 41 pixman_fixed_t scale_x = 65536, scale_y = 65536; in test_composite() 42 pixman_fixed_t translate_x = 0, translate_y = 0; in test_composite()
|
/external/pixman/demos/ |
D | gradient-test.c | 41 pixman_fixed_t r_inner; in main() 42 pixman_fixed_t r_outer; in main()
|
D | clip-test.c | 41 pixman_fixed_t r_inner; in main() 42 pixman_fixed_t r_outer; in main()
|
D | alpha-test.c | 46 pixman_fixed_t r_inner; in main() 47 pixman_fixed_t r_outer; in main()
|
D | convolution-test.c | 17 pixman_fixed_t convolution[] = in main()
|