summaryrefslogtreecommitdiffstats
path: root/postproc/swscale_template.c
Commit message (Collapse)AuthorAgeFilesLines
* add support for intel mac. mp3lib is not fixed yet.nplourde2006-04-151-19/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18105 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
* Update licensing information: The FSF changed postal address.diego2006-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17368 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change unsigned->signed and int->long, this fits the asm code better on 64reimar2005-10-121-23/+23
| | | | | | | | 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
* 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
* 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
* unused definealex2005-04-291-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15296 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved NV12/NV21 support.syrjala2005-02-161-2/+27
| | | | | | | | | | | - 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
* fix few x86_64 registers handlingaurel2005-01-211-4/+32
| | | | 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-211-415/+429
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13721 b3059339-0415-0410-9bf9-f77b7e298cf2
* altivec yuv->rgb convertermichael2004-06-271-0/+6
| | | | | | | | | | | | | 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
* AltiVec hScale, all size patch by (Romain Dolbeau <dolbeaur at club-internet ↵michael2004-04-061-0/+4
| | | | | | dot fr>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12131 b3059339-0415-0410-9bf9-f77b7e298cf2
* AltiVec support in postproc/ + altivec optimizations for yuv2yuvX patch by ↵michael2004-03-111-0/+10
| | | | | | (Romain Dolbeau <dolbeau at irisa dot fr>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12018 b3059339-0415-0410-9bf9-f77b7e298cf2
* rounding fixesmichael2003-10-151-8/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11123 b3059339-0415-0410-9bf9-f77b7e298cf2
* many small typo and grammar fixesgabucino2003-10-041-8/+8
| | | | | | | Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11001 b3059339-0415-0410-9bf9-f77b7e298cf2
* killed an mp_msg occurancealex2003-04-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9971 b3059339-0415-0410-9bf9-f77b7e298cf2
* mplayer idependant (not really yet) swscale examplemichael2003-04-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9922 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2003-02-241-13/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9500 b3059339-0415-0410-9bf9-f77b7e298cf2
* sws_ prefix, more seperation between internal & external swscaler APImichael2003-02-231-1/+6
| | | | | | | sws_scale() returns the number of outputed lines git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9495 b3059339-0415-0410-9bf9-f77b7e298cf2
* yuv2rgb brightness/contrast/saturation/different colorspaces support finishedmichael2003-02-211-4/+3
| | | | | | | | | yuv2rgb deglobalize yuv2rgb optimizations / cleanup bugs? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9477 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000lmichael2003-02-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9435 b3059339-0415-0410-9bf9-f77b7e298cf2
* bigendian bug (fixes?)michael2003-02-151-74/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9434 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2003-02-131-96/+130
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9418 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2003-02-131-182/+159
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9415 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2003-02-131-74/+111
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9414 b3059339-0415-0410-9bf9-f77b7e298cf2
* UYVY inputmichael2003-01-231-0/+74
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9072 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)michael2002-11-231-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
* mmx yuy2 outputmichael2002-10-131-15/+153
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7724 b3059339-0415-0410-9bf9-f77b7e298cf2
* yuy2 output supportmichael2002-10-131-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7721 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing y422p outputmichael2002-09-091-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7352 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing sinc filter (seems the problem was caused by rounding in pmulhw -> ↵michael2002-07-091-2/+2
| | | | | | | | | | solution use shorter filter, its long and slow enough anyway) some typos some warning fixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6680 b3059339-0415-0410-9bf9-f77b7e298cf2
* last line messed up in Y800 bugfixmichael2002-06-301-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6616 b3059339-0415-0410-9bf9-f77b7e298cf2
* use unified yuv2rgb initmichael2002-06-271-371/+89
| | | | | | | {RGB,BGR}{1,4,8,15,16,24,32} output supported git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6579 b3059339-0415-0410-9bf9-f77b7e298cf2
* killing globalsmichael2002-06-241-6/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6555 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l (non mmx versions didnt compile)michael2002-06-241-47/+12
| | | | | | | some cleanup git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6541 b3059339-0415-0410-9bf9-f77b7e298cf2
* yvu9 support (other planar yuv formats with other chroma subsamplings should ↵michael2002-06-231-36/+39
| | | | | | | | | | be trivial to add, if they had a IMGFMT) disabled broken (=new) converters (they cause random sig11) various bugfixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6533 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2002-06-231-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6521 b3059339-0415-0410-9bf9-f77b7e298cf2
* selftest supportmichael2002-06-231-0/+13
| | | | | | | bugfixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6518 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup & grayscale supportmichael2002-06-221-11/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6504 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync with mplayer xparpi2002-06-221-1/+1
| | | | | | | | | - partial yvu9 support (copy only) - rgb 15/16 -> 24/32 converters - int->unsigned changes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6493 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf to mp_msgalbeu2002-05-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5938 b3059339-0415-0410-9bf9-f77b7e298cf2
* overread in the mmx2 horizontal scaler fixedmichael2002-04-011-93/+64
| | | | | | | 2% faster horizontal mmx2 scaler git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5453 b3059339-0415-0410-9bf9-f77b7e298cf2
* add manglingatmos42002-03-031-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4924 b3059339-0415-0410-9bf9-f77b7e298cf2
* 101++michael2002-02-211-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4795 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing bgr32 output on big-endian systemsmichael2002-02-211-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4794 b3059339-0415-0410-9bf9-f77b7e298cf2
* minor dststride bugfix for i420 outputmichael2002-02-141-6/+12
| | | | | | | srcHeight %2 != 0 bugfix / chroma height = (luma height +1)>>1 in YV12 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4699 b3059339-0415-0410-9bf9-f77b7e298cf2
* bgr24toUV in MMXmichael2002-02-091-2/+151
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4620 b3059339-0415-0410-9bf9-f77b7e298cf2
* bgr24toY in MMXmichael2002-02-091-1/+70
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4613 b3059339-0415-0410-9bf9-f77b7e298cf2
* bgr15 input supportmichael2002-02-081-0/+74
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4581 b3059339-0415-0410-9bf9-f77b7e298cf2
* faster bgr16 inputmichael2002-02-081-2/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4580 b3059339-0415-0410-9bf9-f77b7e298cf2
* bgr16 input supportmichael2002-02-081-0/+60
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4579 b3059339-0415-0410-9bf9-f77b7e298cf2
* rgb32 & rgb24 input supportmichael2002-02-061-0/+76
| | | | | | | squished a endianness bug in the 15/16bgr output git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4559 b3059339-0415-0410-9bf9-f77b7e298cf2
* swScale internally uses yuv2rgb now if possiblemichael2002-02-061-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4555 b3059339-0415-0410-9bf9-f77b7e298cf2
* MMX(2) optimized YUY2 inputmichael2002-02-021-3/+49
| | | | | | | avoid duplicate checks for formats by changeing them (Y8->Y800, IYUV->I420) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4482 b3059339-0415-0410-9bf9-f77b7e298cf2
* YUY2, BGR24, BGR32 input support (no mmx yet)michael2002-02-011-12/+166
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4468 b3059339-0415-0410-9bf9-f77b7e298cf2
* YV12 like formats support (I420/IYUV)michael2002-01-301-5/+40
| | | | | | | bugfixes related to vo_x11 resizeing git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4420 b3059339-0415-0410-9bf9-f77b7e298cf2
* 15/16 bit dithering in C (5% slower, can be disabled by comenting #define ↵michael2002-01-211-24/+112
| | | | | | | | | | | DITHER1XBPP out) x/yInc bugfix (bug was introduced during the global var removial) more emms & no messing with ARCH_X86 (=workaround against not cleared mmx state somewhere) sharpening filter (-ssf cs=<int> & -ssf ls=<int>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4298 b3059339-0415-0410-9bf9-f77b7e298cf2
* copyright(swscaler) = GPLmichael2002-01-211-5/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4296 b3059339-0415-0410-9bf9-f77b7e298cf2
* general convolution filtering of the source picturemichael2002-01-211-7/+5
| | | | | | | dynamic memory allocation for the buffers (needed for the filter stuff) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4291 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed global vars so that multiple swscalers can be usedmichael2002-01-201-644/+157
| | | | | | | | | | | experimental upscaling mode (-sws 3) general convolution filters support (unfinished) bugfix for bicubic upscaling assertion checking if defined MP_DEBUG checking of the input/output size instead of segfault if its very large git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4277 b3059339-0415-0410-9bf9-f77b7e298cf2
* mangle for win32 in postprocatmos42002-01-191-115/+115
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4249 b3059339-0415-0410-9bf9-f77b7e298cf2
* only print last line warning if verbose is onmichael2001-12-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3884 b3059339-0415-0410-9bf9-f77b7e298cf2
* output shifted by a few pixels on extreem scalings bugfixmichael2001-12-271-3/+3
| | | | | | | filterPos was wrong by 0.5 pixels on downscale with -sws 1 and 2 bugfix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3783 b3059339-0415-0410-9bf9-f77b7e298cf2
* looks betterjaf2001-12-251-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3731 b3059339-0415-0410-9bf9-f77b7e298cf2
* minor bugfixes (noone noticed them)michael2001-12-211-4/+6
| | | | | | | a few more asserts git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3642 b3059339-0415-0410-9bf9-f77b7e298cf2
* print more info if -vmichael2001-12-061-229/+163
| | | | | | | | | use new horizontal mmx scaler instead of old x86asm if mmx2 cant be used (FAST_BILINEAR only) fixed overflow in init function ... using double precission fp now :) using C scaler for the last 1-2 lines if there is a chance to write over the end of the dst array git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3353 b3059339-0415-0410-9bf9-f77b7e298cf2
* dithering info wasnt displayedmichael2001-12-061-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3346 b3059339-0415-0410-9bf9-f77b7e298cf2
* vertical cubic/linear scalingmichael2001-12-061-304/+938
| | | | |