On 04/10/2012 12:43 PM, Mans Rullgard wrote: > This gets rid of the variable-length scratch buffer by filtering 16 > pixels at a time and writing directly to the destination. The extra > loads this requires to load the source values are compensated by not > doing a round-trip to memory before shifting. > > Signed-off-by: Mans Rullgard <m...@mansr.com> > --- > libswscale/ppc/swscale_altivec.c | 154 > +++++++++++++++++---------------------- > 1 file changed, 65 insertions(+), 89 deletions(-)
>From my (very) limited knowledge of AltiVec, I -think- this looks OK. I assume you've run this through FATE on PPC. - Derek _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel