aboutsummaryrefslogtreecommitdiffhomepage
path: root/postproc
Commit message (Collapse)AuthorAge
* Support all 4 of ARGB/RGBA/BGRA/ABGR unscaled conversions, with moreGravatar pacman2006-03-13
| | | | | | | consistent naming of functions git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17845 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix rgb32tobgr16, rgb32to15, and rgb32tobgr15. All had the same problem thatGravatar pacman2006-02-24
| | | | | | | | was fixed in rgb32to16 about a year ago: using only the first 8 bits of the 32-bit pixel. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17671 b3059339-0415-0410-9bf9-f77b7e298cf2
* Just a comment update, replacing a FIXME to reflect the new expectation ofGravatar pacman2006-02-18
| | | | | | | how altivec_yuv2packedX is supposed to be used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17643 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't call altivec_yuv2packedX() with a dstFormat that it doesn't support;Gravatar pacman2006-02-18
| | | | | | | instead fall back on yuv2packedXinC git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17642 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix vec_clip for gcc's that don't handle (vector signed short){16} accordingGravatar pacman2006-02-17
| | | | | | | 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
* ng the fix for vCCoeffsBank patch by (Alan Curry <pacman TheWorld com>)Gravatar michael2006-02-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17633 b3059339-0415-0410-9bf9-f77b7e298cf2
* make swscale-example compile patch by (Alan Curry <pacman TheWorld com>)Gravatar michael2006-02-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17632 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove obsolete big-endian FIXMEs.Gravatar diego2006-02-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17623 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the v{Y,C}CoeffsBank vectors into the SwsContext, filling them in justGravatar diego2006-02-11
| | | | | | | | | 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
* cosmetics: indentation fixesGravatar diego2006-02-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17588 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix big-endian color permutation problems.Gravatar diego2006-02-11
| | | | | | | patch by Alan Curry, pacman_at_TheWorld_dot_com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17587 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \Gravatar rathann2006-02-09
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Correct RGB vs. BGR confusion, the macros vec_mstrgb24 and vec_mstbgr24 eachGravatar diego2006-02-09
| | | | | | | | | | 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 unconditionallyGravatar diego2006-02-08
| | | | | | | | | 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.Gravatar diego2006-02-08
| | | | | | | 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 incorrectGravatar diego2006-02-08
| | | | | | | | 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
* change sws sharpen filter a littleGravatar michael2006-02-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17531 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make clean/distclean behave uniformly in all directories.Gravatar diego2006-01-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update licensing information: The FSF changed postal address.Gravatar diego2006-01-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17368 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include paths, -I.. is in CFLAGS.Gravatar diego2005-11-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16986 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l -- mismatched type after changing sizes to type long!Gravatar rfelker2005-10-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16784 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change unsigned->signed and int->long, this fits the asm code better on 64Gravatar reimar2005-10-12
| | | | | | | | bit systems. Also fixes several crashes because (long)-i is incorrect if i is unsigned. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16740 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce unnecessary swscaler verbosity.Gravatar diego2005-09-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16405 b3059339-0415-0410-9bf9-f77b7e298cf2
* Re-enables the GCC-4 fix for AMD-64 only. Patch by cartman and poiriergGravatar gpoirier2005-07-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15973 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reverts GCC-4.0 "fixe" which broke GCC-3.3 and maybe othersGravatar gpoirier2005-06-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15859 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another REG_d -> REG_D fix.Gravatar reimar2005-06-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15846 b3059339-0415-0410-9bf9-f77b7e298cf2
* width % 16 != 0 workaround by (Nicolas Plourde: nicolas plourde, gmail com>)Gravatar michael2005-06-27
| | | | | | | | | | | cleanup by me indention fixed second one must be yv12touyvy instead of yv12toyuy2 replace slow modulo by bitwise and move %16!=0 code before the comment saying the code cant handle %16!=0 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15825 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixes GCC4 fix by using "g" instead of "mp" as some compilers misscompileGravatar gpoirier2005-06-24
| | | | | | | that code othewisei (leading to segfaults). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15814 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l. Previous GCC4 commit broke compilation with gcc-3.4 and maybe others ia-32Gravatar gpoirier2005-06-19
| | | | | | | tested with gcc-2.95, 3.3, 3.4, 4.0 on ia-32 and 3.4, 4.0, 3.3 on amd64 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15763 b3059339-0415-0410-9bf9-f77b7e298cf2
* GCC-4 fix for AMD-64Gravatar gpoirier2005-06-18
| | | | | | | Warning: high cola-affinity here) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15750 b3059339-0415-0410-9bf9-f77b7e298cf2
* one bugfix and a few gcc4 bug workaorunds by (Gianluigi Tiesi: mplayer, ↵Gravatar michael2005-06-02
| | | | | | netfarm it) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15618 b3059339-0415-0410-9bf9-f77b7e298cf2
* Should fix altivec detection for g3 system.Gravatar nplourde2005-05-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15524 b3059339-0415-0410-9bf9-f77b7e298cf2
* unused defineGravatar alex2005-04-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15296 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix palette8tobgr32/palette8torgb32 on big endianGravatar nplourde2005-04-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15278 b3059339-0415-0410-9bf9-f77b7e298cf2
* check for negative strides before memcpyGravatar henry2005-04-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15250 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for both orderings of the slices (top->down / bottom->up)Gravatar henry2005-04-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15249 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixes rgb32to16 conversion for I think all platforms since the int8Gravatar diego2005-03-22
| | | | | | | | | cast should never have worked. Tested on PowerPC and fixes the black GUI to show the content. patch by Rene Rebe <rene at exactcode dot de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14983 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, forgot to change an ifdef on last commitGravatar reimar2005-02-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14784 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix for MAP_ANON vs. MAP_ANONYMOUS fix...Gravatar reimar2005-02-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14762 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved NV12/NV21 support.Gravatar syrjala2005-02-16
| | | | | | | | | | | - Fixed PlanarToNV12Wrapper() and made it handle NV21. - Added yuv2nv12XinC() to handle software scaling. - Added NV12/NV21 handling to various places. - Removed NV12 from vf_hue and vf_spp as they don't look like they can actually handle it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14716 b3059339-0415-0410-9bf9-f77b7e298cf2
* FreeBSD fixGravatar nexus2005-02-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14699 b3059339-0415-0410-9bf9-f77b7e298cf2
* Compile fix on non-x86Gravatar reimar2005-02-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14631 b3059339-0415-0410-9bf9-f77b7e298cf2
* makes funnyCode pages executable (for CPU with NX bit)Gravatar aurel2005-01-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14626 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix few x86_64 registers handlingGravatar aurel2005-01-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14557 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, fix broken AMD64 patch. To whoever applied it: Did you actually _try_Gravatar reimar2005-01-19
| | | | | | | to check if it's correct?? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14537 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000l : fix a crash on x86 due to an horrible mistake in my x86_64 patchGravatar aurel2004-10-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13734 b3059339-0415-0410-9bf9-f77b7e298cf2
* adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64Gravatar aurel2004-10-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13721 b3059339-0415-0410-9bf9-f77b7e298cf2
* postproc/yuv2rgb_altivec.c compile fixGravatar michael2004-10-05
| | | | | | | | | 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
* lot of bigendian fixesGravatar alex2004-09-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13424 b3059339-0415-0410-9bf9-f77b7e298cf2
* passing an array or double precission parameters for the scaling function, ↵Gravatar michael2004-09-18
| | | | | | | | | instead of missusing a few bits of the flags fixing the naming of the scaling functions a little git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13374 b3059339-0415-0410-9bf9-f77b7e298cf2