Searched refs:distx (Results 1 – 4 of 4) sorted by relevance
/third_party/pixman/pixman/ |
D | pixman-inlines.h | 96 int distx, int disty) in bilinear_interpolation() argument 101 distx <<= (4 - BILINEAR_INTERPOLATION_BITS); in bilinear_interpolation() 104 distxy = distx * disty; in bilinear_interpolation() 105 distxiy = (distx << 4) - distxy; /* distx * (16 - disty) */ in bilinear_interpolation() 109 (distx << 4) + distxy; /* (16 - distx) * (16 - disty) */ in bilinear_interpolation() 132 int distx, int disty) in bilinear_interpolation() argument 138 distx <<= (8 - BILINEAR_INTERPOLATION_BITS); in bilinear_interpolation() 141 distxy = distx * disty; in bilinear_interpolation() 142 distxiy = distx * (256 - disty); in bilinear_interpolation() 143 distixy = (256 - distx) * disty; in bilinear_interpolation() [all …]
|
D | pixman-bits-image.c | 108 int32_t distx, disty; in bits_image_fetch_pixel_bilinear_32() local 114 distx = pixman_fixed_to_bilinear_weight (x1); in bits_image_fetch_pixel_bilinear_32() 142 *ret = bilinear_interpolation (tl, tr, bl, br, distx, disty); in bits_image_fetch_pixel_bilinear_32() 157 float distx, disty; in bits_image_fetch_pixel_bilinear_float() local 163 distx = ((float)pixman_fixed_fraction(x1)) / 65536.f; in bits_image_fetch_pixel_bilinear_float() 191 *ret = bilinear_interpolation_float (tl, tr, bl, br, distx, disty); in bits_image_fetch_pixel_bilinear_float()
|
D | pixman-fast-path.c | 2628 int32_t distx; in bits_image_fetch_bilinear_no_repeat_8888() local 2633 distx = pixman_fixed_to_bilinear_weight (x); in bits_image_fetch_bilinear_no_repeat_8888() 2635 *buffer++ = bilinear_interpolation (0, tr, 0, br, distx, disty); in bits_image_fetch_bilinear_no_repeat_8888() 2651 int32_t distx; in bits_image_fetch_bilinear_no_repeat_8888() local 2658 distx = pixman_fixed_to_bilinear_weight (x); in bits_image_fetch_bilinear_no_repeat_8888() 2660 *buffer = bilinear_interpolation (tl, tr, bl, br, distx, disty); in bits_image_fetch_bilinear_no_repeat_8888() 2677 int32_t distx; in bits_image_fetch_bilinear_no_repeat_8888() local 2682 distx = pixman_fixed_to_bilinear_weight (x); in bits_image_fetch_bilinear_no_repeat_8888() 2684 *buffer = bilinear_interpolation (tl, 0, bl, 0, distx, disty); in bits_image_fetch_bilinear_no_repeat_8888() 2885 int32_t distx, disty; in bits_image_fetch_bilinear_affine() local [all …]
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_emit.c | 521 unsigned reg, i, distx, disty, dist; in r300_get_mspos() local 534 distx = 11; in r300_get_mspos() 536 if (p[i] < distx) in r300_get_mspos() 537 distx = p[i]; in r300_get_mspos() 546 if (distx == 8) in r300_get_mspos() 547 distx = 7; in r300_get_mspos() 549 reg = R300_NIBBLES(p[0], p[1], p[2], p[3], p[4], p[5], disty, distx); in r300_get_mspos()
|