ARM: NEON: source image pixel fetcher can be overrided now
authorSiarhei Siamashka <siarhei.siamashka@nokia.com>
Mon, 1 Nov 2010 03:10:34 +0000 (05:10 +0200)
committerSiarhei Siamashka <siarhei.siamashka@nokia.com>
Wed, 10 Nov 2010 15:25:33 +0000 (17:25 +0200)
commit324712e48cf04df3cfcfc463fb221fcdf96e020a
tree10f7a26ca19fc1ad14d636c19abba8f7ce6bed03
parentcb3f1830257a56f56abf7d50a8b34e215c616aec
ARM: NEON: source image pixel fetcher can be overrided now

Added a special macro 'pixld_src' which is now responsible for fetching
pixels from the source image. Right now it just passes all its arguments
directly to 'pixld' macro, but it can be used in the future to provide
a special pixel fetcher for implementing nearest scaling.

The 'pixld_src' has a lot of arguments which define its behavior. But
for each particular fast path implementation, we already know NEON
registers allocation and how many pixels are processed in a single block.
That's why a higher level macro 'fetch_src_pixblock' is also introduced
(it's easier to use because it has no arguments) and used everywhere
in 'pixman-arm-neon-asm.S' instead of VLD instructions.

This patch does not introduce any functional changes and the resulting code
in the compiled object file is exactly the same.
pixman/pixman-arm-neon-asm.S
pixman/pixman-arm-neon-asm.h