summaryrefslogtreecommitdiffstats
path: root/postproc/swscale.c
Commit message (Collapse)AuthorAgeFilesLines
* adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64aurel2004-10-211-48/+48
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13721 b3059339-0415-0410-9bf9-f77b7e298cf2
* postproc/yuv2rgb_altivec.c compile fixmichael2004-10-051-1/+1
| | | | | | | | | 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
* passing an array or double precission parameters for the scaling function, ↵michael2004-09-181-17/+24
| | | | | | | | | 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
* fix altivec.h inclusion (vector keyword in structure)alex2004-07-171-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12839 b3059339-0415-0410-9bf9-f77b7e298cf2
* Altivec unscaled YV12 -> packed YUV patch by (Romain Dolbeau <dolbeau at ↵michael2004-07-061-0/+12
| | | | | | irisa dot fr>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12769 b3059339-0415-0410-9bf9-f77b7e298cf2
* altivec yuv->rgb convertermichael2004-06-271-1/+4
| | | | | | | | | | | | | 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
* this isn't actually stupid, but it's not valid C and gcc 3.5 rejects it as suchrfelker2004-05-011-6/+6
| | | | 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-261-27/+27
| | | | 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-061-9/+33
| | | | | | dot fr>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12131 b3059339-0415-0410-9bf9-f77b7e298cf2
* altivec swscale under Linux patch by (Magnus Damm <damm at opensource dot se>)michael2004-03-141-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12024 b3059339-0415-0410-9bf9-f77b7e298cf2
* AltiVec support in postproc/ + altivec optimizations for yuv2yuvX patch by ↵michael2004-03-111-2/+30
| | | | | | (Romain Dolbeau <dolbeau at irisa dot fr>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12018 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000lmichael2003-11-061-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11407 b3059339-0415-0410-9bf9-f77b7e298cf2
* -sws 0 && -ssf chs fixedmichael2003-11-041-11/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11380 b3059339-0415-0410-9bf9-f77b7e298cf2
* minimum slice size fix (fixes 422P 1 line per slice, used by huffyuv)michael2003-10-221-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11214 b3059339-0415-0410-9bf9-f77b7e298cf2
* dither scaling coefficients so they add up to 1.0michael2003-10-151-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11124 b3059339-0415-0410-9bf9-f77b7e298cf2
* rounding fixesmichael2003-10-151-10/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11123 b3059339-0415-0410-9bf9-f77b7e298cf2
* uyvy output support in swscaleralex2003-10-091-4/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11069 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
* srcSliceY % 4 != 0 fixmichael2003-09-261-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10953 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing "internal error in orderYUV" bugmichael2003-06-191-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10313 b3059339-0415-0410-9bf9-f77b7e298cf2
* unusedalex2003-06-011-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10236 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed the last mp_msg :)alex2003-05-011-8/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10047 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove remaining cpudetect dependancymichael2003-04-251-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9988 b3059339-0415-0410-9bf9-f77b7e298cf2
* moving getFilter stuff back (vf_scale.c -> swscale.c)michael2003-04-251-1/+73
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9986 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing sws - global verbose var dependancymichael2003-04-241-202/+54
| | | | | | | | removing sws - cpudetect dependancy (note rgb2rgb still needs it) moving mplayer specific stuff from swscale.c -> vf_scale.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9976 b3059339-0415-0410-9bf9-f77b7e298cf2
* mplayer idependant (not really yet) swscale examplemichael2003-04-171-133/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9922 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lmichael2003-03-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9699 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000l (YUV vs. YVU swscale fix/cleanup)michael2003-03-271-39/+43
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9698 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2003-02-241-14/+13
| | | | 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-80/+95
| | | | | | | 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-62/+65
| | | | | | | | | yuv2rgb deglobalize yuv2rgb optimizations / cleanup bugs? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9477 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2003-02-181-84/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9456 b3059339-0415-0410-9bf9-f77b7e298cf2
* brightness / saturation / contrast / different yuv colorspace support for ↵michael2003-02-131-10/+48
| | | | | | some yuv2rgb converters (many converters still ignore it) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9417 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2003-02-131-18/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9414 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l found by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)michael2003-02-011-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9189 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing rgb4 & bgr4 (2 pixels per byte)michael2003-01-301-0/+22
| | | | | | | adding bg4b & rg4b (1 pixel per byte) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9172 b3059339-0415-0410-9bf9-f77b7e298cf2
* UYVY inputmichael2003-01-231-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9072 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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,...) ;)michael