Archive: Overlay Blending


23rd January 2006 14:45 UTC

Overlay Blending
I really like AVS and I wish I could watch it while working in Word. The Overlay mode works well towards this end - however - it frequently changes the background color too much. What I would like is that the overlay image consist of a blend of the original color and the AVS image. This way I can retain a mostly white background on my Word document and still see a "bleached out" AVS visualization. [In some sense this visual effect can be achieved using alpha blending - however, stretching the AVS window over my screen makes the mouse useless.]

Implementing this would require a new slider under AVS->Settings->Display and a minimal amount of color blending code. (I would like to blend with the overlay color - maybe others would prefer to blend with another color - which would require another color selector.)

Thanks for all your great work,

Zipf


24th January 2006 08:00 UTC

Re: Overlay Blending

Originally posted by Zipf
Implementing this would require a new slider under AVS->Settings->Display and a minimal amount of color blending code. (I would like to blend with the overlay color - maybe others would prefer to blend with another color - which would require another color selector.)
Afaik overlay uses some specific accelerated feature to do that color replacement, and generally blending it would actually be non trivial as you dont have access to some global on screen buffer, or anything else which makes it particularly possible to implement this without major code effort.

Although there is one quick fix for additive blending with the overlay color, which is to simply add it to every pixel in the framebuffer as a final stage before render if overlay is enabled.

Nice idea tho I doubt it will ever be implemented... if its so simple, d/l the code and do it yourself, no?

25th January 2006 02:08 UTC

I feel silly for asking.. where is the code repository?


25th January 2006 13:58 UTC

you should feel silly. look for it with search next time...

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