[Pixman] bilinear fast path
alexl at redhat.com
Mon Mar 15 08:09:26 PDT 2010
On Mon, 2010-03-15 at 17:05 +0200, Siarhei Siamashka wrote:
> 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
> > gain.
> Really good performance improvements for bilinear scaling are going to
> from SIMD optimizations. To make it happen, scaler core needs to be
> into a small simple function with a minimal number of checks and
The "/* Main columns: */" part there is probably a good start for that.
Alexander Larsson Red Hat, Inc
alexl at redhat.com alexander.larsson at gmail.com
He's an old-fashioned day-dreaming gentleman spy with a passion for fast cars.
She's a sarcastic streetsmart college professor in the witness protection
program. They fight crime!
More information about the Pixman