OSDN Git Service

ppc: swscale: rework yuv2planeX_altivec()
authorMans Rullgard <mans@mansr.com>
Thu, 4 Oct 2012 16:30:34 +0000 (17:30 +0100)
committerMans Rullgard <mans@mansr.com>
Fri, 5 Oct 2012 21:33:32 +0000 (22:33 +0100)
commit07eb7e20af63a244d9e1813626fac38a84e8c869
treeb83758778ef483137dac80981d1333083279078b
parent642b4efaf7b3055ab4b26bda252149eb35babc4b
ppc: swscale: rework yuv2planeX_altivec()

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 <mans@mansr.com>
libswscale/ppc/swscale_altivec.c