Searched refs:distx (Results 1 – 2 of 2) sorted by relevance
/external/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 | 104 int32_t distx, disty; in bits_image_fetch_pixel_bilinear() local 109 distx = pixman_fixed_to_bilinear_weight (x1); in bits_image_fetch_pixel_bilinear() 137 return bilinear_interpolation (tl, tr, bl, br, distx, disty); in bits_image_fetch_pixel_bilinear() 282 int32_t distx; in bits_image_fetch_bilinear_no_repeat_8888() local 287 distx = pixman_fixed_to_bilinear_weight (x); 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() 305 int32_t distx; in bits_image_fetch_bilinear_no_repeat_8888() local 312 distx = pixman_fixed_to_bilinear_weight (x); 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() 331 int32_t distx; in bits_image_fetch_bilinear_no_repeat_8888() local [all …]
|