Hi there.
Â
It took my just about an hour to make use of my Dual Core CPU by splitting the image into two parts and let both cores filter one half of the image.
Â
Unfortunately, there are issues with HQ3x/4x ASM:
http://vba-m.com/forum/showthread.php?tid=32
Â
Â
My code is generic, so it can split the iamge into 2 threads, 4 threads, 200, whatever.
Â
In theory, there are slightly visible borders between the areas splited up, but practically, I couldn't see them.
Â
I'll post it as soon as anyone took care of the HQ filters [img]<fileStore.core_Emoticons>/emoticons/tongue.png[/img]/emoticons/tongue@2x.png 2x" width="20" height="20" />
Â
Â
Here's a small benchmark on my C2D E6300 @ 2.8 GHz:
Pokémon Crystal, World Map:
hq2x, 1 thread: 640-705%hq2x, 2 threads: 800-917%
hq2x, 4 threads: 800%
Â
Advacne Wars 2, Battle Field:
hq2x, 1 thread: 200%
hq2x, 2 threads: 250%
hq2x, 4 threads: 250%
I only have a dual-core CPU, so of course there's no speed improvement with 4 threads.
Â
Â
Â
Â
I will attach the diff-file to enable multi-threaded filtering for Direct3D, just in case someone wants to try it out and check for the HQ3x/4x filters working.