Re: [libav-devel] [PATCH v2] ppc: swscale: rework yuv2planeX_altivec()

2012-10-05 Thread Luca Barbato
On 10/04/2012 08:55 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 shif

[libav-devel] [PATCH v2] ppc: swscale: rework yuv2planeX_altivec()

2012-10-04 Thread Mans Rullgard
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 --- Now works wi