xv picture offset on RS690

Johannes Deisenhofer jo.deisenhofer at googlemail.com
Wed May 13 03:58:30 PDT 2009


Hi,

i think I have identified a problem with 6.12.2 on a RS690 Chipset:
When doing XvPutImage (via textured video) with a src offset !=0
(src_x or src_y), the driver does the wrong thing compared to all other
cards and drivers I have seen:

The picture is then shifted to down and right, with invalid framebuffer
data filling the left and upper part of the screen.

For my card, I can fix this behaviour with the following patch. This
isn't a proper patch yet, but should illustrate what needs to be
changed: The offset need not be applied to the dst address, just the
source.
Don't know if this breaks other cards - it probably does.

Johannes Deisenhofer




-------------- next part --------------
A non-text attachment was scrubbed...
Name: xvpatch.diff
Type: text/x-patch
Size: 2106 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-driver-ati/attachments/20090513/9a555e04/attachment-0001.bin 


More information about the xorg-driver-ati mailing list