xf86-video-savage: fix arbitrary horizontal downscaling of XVideo

Alex Villací­s Lasso a_villacis at palosanto.com
Thu Feb 28 14:48:54 PST 2008


Current git of xf86-video-savage has problems with downscaling an XVideo 
overlay horizontally - it will get stuck at a particular resize past 2:1 
downscale. This patch allows the driver to use the register that directs 
power-of-two downscale (MM8190) and arbitrary fractional downscale in 
1:1 to 2:1 range (MM8198) in order to implement arbitrary downscaling 
down to 64:1.

Changelog:
* Fix arbitrary downscale for xvideo in old savage stream engine.

-- 
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-broken-downscale-past-2-1-MM8190-and-MM8198-ca.patch
Type: text/x-patch
Size: 2035 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080228/9eb60817/attachment.bin>


More information about the xorg mailing list