aboutsummaryrefslogtreecommitdiffstats
path: root/postproc/swscale.c
Commit message (Collapse)AuthorAgeFilesLines
* Move postproc ---> libswscaleLuca Abeni2006-06-301-2707/+0
| | | | Originally committed as revision 18866 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* ng the fix for vCCoeffsBank patch by (Alan Curry <pacman TheWorld com>)Alan Curry2006-02-161-2/+2
| | | | Originally committed as revision 17633 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* Move the v{Y,C}CoeffsBank vectors into the SwsContext, filling them in justAlan Curry2006-02-111-0/+25
| | | | | | | | 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 Originally committed as revision 17589 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* Patch by Stefan Huehner / stefan % huehner ! org \Stefan Huehner2006-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 Originally committed as revision 17567 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* AltiVec operations need to have memory aligned on 16-byte boundaries.Alan Curry2006-02-081-3/+5
| | | | | | patch by Alan Curry, pacman at world dot std dot com Originally committed as revision 17559 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* change sws sharpen filter a littleMichael Niedermayer2006-02-041-29/+18
| | | | Originally committed as revision 17531 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-131-1/+1
| | | | Originally committed as revision 17368 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* Unify include paths, -I.. is in CFLAGS.Diego Biurrun2005-11-141-6/+6
| | | | Originally committed as revision 16986 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* 100l -- mismatched type after changing sizes to type long!D Richard Felker III2005-10-171-1/+1
| | | | Originally committed as revision 16784 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* Reduce unnecessary swscaler verbosity.Diego Biurrun2005-09-061-1/+1
| | | | Originally committed as revision 16405 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* Should fix altivec detection for g3 system.Nicolas Plourde2005-05-201-4/+5
| | | | Originally committed as revision 15524 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* check for negative strides before memcpyJindřich Makovička2005-04-241-4/+4
| | | | Originally committed as revision 15250 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* support for both orderings of the slices (top->down / bottom->up)Jindřich Makovička2005-04-241-4/+28
| | | | Originally committed as revision 15249 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* 100l, forgot to change an ifdef on last commitReimar Döffinger2005-02-231-1/+1
| | | | Originally committed as revision 14784 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* fix for MAP_ANON vs. MAP_ANONYMOUS fix...Reimar Döffinger2005-02-221-1/+4
| | | | Originally committed as revision 14762 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* Improved NV12/NV21 support.Ville Syrjälä2005-02-161-4/+70
| | | | | | | | | | - 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. Originally committed as revision 14716 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* FreeBSD fixBohdan Horst2005-02-141-0/+1
| | | | Originally committed as revision 14699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* Compile fix on non-x86Reimar Döffinger2005-02-011-0/+2
| | | | Originally committed as revision 14631 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* makes funnyCode pages executable (for CPU with NX bit)Aurelien Jacobs2005-01-311-0/+22
| | | | Originally committed as revision 14626 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* fix few x86_64 registers handlingAurelien Jacobs2005-01-211-2/+2
| | | | Originally committed as revision 14557 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64Aurelien Jacobs2004-10-211-48/+48
| | | | Originally committed as revision 13721 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* postproc/yuv2rgb_altivec.c compile fixLuca Barbato2004-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>) Originally committed as revision 13565 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* passing an array or double precission parameters for the scaling function, ↵Michael Niedermayer2004-09-181-17/+24
| | | | | | | | instead of missusing a few bits of the flags fixing the naming of the scaling functions a little Originally committed as revision 13374 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* fix altivec.h inclusion (vector keyword in structure)Alex Beregszaszi2004-07-171-3/+0
| | | | Originally committed as revision 12839 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* Altivec unscaled YV12 -> packed YUV patch by (Romain Dolbeau <dolbeau at ↵Romain Dolbeau2004-07-061-0/+12
| | | | | | irisa dot fr>) Originally committed as revision 12769 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* altivec yuv->rgb converterMichael Niedermayer2004-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 Originally committed as revision 12699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* this isn't actually stupid, but it's not valid C and gcc 3.5 rejects it as suchD Richard Felker III2004-05-011-6/+6
| | | | Originally committed as revision 12386 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* attribute_used patch by (matthieu castet <castet.matthieu at free dot fr>)Matthieu Castet2004-04-261-27/+27
| | | | Originally committed as revision 12302 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* AltiVec hScale, all size patch by (Romain Dolbeau <dolbeaur at club-internet ↵Romain Dolbeau2004-04-061-9/+33
| | | | | | dot fr>) Originally committed as revision 12131 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* altivec swscale under Linux patch by (Magnus Damm <damm at opensource dot se>)Magnus Damm2004-03-141-0/+3
| | | | Originally committed as revision 12024 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* AltiVec support in postproc/ + altivec optimizations for yuv2yuvX patch by ↵Romain Dolbeau2004-03-111-2/+30
| | | | | | (Romain Dolbeau <dolbeau at irisa dot fr>) Originally committed as revision 12018 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* 1000lMichael Niedermayer2003-11-061-1/+4
| | | | Originally committed as revision 11407 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* -sws 0 && -ssf chs fixedMichael Niedermayer2003-11-041-11/+12
| | | | Originally committed as revision 11380 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* minimum slice size fix (fixes 422P 1 line per slice, used by huffyuv)Michael Niedermayer2003-10-221-4/+3
| | | | Originally committed as revision 11214 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* dither scaling coefficients so they add up to 1.0Michael Niedermayer2003-10-151-1/+6
| | | | Originally committed as revision 11124 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* rounding fixesMichael Niedermayer2003-10-151-10/+11
| | | | Originally committed as revision 11123 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* uyvy output support in swscalerAlex Beregszaszi2003-10-091-4/+33
| | | | Originally committed as revision 11069 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* many small typo and grammar fixesGabucino2003-10-041-8/+8
| | | | | | Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk> Originally committed as revision 11001 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* srcSliceY % 4 != 0 fixMichael Niedermayer2003-09-261-1/+4
| | | | Originally committed as revision 10953 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* fixing "internal error in orderYUV" bugMichael Niedermayer2003-06-191-1/+2
| | | | Originally committed as revision 10313 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* unusedAlex Beregszaszi2003-06-011-4/+0
| | | | Originally committed as revision 10236 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* removed the last mp_msg :)Alex Beregszaszi2003-05-011-8/+0
| | | | Originally committed as revision 10047 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* remove remaining cpudetect dependancyMichael Niedermayer2003-04-251-0/+1
| | | | Originally committed as revision 9988 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* moving getFilter stuff back (vf_scale.c -> swscale.c)Michael Niedermayer2003-04-251-1/+73
| | | | Originally committed as revision 9986 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* removing sws - global verbose var dependancyMichael Niedermayer2003-04-241-202/+54
| | | | | | | removing sws - cpudetect dependancy (note rgb2rgb still needs it) moving mplayer specific stuff from swscale.c -> vf_scale.c Originally committed as revision 9976 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* mplayer idependant (not really yet) swscale exampleMichael Niedermayer2003-04-171-133/+0
| | | | Originally committed as revision 9922 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* 10lMichael Niedermayer2003-03-271-2/+2
| | | | Originally committed as revision 9699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* 10000l (YUV vs. YVU swscale fix/cleanup)Michael Niedermayer2003-03-271-39/+43
| | | | Originally committed as revision 9698 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* cleanupMichael Niedermayer2003-02-241-14/+13
| | | | Originally committed as revision 9500 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
* sws_ prefix, more seperation between internal & external swscaler APIMichael Niedermayer2003-02-231-80/+95
| | | | | | sws_scale() returns the number of outputed lines Originally committed as revision 9495 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc