PDA

View Full Version : Small amount of assistence for assember needed


sh0dan
28th February 2002, 14:40
Hi folks!

I've been working on MMX-optimizations of my Smart Smoother HiQ filter for Virtual Dub. I have converted the algorithm to MMX to the best of my abilities, and commented i extensively. However, since I haven't coded assembler since my c64 and Amiga days, I still miss some basic things.
All of the MMX code should be ok, but I still need assistance in doing loops, accessing registers and passing method parameters to the assembler part. Basicly my knowledge goes to the MMX-parts and nothing more. I've tried making the non-MMX part as simple as possible and a trained assembler user should be able to do the work in a couple of hours.

You can get the modified source with commented out assembler part at:
main.cpp (http://interact03-server.novi.dk/pub/kpo/main.cpp)

The rest of the package can be found at Donald Graft's filter page (http://sauron.mordor.net/dgraft/).

Contact me here or at kp@interact.dk

-h
3rd March 2002, 03:15
You might want to have a look at the XviD sources, particularly the core tree - it uses NASM for the asm (much neater) and has many instances of passing parameters, loops, etc.

-h