31
Zaurus - pdaXrom / Playing video in 320x240 fullscreen
« on: April 20, 2004, 06:19:17 pm »
Thanks for the tip, I\'ll do it. I\'ve found out that the width and height in the w100 vidix driver are sent to 480 and 640 respectively. But mplayer is comparing this to the X width and height which is 640 and 480. Because of the difference the vidix driver is failing. If I rotate the screen to portrait mode and run the xvidix or console vidix then the video plays using the direct access to the video memory.
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.
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.