summaryrefslogtreecommitdiffstats
path: root/postproc/swscale_template.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | | | prints some info (MMX, dstbpp, ...) mainloop rewritten git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3345 b3059339-0415-0410-9bf9-f77b7e298cf2
* typomichael2001-12-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3300 b3059339-0415-0410-9bf9-f77b7e298cf2
* horizontal up/downscale linear & cubicmichael2001-12-021-26/+351
| | | | | | | -sws command line option (0 -> fast_bilinear, 1->bilinear, 2->bicubic) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3273 b3059339-0415-0410-9bf9-f77b7e298cf2
* sliced scaleing bugfixmichael2001-11-291-18/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3216 b3059339-0415-0410-9bf9-f77b7e298cf2
* swscaler cleanupmichael2001-11-291-106/+109
| | | | | | | | green line at bottom bugfix green lines in yuv2yuv scaler bugfix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3210 b3059339-0415-0410-9bf9-f77b7e298cf2
* oopsmichael2001-11-261-0/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3137 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime cpu detectionmichael2001-11-261-172/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3127 b3059339-0415-0410-9bf9-f77b7e298cf2
* .balign or we´ll align by 64kb on some architecturesmichael2001-11-101-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2801 b3059339-0415-0410-9bf9-f77b7e298cf2
* .align 16michael2001-11-101-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2800 b3059339-0415-0410-9bf9-f77b7e298cf2
* gcc does optimize writes to non volatile variables away if it didnt know ↵michael2001-11-061-4/+4
| | | | | | that they were read in between git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2751 b3059339-0415-0410-9bf9-f77b7e298cf2
* better ditheringmichael2001-11-061-42/+43
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2749 b3059339-0415-0410-9bf9-f77b7e298cf2
* faster bgr24 outputmichael2001-11-061-3/+114
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2731 b3059339-0415-0410-9bf9-f77b7e298cf2
* only 6 registers usedmichael2001-11-051-7/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2729 b3059339-0415-0410-9bf9-f77b7e298cf2
* green line fix for dstw%8!=0michael2001-11-041-4/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2681 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed warningsmichael2001-11-041-27/+48
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2672 b3059339-0415-0410-9bf9-f77b7e298cf2
* faster bgr15/16michael2001-11-041-50/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2670 b3059339-0415-0410-9bf9-f77b7e298cf2
* right green line bugfix for width not %8==0 (untested -vo vesa doesnt work)michael2001-11-021-1/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2639 b3059339-0415-0410-9bf9-f77b7e298cf2
* c speedupmichael2001-10-311-17/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2586 b3059339-0415-0410-9bf9-f77b7e298cf2
* 15/16bit in C speedupmichael2001-10-311-30/+50
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2585 b3059339-0415-0410-9bf9-f77b7e298cf2
* c optimizationsmichael2001-10-301-24/+75
| | | | | | | bugfix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2577 b3059339-0415-0410-9bf9-f77b7e298cf2
* c optimizationsmichael2001-10-301-17/+68
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2576 b3059339-0415-0410-9bf9-f77b7e298cf2
* c optimizations (array is faster than pointer) (16bpp variants tested and 2% ↵michael2001-10-301-18/+9
| | | | | | faster) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2573 b3059339-0415-0410-9bf9-f77b7e298cf2
* interpolate chrominance for every second line in the 1:1 vertical scale functionmichael2001-10-301-41/+153
| | |