summaryrefslogtreecommitdiffstats
path: root/postproc
Commit message (Collapse)AuthorAgeFilesLines
* fix variable type used via "m" asm constraint to match size used in asm.reimar2006-06-051-6/+6
| | | | | | | fixes crashes on AMD64. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18576 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove now obsolete .cvsignore files.diego2006-06-021-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
* change the type of esp in SwsContext to uint64_t so it can hold a full registerreimar2006-05-071-3/+3
| | | | | | | also on 64 bit systems. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18401 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing esp usagemichael2006-05-061-127/+142
| | | | | | | | this is certainly not the most beautifull but it should work without -fomit-frame-pointer and PIC and gcc-4 vomits when ebp is given in a constraint directly even with -fomi-frame-pointer so theres not that much choice ... if anyone knows a simpler/cleaner solution, dont hesitate to suggest it ... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18393 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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
* 10l in rgb2rgb_template.ciive2006-04-161-2/+2
| | | | | | | patch by Erik Auerswald <auerswal at unix-ag uni-kl de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18111 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for intel mac. mp3lib is not fixed yet.nplourde2006-04-152-31/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18105 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reorganize vector constants to work around gcc 4.1 bug:pacman2006-04-061-4/+3
| | | | | | | | | | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27006 This bug caused certain movies (444P or RGB/BGR-based) to become brighter and more purple when played on a YV12 vo. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18047 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
* Fix rgb32tobgr16, rgb32to15, and rgb32tobgr15. All had the same problem thatpacman2006-02-241-6/+6
| | | | | | | | 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 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
* don't call altivec_yuv2packedX() with a dstFormat that it doesn't support;pacman2006-02-181-7/+12
| | | | | | | 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} 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
* ng the fix for vCCoeffsBank patch by (Alan Curry <pacman TheWorld com>)michael2006-02-161-2/+2
| | | | 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>)michael2006-02-161-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17632 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove obsolete big-endian FIXMEs.diego2006-02-131-6/+0
| | | | 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 justdiego2006-02-113-26/+28
| | | | | | | | | 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 fixesdiego2006-02-111-47/+47
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17588 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix big-endian color permutation problems.diego2006-02-112-11/+46
| | | | | | | 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 \rathann2006-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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 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-082-5/+10
| | | | | | | 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
* change sws sharpen filter a littlemichael2006-02-041-29/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17531 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make clean/distclean behave uniformly in all directories.diego2006-01-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update licensing information: The FSF changed postal address.diego2006-01-137-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17368 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include paths, -I.. is in CFLAGS.diego2005-11-148-20/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16986 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l -- mismatched type after changing sizes to type long!rfelker2005-10-171-1/+1
| | | | 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 64reimar2005-10-124-236/+237
| | | | | | | | 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.diego2005-09-061-1/+1
| | | | 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 poirierggpoirier2005-07-121-0/+6
| | | | 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 othersgpoirier2005-06-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15859 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another REG_d -> REG_D fix.reimar2005-06-281-1/+1
| | | | 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>)michael2005-06-271-0/+10
| | | | | | | | | | | 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 misscompilegpoirier2005-06-241-1/+1
| | | | | | | 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-32gpoirier2005-06-191-1/+1
| | | | | | | 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-64gpoirier2005-06-181-4/+4
| | | | | | | 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, ↵michael2005-06-021-3/+8
| | | | | | netfarm it) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15618 b3059339-0415-0410-9bf9-f77b7e298cf2
* Should fix altivec detection for g3 system.nplourde2005-05-201-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15524 b3059339-0415-0410-9bf9-f77b7e298cf2
* unused definealex2005-04-291-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15296 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix palette8tobgr32/palette8torgb32 on big endiannplourde2005-04-271-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15278 b3059339-0415-0410-9bf9-f77b7e298cf2
* check for negative strides before memcpyhenry2005-04-241-4/+4
| | | | 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)henry2005-04-242-4/+29
| | | | 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 int8diego2005-03-221-4/+2
| | | | | | | | | 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 commitreimar2005-02-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14784 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix for MAP_ANON vs. MAP_ANONYMOUS fix...reimar2005-02-221-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14762 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved NV12/NV21 support.syrjala2005-02-162-6/+97
| | | | | | | | | | | - 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 fixnexus2005-02-141-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14699 b3059339-0415-0410-9bf9-f77b7e298cf2
* Compile fix on non-x86reimar2005-02-011-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14631 b3059339-0415-0410-9bf9-f77b7e298cf2
* makes funnyCode pages executable (for CPU with NX bit)aurel2005-01-312-2/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14626 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix few x86_64 registers handlingaurel2005-01-212-6/+34
| | | | 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_reimar2005-01-191-2/+2
| | | | | | | 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 patchaurel2004-10-221-6/+6
| | | | 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_64aurel2004-10-217-672/+683
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13721 b3059339-0415-0410-9bf9-f77b7e298cf2
* postproc/yuv2rgb_altivec.c compile fixmichael2004-10-053-96/+238
| | | | | | | | | 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 fixesalex2004-09-211-0/+34
| | | | 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, ↵michael2004-09-183-20/+27
| | | | | | | | | 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
* width instead of chromWidth causing segfault in some casesreimar2004-08-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12994 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix altivec.h inclusion (vector keyword in structure)alex2004-07-172-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12839 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 unscaled YV12 -> packed YUV patch by (Romain Dolbeau <dolbeau at ↵michael2004-07-062-0/+159
| | | | | | irisa dot fr>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12769 b3059339-0415-0410-9bf9-f77b7e298cf2
* altivec yuv->rgb convertermichael2004-06-277-2/+878
| | | | | | | | | | | | | 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
* bigendian fixalex2004-06-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12658 b3059339-0415-0410-9bf9-f77b7e298cf2
* ranlib cleanup by Dan Christiansenalex2004-06-241-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12633 b3059339-0415-0410-9bf9-f77b7e298cf2
* small linux/altivec compile fix in postproc/ by (Romain Dolbeau <dolbeau at ↵michael2004-06-041-8/+6
| | | | | | irisa dot fr>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12533 b3059339-0415-0410-9bf9-f77b7e298cf2
* bigendian fix by (Romain Dolbeau <dolbeau at irisa dot fr>)michael2004-05-021-0/+10
| | | | | | | with #if defined(WORDS_BIGENDIAN) && (WORDS_BIGENDIAN == 1) -> #ifdef WORDS_BIGENDIAN by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12396 b3059339-0415-0410-9bf9-f77b7e298cf2
* this isn't actually stupid, but it's not valid C and gcc 3.5 rejects it as suchrfelker2004-05-012-10/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12386 b3059339-0415-0410-9bf9-f77b7e298cf2
* attribute_used patch by (matthieu castet <castet.matthieu at free dot fr>)michael2004-04-263-52/+52
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12302 b3059339-0415-0410-9bf9-f77b7e298cf2
* AltiVec hScale, all size patch by (Romain Dolbeau <dolbeaur at club-internet ↵michael2004-04-063-10/+222
| | | | | | dot fr>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12131 b3059339-0415-0410-9bf9-f77b7e298cf2
* make gcc happy under hurdalex2004-04-051-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12125 b3059339-0415-0410-9bf9-f77b7e298cf2
* altivec swscale under Linux patch by (Magnus Damm <damm at opensource dot se>)michael2004-03-14