Nearest scaling fast path macro split into two parts
authorSiarhei Siamashka <siarhei.siamashka@nokia.com>
Thu, 16 Sep 2010 10:02:18 +0000 (13:02 +0300)
committerSiarhei Siamashka <siarhei.siamashka@nokia.com>
Tue, 21 Sep 2010 10:29:55 +0000 (13:29 +0300)
commite9b0740af76853f58df72cd40cd7cb4e2ac7261b
treef58f023dfad50a3cecc0d00d95650d56277ac6e8
parent066ce191a6d3bb970b5024c070193cac4c130418
Nearest scaling fast path macro split into two parts

Scanline processing is now split into a separate function. This provides
an easy way of overriding it with a platform specific implementation,
which may use SIMD optimizations. Only basic C data types are used as
the arguments for this function, so it may be implemented entirely in
assembly or be generated by some JIT engine.

Also as a result of this split, the complexity of code is reduced a
bit and now it should be easier to introduce support for the currently
missing NONE, PAD and REFLECT repeat types.
pixman/pixman-fast-path.h