I modified the driver to switch the 640 and 480 around and video plays ok using vidix in normal vga now. Issues at the moment are the video is not overlaying the mplayer window. For some reason the overlay is rotated 90 degrees out from the mplayer window. It looks like the x and y coordinates passed to the ATI funtions have 0,0 at the lower left of the screen in landscape mode. I'm not sure what to do about that and the 640x480 issue.
I'm also unable to get hardware scaling working at the moment so full screen doesn't work. The issue with that is the internal memory for the ati w100 only handles 320x240. Using external memory for 640x480 works but the video plays 'wavey' and corrupted. I suspect something is wrong with the driver code there and would need to investigate.
qvga still doesn't work - probably the memory offsets are different for writing to the screen in that mode. More playing needed. Still it looks promising for using the ATI acceleration functions to get better performance out of the video.
Hi all
Have anyone managed to get mplayer to work with the vidix overlay driver the doublec was talking about? I gave it a shot and ended up in pretty much the same spot as descibed in his post. I patched mplayer with w100_vid.c, w100api.h and tweaked the makefile. Overlay seems to work and I guess the speed is fine but with "some" problems:
* Overlay region rotated
* No QVGA mode just 640x480
Anyone tried the AtiCore_YYY functions? I have googled everywhere and cant find any information about the api (guess its hidden from open source projects).
Is it possible to get the source for kino2, I suppose it handles the same functions (mode switch, overlay and so on).
Suggestions?
/Marcus