[MPlayer-dev-eng] [PATCH] altivec unscaled planar YV12 to packed YUY2 conversion.

Michael Niedermayer michaelni at gmx.at
Sat Jun 25 18:41:59 CEST 2005


Hi

On Saturday 25 June 2005 18:08, Nicolas Plourde wrote:
> On 25-Jun-05, at 11:39 AM, Michael Niedermayer wrote:
> > Hi
> >
> > On Saturday 25 June 2005 16:51, Nicolas Plourde wrote:
> >> Here is a fix for yv12 to yuy2 altivec conversion. I dont know
> >> anything about altivec
> >> and csp conversion so I did not try to fix the altivec code. the
> >> problem is that the altivec code
> >> expect the width to be multiple of 16, when its not the image get
> >> distorted so my patch
> >> fall back to default converter if its the case.
> >>
> >> its probably not the best solution but fix the problem until a better
> >> fix to the altivec code is
> >> submitted.
> >
> > iam against such workarounds, you shouldnt need to know much about
> > altivec to
> > add some c code to handle the last 0-15 pixels
>
> Oh and btw, I wonder who commited the half working code???


i did probably, and i would fix it if i had a ppc

[...]
-- 
Michael




More information about the MPlayer-dev-eng mailing list