Add fast path scaled, bilinear fetcher.
authorAndré Tupinambá <andrelrt@gmail.com>
Sun, 20 Sep 2009 03:01:50 +0000 (23:01 -0400)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Mon, 26 Oct 2009 17:04:21 +0000 (13:04 -0400)
commit0d5562747ce25ecac06f4c44e935662eb6ee328a
treea78d61d60e94d77aa959523ff1c642d0daf6d2b1
parent88323c5abe68906472049537b54b0e7eea343f43
Add fast path scaled, bilinear fetcher.

This adds a bilinear fetcher for the case where the image has a scaled
transformation, does not repeat, and the format {ax}8r8g8b8.

Results for the swfdec-youtube benchmark

Before:

[ # ]  backend                         test   min(s) median(s) stddev. count
[  0]    image               swfdec-youtube    7.841    7.915   0.72%    6/6

After:

[ # ]  backend                         test   min(s) median(s) stddev. count
[  0]    image               swfdec-youtube    6.677    6.780   0.94%    6/6

These results were measured on a faster machine than the ones in the
previous commit, so the numbers are not comparable.

Signed-off-by: Søren Sandmann Pedersen <sandmann@redhat.com>
pixman/pixman-bits-image.c
pixman/pixman.h