Mercurial > mplayer.hg
diff postproc/swscale_template.c @ 12130:2ef24558b732
AltiVec hScale, all size patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
author | michael |
---|---|
date | Tue, 06 Apr 2004 00:25:47 +0000 |
parents | 21e5cb258a95 |
children | d2aef091743c |
line wrap: on
line diff
--- a/postproc/swscale_template.c Tue Apr 06 00:04:48 2004 +0000 +++ b/postproc/swscale_template.c Tue Apr 06 00:25:47 2004 +0000 @@ -2154,6 +2154,9 @@ ); } #else +#ifdef HAVE_ALTIVEC + hScale_altivec_real(dst, dstW, src, srcW, xInc, filter, filterPos, filterSize); +#else int i; for(i=0; i<dstW; i++) { @@ -2171,6 +2174,7 @@ // dst[i] = val>>7; } #endif +#endif } // *** horizontal scale Y line to temp buffer static inline void RENAME(hyscale)(uint16_t *dst, int dstWidth, uint8_t *src, int srcW, int xInc,