1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
Commit Graph

14 Commits

Author SHA1 Message Date
Alan Curry
9c445fbe7a Fix some bugs handling input that is not aligned at 16 bytes or has
stride!=width.

Originally committed as revision 18323 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-04-27 21:42:41 +00:00
Alan Curry
340ea251c9 Support all 4 of ARGB/RGBA/BGRA/ABGR unscaled conversions, with more
consistent naming of functions

Originally committed as revision 17845 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-03-13 03:46:25 +00:00
Alan Curry
cd92221a8d Just a comment update, replacing a FIXME to reflect the new expectation of
how altivec_yuv2packedX is supposed to be used

Originally committed as revision 17643 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-18 01:08:17 +00:00
Alan Curry
cbddd5dfc6 Fix vec_clip for gcc's that don't handle (vector signed short){16} according
to spec; also convert a few vec_splat's to vec_splat_{s,u}*

Originally committed as revision 17639 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-17 05:01:46 +00:00
Alan Curry
d33d485e83 Move the v{Y,C}CoeffsBank vectors into the SwsContext, filling them in just
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

Originally committed as revision 17589 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-11 14:16:10 +00:00
Alan Curry
7d20ebffdf Correct RGB vs. BGR confusion, the macros vec_mstrgb24 and vec_mstbgr24 each
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

Originally committed as revision 17564 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-09 00:29:35 +00:00
Alan Curry
3845b56dd1 altivec_yuv2packedX() ignores the requested output format and unconditionally
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

Originally committed as revision 17561 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-08 13:14:19 +00:00
Alan Curry
5edb653bca AltiVec operations need to have memory aligned on 16-byte boundaries.
patch by Alan Curry, pacman at world dot std dot com

Originally committed as revision 17559 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-08 08:20:40 +00:00
Alan Curry
be9d060d0c vYCoeffsBank and vCCoeffsBank are allocated and initialized using incorrect
sizes based on the image width instead of height.
patch by Alan Curry, pacman at world dot std dot com

Originally committed as revision 17558 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-08 08:16:53 +00:00
Diego Biurrun
b2d374c958 Unify include paths, -I.. is in CFLAGS.
Originally committed as revision 16986 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-11-14 00:30:37 +00:00
Luca Barbato
582552fb56 postproc/yuv2rgb_altivec.c compile fix
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>)

Originally committed as revision 13565 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-10-05 19:11:00 +00:00
Alex Beregszaszi
95d45b1e64 simplify the init
Originally committed as revision 12838 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-07-17 08:53:20 +00:00
Alex Beregszaszi
84fdd6421f some fixes
Originally committed as revision 12837 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-07-17 07:01:15 +00:00
Michael Niedermayer
a31de95620 altivec yuv->rgb converter
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

Originally committed as revision 12699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-06-27 00:07:15 +00:00