[FFmpeg-devel] [PATCH] Fix bitexact SwScale on PPC

Kostya kostya.shishkov
Sat Feb 14 18:48:30 CET 2009


On Sat, Feb 14, 2009 at 04:14:34PM +0100, Michael Niedermayer wrote:
> On Sat, Feb 14, 2009 at 05:23:02PM +0200, Kostya wrote:
> > This is needed to make regression test pass on PPC.
> 
> > First patch avoids calling AltiVec'ed functions that produce different results
> > from C implementation (maybe just for the reference until someone fixes that
> > stuff).
> 
> ok
> 
> 
> > 
> > The second patch changes hScale_altivec_real() to output filter results in the
> > same manner as C code does (i.e. without negative values clipped). I suspect
> > MMX version of hScale() with its "packssdw" does the same thing as C code too.
> 
> not maintained by me

Applied.
As a side effect regression tests are passed again on PPC.
 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB




More information about the ffmpeg-devel mailing list