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

Luca Barbato lu_zero
Sat Feb 14 16:55:57 CET 2009


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).
> 
> 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.

ok for the altivec part.

lu

-- 

Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero





More information about the ffmpeg-devel mailing list