[Pixman] [PATCH 1/4] Implement floating point gradient computation

Pekka Paalanen ppaalanen at gmail.com
Wed Dec 5 08:08:31 UTC 2018

On Tue, 4 Dec 2018 17:36:18 +0100
Maarten Lankhorst <maarten.lankhorst at linux.intel.com> wrote:

> Hey,
> Op 03-12-2018 om 16:01 schreef Basile Clement:
> >
> > This is essentially a duplicate of the recent patch by Maarten
> > Lankhorst (which spurred me into finally posting these, which laid
> > on my laptop for a couple months), with a slightly different
> > approach.  It is mostly included as it is a prerequisite for the
> > subsequent patches, but they should work just as well with
> > Maarten's patch.
> >
> > This series of patches is driven by a discussion with Marc
> > Jeanmougin and the need of having dithering in pixman for inkscape,
> > and tries to implement the recommendations given by Soren in
> > previous threads on the topic. 

> Series looks sane, 1/4 is cleaner than my version. I would change Bpp
> to cpp, or multiply by 8, since Bpp usually means bits per pixel.

And cpp means channels-per-pixel?

B usually means bytes, b often means bits. But not always, so you can
never assume.

I'd just write out bits_per_pixel or bytes_per_pixel, just like
pitch_bytes or stride_pixels or stride_uint32s or whatever makes it
totally obvious.

2c, thanks,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/pixman/attachments/20181205/f6739e4c/attachment.sig>

More information about the Pixman mailing list