From: Duilio J. P. <dp...@fc...> - 2004-09-22 03:37:13
|
Here I send you attached the patchs of my bilinear filter prototype. Much improvements could be done, and of course visual_video_bilinear_filter() must not be exposed on the API, but a visual_video_filter() or something like that instead. I also include an example program derived from simplesdl that takes the same parameters (and also gdkpixbuf plugin + filename to load), loads the plugin, and when you press 'b', it stop rendering, and resize the screen to [width+100,height+100], and shows the filtered screenbuffer. Try something like ./filtersample gdkpixbuf 32 esd {some_path}/libvisual-xmms-vis.xpm and then press b. The image have a little noise for now, and only works with depths 24/32. Bye, Duilio. |