summaryrefslogtreecommitdiffstats
path: root/postproc/swscale.c
Commit message (Collapse)AuthorAgeFilesLines
* 10lmichael2002-11-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8100 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativearpi2002-11-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing yuy2 upscaling (use -sws 0 for the faster but uglier variant)michael2002-10-131-10/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7726 b3059339-0415-0410-9bf9-f77b7e298cf2
* mmx yuy2 outputmichael2002-10-131-10/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7724 b3059339-0415-0410-9bf9-f77b7e298cf2
* yuy2 output supportmichael2002-10-131-8/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7721 b3059339-0415-0410-9bf9-f77b7e298cf2
* planar yuv 444 422 411 supportmichael2002-08-011-3/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6864 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing sinc filter (seems the problem was caused by rounding in pmulhw -> ↵michael2002-07-091-4/+10
| | | | | | | | | | 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
* more scaling algosmichael2002-07-041-46/+95
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6638 b3059339-0415-0410-9bf9-f77b7e298cf2
* using the new rgb2rgb converters (the LQ ones are only used if -sws 0 or -sws 4)michael2002-06-301-352/+140
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6617 b3059339-0415-0410-9bf9-f77b7e298cf2
* yvu9 -> yv12 unscaled converter with linear chroma scalingmichael2002-06-271-2/+40
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6583 b3059339-0415-0410-9bf9-f77b7e298cf2
* -sws 6 (luma bicubic & chroma bilinear)michael2002-06-271-5/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6581 b3059339-0415-0410-9bf9-f77b7e298cf2
* use unified yuv2rgb initmichael2002-06-271-244/+355
| | | | | | | {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-5/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6555 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l (non mmx versions didnt compile)michael2002-06-241-21/+33
| | | | | | | some cleanup git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6541 b3059339-0415-0410-9bf9-f77b7e298cf2
* IF09 is alias for YVU9 (actually it has extra 4th plane containing MC changearpi2002-06-231-2/+3
| | | | | | | | flags, but it doesn't matter for now) - IF09 is supported by win32 Indeo codecs and by some others too git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6536 b3059339-0415-0410-9bf9-f77b7e298cf2
* yvu9 support (other planar yuv formats with other chroma subsamplings should ↵michael2002-06-231-60/+70
| | | | | | | | | | 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-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6521 b3059339-0415-0410-9bf9-f77b7e298cf2
* selftest supportmichael2002-06-231-29/+179
| | | | | | | bugfixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6518 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup & grayscale supportmichael2002-06-221-117/+83
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6504 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync with mplayer xparpi2002-06-221-81/+450
| | | | | | | | | - 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
* big cosmetics patch, cleanup of messages printed by mplayer and libs.arpi2002-05-201-13/+11
| | | | | | | | some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2 mplayer's output is now shorter, readable and consistent git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6139 b3059339-0415-0410-9bf9-f77b7e298cf2
* various openbsd and general warning fixes - patch by Björn Sandell ↵arpi2002-05-121-0/+2
| | | | | | <biorn@dce.chalmers.se> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6058 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf to mp_msgalbeu2002-05-021-47/+48
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5938 b3059339-0415-0410-9bf9-f77b7e298cf2
* overread in the mmx2 horizontal scaler fixedmichael2002-04-011-33/+130
| | | | | | | 2% faster horizontal mmx2 scaler git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5453 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing bgr15&16 on big_endianmichael2002-03-211-7/+10
| | | | | | | i doubt that that will fix all big endian problems though, we very likely will have to support RGB & BGR output formats as either bgr32 or bgr15 is rgb depending upon the way rgb/bgr is defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5247 b3059339-0415-0410-9bf9-f77b7e298cf2
* use assert.hmichael2002-02-221-2/+8
| | | | | | | more assertions git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4807 b3059339-0415-0410-9bf9-f77b7e298cf2
* 101++michael2002-02-211-1/+2
| | | | 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/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4794 b3059339-0415-0410-9bf9-f77b7e298cf2
* unscaled yuv2rgb fix for big-endian systemsmichael2002-02-211-3/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4792 b3059339-0415-0410-9bf9-f77b7e298cf2
* unscaled memcpy variant bugfix (negative strides)michael2002-02-101-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4650 b3059339-0415-0410-9bf9-f77b7e298cf2
* unscaled BGR24 -> YV12michael2002-02-101-0/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4624 b3059339-0415-0410-9bf9-f77b7e298cf2
* bgr24toUV in MMXmichael2002-02-091-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4620 b3059339-0415-0410-9bf9-f77b7e298cf2
* bgr24toY in MMXmichael2002-02-091-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4613 b3059339-0415-0410-9bf9-f77b7e298cf2
* fastmemcpymichael2002-02-081-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4587 b3059339-0415-0410-9bf9-f77b7e298cf2
* unscaled BGR15->BGR16michael2002-02-081-4/+37
| | | | | | | a few bugfixes of the other unscaled converters git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4582 b3059339-0415-0410-9bf9-f77b7e298cf2
* bgr15 input supportmichael2002-02-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4581 b3059339-0415-0410-9bf9-f77b7e298cf2
* bgr16 input supportmichael2002-02-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4579 b3059339-0415-0410-9bf9-f77b7e298cf2
* unscaled convertersmichael2002-02-071-1/+81
| | | | | | | | BGR24 -> BGR32 & RGB24 -> RGB32 BGR32 -> BGR24 & RGB32 -> RGB24 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4568 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing green line at right side bug (reported by Nick Kurshev ↵michael2002-02-071-1/+8
| | | | | | <nickols_k@mail.ru>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4564 b3059339-0415-0410-9bf9-f77b7e298cf2
* rgb32 & rgb24 input supportmichael2002-02-061-17/+22
| | | | | | | squished a endianness bug in the 15/16bgr output git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4559 b3059339-0415-0410-9bf9-f77b7e298cf2
* 101 (yuv2rgb with mpeg1,...) ;)michael2002-02-061-6/+115
| | | | | | | simple copy if possible (same format, no scaling, ...) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4556 b3059339-0415-0410-9bf9-f77b7e298cf2
* swScale internally uses yuv2rgb now if possiblemichael2002-02-061-2/+42
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4555 b3059339-0415-0410-9bf9-f77b7e298cf2
* printing error messages if something is wrong instead of just return NULL;michael2002-02-041-3/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4530 b3059339-0415-0410-9bf9-f77b7e298cf2
* filterPos bugfix (only nearest neighbor scaling was affected)michael2002-02-031-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4493 b3059339-0415-0410-9bf9-f77b7e298cf2
* MMX(2) optimized YUY2 inputmichael2002-02-021-11/+23
| | | | | | | 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
* printing correct format infomichael2002-02-011-21/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4469 b3059339-0415-0410-9bf9-f77b7e298cf2
* YUY2, BGR24, BGR32 input support (no mmx yet)michael2002-02-011-20/+63
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4468 b3059339-0415-0410-9bf9-f77b7e298cf2
* -sws 2 is default nowmichael2002-01-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4422 b3059339-0415-0410-9bf9-f77b7e298cf2
* YV12 like formats support (I420/IYUV)michael2002-01-301-123/+142
| | | | | | | bugfixes related to vo_x11 resizeing git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4420 b3059339-0415-0410-9bf9-f77b7e298cf2
* area averageing scaling support (-sws 5) (is identical to bilinear for upscale)michael2002-01-291-8/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4403 b3059339-0415-0410-9bf9-f77b7e298cf2
* nearest neighbor / sdl emulation ;) scaling (-sws 4)michael2002-01-281-2/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4402 b3059339-0415-0410-9bf9-f77b7e298cf2
* minor bugfix in the -v outputmichael2002-01-221-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4305 b3059339-0415-0410-9bf9-f77b7e298cf2
* 15/16 bit dithering in C (5% slower, can be disabled by comenting #define ↵michael2002-01-211-21/+111
| | | | | | | | | | | 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-8/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4296 b3059339-0415-0410-9bf9-f77b7e298cf2
* a few filters (should be removed/merged when arpis videofilter stuff is ↵michael2002-01-211-23/+90
| | | | | | | | | | | | | finished) -ssf cgb=<float> -> chrominance gaussian blur (nice to improve picture quality) -ssf lgb=<float> -> luminance gaussian blur (dunno what its good for) -ssf chs=<int> -> shift chrominance horizontally -ssf cvs=<int> -> shift chrominance vertically these will only work if the swscaler is used at all git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4295 b3059339-0415-0410-9bf9-f77b7e298cf2
* general convolution filtering of the source picturemichael2002-01-211-86/+366
| | | | | | | 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
* 101michael2002-01-201-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4282 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed global vars so that multiple swscalers can be usedmichael2002-01-201-85/+679
| | | | | | | | | | | 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-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4249 b3059339-0415-0410-9bf9-f77b7e298cf2
* minor bugfixes (noone noticed them)michael2001-12-211-1/+1
| | | | | | | 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-4/+201
| | | | | | | | | 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
* vertical cubic/linear scalingmichael2001-12-061-22/+55
| | | | | | | | prints some info (MMX, dstbpp, ...) mainloop rewritten git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3345 b3059339-0415-0410-9bf9-f77b7e298cf2
* horizontal up/downscale linear & cubicmichael2001-12-021-2/+17
| | | | | | | -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
* swscaler cleanupmichael2001-11-291-17/+13
| | | | | | | | 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
* runtime cpu detection optional (compiles faster)michael2001-11-271-1/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3153 b3059339-0415-0410-9bf9-f77b7e298cf2
* oopsmichael2001-11-261-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3137 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime cpu detectionmichael2001-11-261-1652/+69
| | | | 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