Searched refs:disty (Results 1 – 2 of 2) sorted by relevance
/external/pixman/pixman/ |
D | pixman-inlines.h | 96 int distx, int disty) in bilinear_interpolation() argument 102 disty <<= (4 - BILINEAR_INTERPOLATION_BITS); in bilinear_interpolation() 104 distxy = distx * disty; in bilinear_interpolation() 106 distixy = (disty << 4) - distxy; /* disty * (16 - distx) */ in bilinear_interpolation() 108 16 * 16 - (disty << 4) - in bilinear_interpolation() 132 int distx, int disty) in bilinear_interpolation() argument 139 disty <<= (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 | 104 int32_t distx, disty; in bits_image_fetch_pixel_bilinear() local 110 disty = pixman_fixed_to_bilinear_weight (y1); in bits_image_fetch_pixel_bilinear() 137 return bilinear_interpolation (tl, tr, bl, br, distx, disty); in bits_image_fetch_pixel_bilinear() 162 int disty; in bits_image_fetch_bilinear_no_repeat_8888() local 178 disty = pixman_fixed_to_bilinear_weight (y); in bits_image_fetch_bilinear_no_repeat_8888() 289 *buffer++ = bilinear_interpolation (0, tr, 0, br, distx, disty); in bits_image_fetch_bilinear_no_repeat_8888() 314 *buffer = bilinear_interpolation (tl, tr, bl, br, distx, disty); in bits_image_fetch_bilinear_no_repeat_8888() 338 *buffer = bilinear_interpolation (tl, 0, bl, 0, distx, disty); in bits_image_fetch_bilinear_no_repeat_8888() 907 int32_t distx, disty; in bits_image_fetch_bilinear_affine() local 920 disty = pixman_fixed_to_bilinear_weight (y1); in bits_image_fetch_bilinear_affine() [all …]
|