[Pixman] bilinear fast path

Siarhei Siamashka siarhei.siamashka at gmail.com
Mon Mar 15 08:05:10 PDT 2010


On Monday 15 March 2010, Alexander Larsson wrote:
> On Fri, 2010-03-12 at 16:18 +0100, Alexander Larsson wrote:
> > > I took this as a base and created a new branch that does fast
> >
> > scaling,
> >
> > > achieving similar performance, and passing scaling-test.
> >
> > http://cgit.freedesktop.org/~alexl/pixman/log/?h=alex-scaler
>
> Based on this i also made a simple 8888 bilinear scaler. I get
> performace changes like:
>
> From:
> Scaling from 640x480 to 1152x864 in 13467 usec
> To:
> Scaling from 640x480 to 1152x864 in 11031 usec
>
> And even more for smaller scaling. Not extraordinary, but still a solid
> gain.

Really good performance improvements for bilinear scaling are going to come
from SIMD optimizations. To make it happen, scaler core needs to be isolated
into a small simple function with a minimal number of checks and branches.

-- 
Best regards,
Siarhei Siamashka


More information about the Pixman mailing list