Archive: AVS Evallib changes


19th November 2003 19:27 UTC

AVS Evallib changes
Justin apparently went on a little coding spree last night and added the following things to the AVS evallib:

- The avs compiler now builds/compiles the code directly, so almost no jumps/function calls are used anymore.

- if(x,y,z) no longer evaluates both y and z, but only the relevant one

- A new function invsqrt(x), which approximates 1/sqrt(x) very fast. It's more than accurate enough for most applications. Useful for vector normalization and stuff.

If you're curious what this means...
Before: Neon Coaster @ 30fps
After: Neon Coaster @ >100fps

Basically any preset in which speed is determined by code rather than graphical operations will go much faster.

Will be available in a day or two ;).


19th November 2003 19:55 UTC

omfg - that's awesome. yay for speeds.


19th November 2003 23:36 UTC

Fucking nice work Justin! :up:


20th November 2003 00:38 UTC

Proves once again that Justin is a god sent from some other dimension...


20th November 2003 07:32 UTC

Fantastic! Now if I only knew how to use it to its true potential. :)


20th November 2003 09:49 UTC

i can think of a few presets right away that will benifit enourmously.

Though i dont think ive ever needed 1/sqrt(x) more that once in a preset.


20th November 2003 10:35 UTC

My "dooms day" visions are a bit off? :rolleyes:


20th November 2003 11:48 UTC

does this mean that now, giveing per point data is fastest with nested ifs?


20th November 2003 16:55 UTC

This is now avaibale now apparanetly in Winamp5 rc or something

------------
Winamp 5.0rc8 11/19/03:
* modern skin updates
- fixed config menu radiobuttons turning off when clicked again
- fixed unreadable selected list item text color in 2 gamma groups
- fixed theme list using slightly different colors than ml lists
- fixed taskbar move syscommand bringing up wa2 main window
* updated avs, faster evallib. makes eval heavy presets superfaster.
* made cd ripping unlock drive and cleanup on exit in middle of rip

Winamp 5.0rc7 11/18/03:
* fixed metrics dialog parenting
* fixed avs Nbuffer stuff, exposed Nbuffers via API (woo hope no more crashy)
* fixed avs memory leak

Winamp 5.0rc6 11/18/03:
* fixed gen_ml view restoring when "do not load library at startup" checked
* fixed another avs dmove bug

Winamp 5.0rc5 11/18/03:
* made reginfo stored in the registry instead of winamp.ini
* added Ctrl+H to keyboard shortcut list in about

Winamp 5.0rc4 11/18/03:
* fixed drag&drop to main window when AVS is docked
* more advanced title logic tweaks
* fixed error in keyboard shortcuts list in about box

Winamp 5.0rc3 11/18/03:
* updated hotkeys to be tabable
* updated advanced title logic to fix a few issues
* fixed issue when modern skin or gen_ff not found
* fixed modern skin about box when in classic skins
* updated to latest AOD (complete with good uninstall support)
---------------------------
All download details

http://forums.winamp.com/showthread....hreadid=156831


20th November 2003 16:56 UTC

Incendently I cannot beleive

---
if(x,y,z) no longer evaluates both y and z, but only the relevant one------

was writen 'wrong' in teh first place. :confused:


20th November 2003 17:06 UTC

Neon Coaster is sweet now on my computer - just threw it into fullscreen at 1024x768 and was getting 60FPS. That was awesome.


20th November 2003 17:07 UTC

I look forward to testing this when I have a chance. :)


20th November 2003 18:53 UTC

All hail the mighty Justin!


20th November 2003 22:55 UTC

mmmm....fps....:p


21st November 2003 00:31 UTC

that is "superfaster"


21st November 2003 11:01 UTC

I still hope we will have arrays and vectors :(


21st November 2003 11:28 UTC

[music]
Justin is okay olé, olé
Justin is okay olé, olé
Justin is okay olé, olé etc.
[/music]

you rule