Skip to content
Forum Archive

AVS Evallib changes

17 posts

UnConeD#

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 😉.
sidd#
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.
Rovastar#
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

What is Winamp? Why is Winamp? How is Winamp? All these burning questions and issues discussed within.
Rovastar#
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. 😕
anubis2003#
Neon Coaster is sweet now on my computer - just threw it into fullscreen at 1024x768 and was getting 60FPS. That was awesome.
Warrior of the Light#
[music]
Justin is okay olé, olé
Justin is okay olé, olé
Justin is okay olé, olé etc.
[/music]

you rule