summaryrefslogtreecommitdiffstats
path: root/postproc/yuv2rgb_altivec.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some bugs handling input that is not aligned at 16 bytes or haspacman2006-04-271-5/+11
| | | | | | | stride!=width. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18323 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support all 4 of ARGB/RGBA/BGRA/ABGR unscaled conversions, with morepacman2006-03-131-12/+16
| | | | | | | consistent naming of functions git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17845 b3059339-0415-0410-9bf9-f77b7e298cf2
* Just a comment update, replacing a FIXME to reflect the new expectation ofpacman2006-02-181-1/+2
| | | | | | | how altivec_yuv2packedX is supposed to be used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17643 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix vec_clip for gcc's that don't handle (vector signed short){16} accordingpacman2006-02-171-16/+14
| | | | | | | to spec; also convert a few vec_splat's to vec_splat_{s,u}* git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17639 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the v{Y,C}CoeffsBank vectors into the SwsContext, filling them in justdiego2006-02-111-26/+2
| | | | | | | | | once when the scaler is initialized, instead of building them and freeing them over and over. This gives massive performance improvements. patch by Alan Curry, pacman*at*TheWorld*dot*com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17589 b3059339-0415-0410-9bf9-f77b7e298cf2
* Correct RGB vs. BGR confusion, the macros vec_mstrgb24 and vec_mstbgr24 eachdiego2006-02-091-3/+3
| | | | | | | | | | do the opposite of what they say. The vec_mstrgb24 and vec_mstbgr24 macros should be opposites and not perform the same things. patch by Alan Curry, pacman_at_world_dot_std_dot_com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17564 b3059339-0415-0410-9bf9-f77b7e298cf2
* altivec_yuv2packedX() ignores the requested output format and unconditionallydiego2006-02-081-2/+32
| | | | | | | | | outputs RGBA. This patch supports 6 output formats and prints an error message if it is asked to provide an output format it is not capable of. patch by Alan Curry, pacman_at_world_dot_std_dot_com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17561 b3059339-0415-0410-9bf9-f77b7e298cf2
* AltiVec operations need to have memory aligned on 16-byte boundaries.diego2006-02-081-2/+5
| | | | | | | patch by Alan Curry, pacman at world dot std dot com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17559 b3059339-0415-0410-9bf9-f77b7e298cf2
* vYCoeffsBank and vCCoeffsBank are allocated and initialized using incorrectdiego2006-02-081-4/+4
| | | | | | | | sizes based on the image width instead of height. patch by Alan Curry, pacman at world dot std dot com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17558 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include paths, -I.. is in CFLAGS.diego2005-11-141-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16986 b3059339-0415-0410-9bf9-f77b7e298cf2
* postproc/yuv2rgb_altivec.c compile fixmichael2004-10-051-95/+231
| | | | | | | | | yuv2rgb_altivec_init_tables does initialize the SwsContext vectors. missing vec_splat. patch by (Luca Barbato <lu_zero at gentoo dot org>) and (Romain Dolbeau <dolbeau at irisa dot fr>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13565 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplify the initalex2004-07-171-45/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12838 b3059339-0415-0410-9bf9-f77b7e298cf2
* some fixesalex2004-07-171-14/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12837 b3059339-0415-0410-9bf9-f77b7e298cf2
* altivec yuv->rgb convertermichael2004-06-271-0/+836
orginal patch by (Marc Hoffman <mmh at pleasantst dot com>) critical fixes by (Reza Jelveh <reza.jelveh at tu-harburg dot de>) known bugs/issues, which should be fixed ASAP by someone who has a ppc: 0..255 vs. 16..235 unneeded recalculation of tables general cleaup, like removing double initalizing of variables git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12699 b3059339-0415-0410-9bf9-f77b7e298cf2