[MPlayer-dev-eng] [PATCH] more swscale altivec fixes

Michael Niedermayer michaelni at gmx.at
Tue Apr 25 02:41:23 CEST 2006


Hi

On Mon, Apr 24, 2006 at 03:29:15PM -0400, Alan Curry wrote:
> Rich Felker writes the following:
> >
> >Scale must accept unaligned input. Consider the case where the input
> >comes from vf_crop or similar...
> >
> 
> Looking at vf_crop makes it all clear.
> 
> swscale, my old nemesis, how many more bugs have you?

swscale_altivec ...



> 
> At least 3 more. There are 2 cases of assuming stride==width and 1 case of
> expecting the Y plane to be aligned at 16 bytes. They're independent bugs,
> but they all appear in the DEFCSP420_CVT macro which defines the functions
> altivec_yuv2_{argb,bgra,rgb24,...}.

do we have a swscale-altivec maintainer? if no, then apply it, but with
special case(s) for the correctly aligned case so that the code isnt slowed
down

[...]
-- 
Michael

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the MPlayer-dev-eng mailing list