[Pixman] [PATCH 1/7] Main loop template for fast single pass bilinear scaling

Soeren Sandmann sandmann at cs.au.dk
Sat Feb 26 04:41:38 PST 2011


Siarhei Siamashka <siarhei.siamashka at gmail.com> writes:

> +/*
> + * Identify 5 zones in each scanline for bilinear scaling. Depending on
> + * whether 2 pixels to be interpolated are fetched from the image itself,
> + * from the padding area around it or from both image and padding area.
> + */
> +static force_inline void
> +bilinear_pad_repeat_get_scanline_bounds (int32_t         source_image_width,
> +					 pixman_fixed_t  vx,
> +					 pixman_fixed_t  unit_x,
> +					 int32_t *       left_pad,
> +					 int32_t *       left_tz,
> +					 int32_t *       width,
> +					 int32_t *       right_tz,
> +					 int32_t *       right_pad)

What does "tz" stand for in these names? Presumably, the z is for zone,
but what about the t? 


Soren


More information about the Pixman mailing list