Xv: fixup XvMC on i915 stuff/unbreak-xvmc-for-945
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 15 Jan 2010 10:38:12 +0000 (11:38 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 15 Jan 2010 11:57:17 +0000 (12:57 +0100)
commit5c1123a9699c1182145bad4497d1f22881c95868
tree3473e7f652c4977cd1ab030aad8e50650e526926
parent338f5a91a64e5ff51d7b685ac51fe424a78c8f02
Xv: fixup XvMC on i915

I've accidentally broken i915 xvmc due to alignment constrains that
break my assumption that Y-pitch == UV-pitch*2. Fix this up by consistenly
using dstPitch2 for the Y-pitch. This also unifies the dst pitch
computation slightly, now that the i915 xvmc special case is gone.

Bugzilla: http://bugs.freedesktop.org/show_bug.cgi?id=25949

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/i830_video.c