[PATCH xf86-video-glint] No need for byteswapping in YV12 decoding on BE machines

Mark Kettenis mark.kettenis at xs4all.nl
Wed Dec 8 00:57:13 PST 2010


> From: Matt Turner <mattst88 at gmail.com>
> Date: Tue, 7 Dec 2010 23:20:44 +0000
> 
> On Tue, Dec 7, 2010 at 8:07 PM, Mark Kettenis <mark.kettenis at xs4all.nl> wrote:
> > No need for byteswapping in YV12 decoding on BE machines
> >
> > The hardware seems to do the proper thing already, so always use the same
> > code on both little-endian and big-endian machines.  Fixes xv YV12 on a
> > TechSource Raptor GFX aka Sun PGX32.
> >
> > Signed-off-by: Mark Kettenis <kettenis at openbsd.org>
> 
> Nice! Good catch.
> 
> I suppose this fixes the problem you discovered in the other thread?

Indeed.

> I'll commit this.

Thanks, although I can do that myself if that's easier.



More information about the xorg-devel mailing list