[Pixman] [PATCH] Add a version of bilinear_interpolation for precision <=4

Jeff Muizelaar jmuizelaar at mozilla.com
Mon Jan 28 21:01:43 PST 2013


On 2013-01-28, at 4:28 PM, Siarhei Siamashka wrote:

> On Thu, 24 Jan 2013 15:35:24 -0500
> Jeff Muizelaar <jmuizelaar at mozilla.com> wrote:
> 
>> Having 4 or fewer bits means we can do two components at
>> a time in a single 32 bit register.
>> 
>> Here are the results for firefox-fishtank on a Pandaboard with
>> 4.6.3 and PIXMAN_DISABLE="arm-neon"
>> 
>> Before:
>> [ # ]  backend                         test   min(s) median(s) stddev. count
>> [  0]    image           t-firefox-fishtank    7.841    7.910   0.70%    6/6
>> 
>> After:
>> [ # ]  backend                         test   min(s) median(s) stddev. count
>> [  0]    image           t-firefox-fishtank    6.951    6.995   1.11%    6/6
> 
> That's pretty cool, thanks. I just wonder if you might be also possibly
> interested in a 4-bit bilinear scaling for SSE2 backend? It could
> provide quite a significant performance improvement.

Yes, definitely interested. We would ship 4-bit precision on desktop if it was noticeably faster.

-Jeff



More information about the Pixman mailing list