[libav-devel] [PATCH 3/4] 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 m...@mansr.com

Re: [libav-devel] [PATCH 3/4] ppc: swscale: rework yuv2planeX_altivec()

2012-10-04 Thread Derek Buitenhuis
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

Re: [libav-devel] [PATCH 3/4] ppc: swscale: rework yuv2planeX_altivec()

2012-10-04 Thread Måns Rullgård
Derek Buitenhuis derek.buitenh...@gmail.com writes: 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

Re: [libav-devel] [PATCH 3/4] ppc: swscale: rework yuv2planeX_altivec()

2012-10-04 Thread Luca Barbato
On 10/04/2012 07:38 PM, Måns Rullgård wrote: Derek Buitenhuis derek.buitenh...@gmail.com writes: 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