summaryrefslogtreecommitdiffstats
path: root/libswscale
Commit message (Collapse)AuthorAgeFilesLines
* ffmpeg -sws_flags command line option to set swscaler flagsivo2007-05-231-1/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23379 b3059339-0415-0410-9bf9-f77b7e298cf2
* Blackfin optimized uyvytoyv12 routine. the implementation includes chroma ↵mhoffman2007-05-191-0/+79
| | | | | | | | | | averaging. This is 10x faster than the cooresponding C function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23345 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove extern C declarations for C++.diego2007-05-161-8/+0
| | | | | | | FFmpeg is pure C and not all public headers have the declarations. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23322 b3059339-0415-0410-9bf9-f77b7e298cf2
* Blackfin optimized YUV420 to RGB CSC Color Space Converters.gpoirier2007-05-137-1/+690
| | | | | | | | | | | | YUV2 -> RGB BGR for 565, 555 and 888 a.k.a. 24bit color. Speed-up compared to C version compiled with -O3 187.28% Patch by Marc Hoffman %mmh A pleasantst P com% Original thread: Date: May 9, 2007 2:46 AM Subject: [FFmpeg-devel] PATCH BlackFin yuv2rgb color space conversion git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23307 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics; one test per line for all isXXX(x) macrosivo2007-05-112-31/+91
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23296 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove the need of one extra shift in rgb16ToUVivo2007-05-091-6/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23281 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix rgb15ToUV. Correct order of components and use one shift less.ivo2007-05-091-7/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23279 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: indentation after previous patchbenoit2007-05-021-13/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23207 b3059339-0415-0410-9bf9-f77b7e298cf2
* test if color conv fonction exists prior to using itbenoit2007-05-021-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23206 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics attack, part IV: Remove all tabs and prettyprint/reindent the code.diego2007-04-301-2682/+2681
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23179 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics attack, part III: Remove all tabs and prettyprint/reindent the code.diego2007-04-294-1445/+1449
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23175 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix stray wrongly indented line.diego2007-04-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23174 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics attack, part II: Remove all tabs and prettyprint/reindent the code.diego2007-04-294-2498/+2497
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23173 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics attack, part I: Remove all tabs and prettyprint/reindent the code.diego2007-04-285-3081/+3074
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23158 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Replace manual tab indentation by \n\t as in the rest of the file.diego2007-04-281-43/+43
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23157 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove trailing whitespace.diego2007-04-2614-314/+313
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23147 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't declare -lm as a dependency of swscale-example.diego2007-04-261-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23140 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove large automatics from stack.diego2007-04-261-3/+3
| | | | | | | patch by Marc Hoffman, mmh pleasantst com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23117 b3059339-0415-0410-9bf9-f77b7e298cf2
* preserve alpha channel when converting rgb32 to bgr32 in plain Civo2007-04-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23022 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix red_15mask and green_15mask. the previous values were wrong and causedivo2007-04-181-2/+2
| | | | | | | some SIMD functions to output wrong data. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23021 b3059339-0415-0410-9bf9-f77b7e298cf2
* test widths all down to one. this tests whether the scalers correctly switchivo2007-04-181-1/+1
| | | | | | | to plain C when width < unit size of assembly code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23018 b3059339-0415-0410-9bf9-f77b7e298cf2
* skip MMX code in rgb24tobgr24 if the size of the input is smaller than theivo2007-04-181-0/+3
| | | | | | | size of the units the MMX code processes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23015 b3059339-0415-0410-9bf9-f77b7e298cf2
* skip MMX code in rgb32to16 if the size of the input is smaller than theivo2007-04-181-0/+2
| | | | | | | size of the units the MMX code processes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23014 b3059339-0415-0410-9bf9-f77b7e298cf2
* skip MMX code in rgb32to15 if the size of the input is smaller than theivo2007-04-181-0/+2
| | | | | | | size of the units the MMX code processes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23013 b3059339-0415-0410-9bf9-f77b7e298cf2
* slightly faster rgb32tobgr32; avoid one add and one cmpivo2007-04-171-18/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23012 b3059339-0415-0410-9bf9-f77b7e298cf2
* New implementation of rgb32tobgr32ivo2007-04-161-41/+58
| | | | | | | | | | | | The previous implementation segfaulted with MMX enabled when fed an image smaller than the size of the units the MMX code processed. The new code: - is faster for MMX, MMX2 and plain C - processes small images correctly - is LGPL git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23009 b3059339-0415-0410-9bf9-f77b7e298cf2
* improve horizontal chroma resolution with palmichael2007-04-152-6/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22994 b3059339-0415-0410-9bf9-f77b7e298cf2
* convert palette to yuv instead of converting each pixel after pal->rgbmichael2007-04-152-14/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22993 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics, expand all tabs to four spaces.ivo2007-04-121-112/+112
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22983 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace huge switch statement by a lookup table.ivo2007-04-121-174/+46
| | | | | | | Add newline to final report. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22982 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics after last commit; remove superfluous bracesivo2007-04-111-6/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22979 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove code duplication in sws_rgb2rgb_init.ivo2007-04-112-116/+36
| | | | | | | | | | | The lists of assignments of all rgbxtoy variants are removed from sws_rgb2rgb_init and replaced by a single list inside the template file. This way, multiple lists are generated by the preprocessor and each list gets its own initialization function. Those are called from the main sws_rgb2rgb_init function, if applicable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22978 b3059339-0415-0410-9bf9-f77b7e298cf2
* typodiego2007-04-073-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22932 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix crash when trying to convert from or to RGBi (i<15) as in bgr8torgb24cehoyos2007-04-031-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22910 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle proper compilation on Mac OS X.diego2007-03-301-8/+4
| | | | | | | | Fix data alignment bug (the original purpose of the code is unclear, though). patch by Marc Hoffman, mmh pleasantst com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22847 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix full range (jpeg yuv) chromamichael2007-03-183-1/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22713 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add PIX_FMT_PAL8 to isPacked().diego2007-03-081-1/+2
| | | | | | | patch by "Karl H. Beckers", karl.h.beckers gmx net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22487 b3059339-0415-0410-9bf9-f77b7e298cf2
* a small step toward 4 plane supportmichael2007-03-021-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22411 b3059339-0415-0410-9bf9-f77b7e298cf2
* copy src to prevent the user supplied argumet from being changedmichael2007-03-021-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22410 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a possible crash on 64 bit systems when the lumSrcPtr or chrSrcPtrreimar2007-03-011-0/+2
| | | | | | | does not fit in 32 bits. The SWS_ACCURATE_RND is still broken though. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22401 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless conditional.diego2007-02-271-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22355 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add av_ prefix to clip functionsreimar2007-02-254-16/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22339 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: typo fixes, usefuLL --> useful and aswell --> as welldiego2007-02-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22307 b3059339-0415-0410-9bf9-f77b7e298cf2
* negative stride and h_size-=8 fixmichael2007-02-171-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22247 b3059339-0415-0410-9bf9-f77b7e298cf2
* BGR/RGB4 byte formats as inputmichael2007-02-173-5/+6
| | | | | | | fixing isRGB/BGR() for the byte formats git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22244 b3059339-0415-0410-9bf9-f77b7e298cf2
* pal8 inputmichael2007-02-162-8/+54
| | | | | | | this is not optimized or anything (that is easy to add just use the existing unscaled converters if possible ...) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22236 b3059339-0415-0410-9bf9-f77b7e298cf2
* stray fflush spotted by Aurellu_zero2007-01-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22051 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make example and test build and link correctlylu_zero2007-01-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22048 b3059339-0415-0410-9bf9-f77b7e298cf2
* av_logifylu_zero2007-01-281-8/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22047 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify conditional compilation handling.diego2007-01-251-6/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22009 b3059339-0415-0410-9bf9-f77b7e298cf2
* Pass a context to av_log(), when possiblelucabe2007-01-235-73/+78
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21999 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix license headers and FSF postal address.diego2007-01-223-7/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21994 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: typo pallete --> palettediego2007-01-131-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21892 b3059339-0415-0410-9bf9-f77b7e298cf2
* deprecate sws_scale_ordered(), as it now is a duplicate of sws_scale()lucabe2007-01-121-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21888 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add "support for both orderings of the slices (top->down / bottom->up)"lucabe2007-01-121-10/+4
| | | | | | | (r15249) to sws_scale() too (until now, it only was in sws_scale_ordered()) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21887 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace some av_malloc();memset(...,0,...) sequences with av_mallocz()lucabe2007-01-061-6/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21835 b3059339-0415-0410-9bf9-f77b7e298cf2
* change all the occurrences of "FFMIN(FFMAX())" to clip_uint8() or clip()lucabe2006-12-263-15/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21776 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark some variables as possibly unused to avoid warningslucabe2006-12-262-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21775 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some explicit casts to avoid "assignment from incompatible pointer type"lucabe2006-12-262-15/+15
| | | | | | | warnings git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21774 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some other casts, to remove void pointers arithmeticlucabe2006-12-261-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21773 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some explicit casts to avoid some warningslucabe2006-12-261-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21772 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some void pointers arithmeticlucabe2006-12-261-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21771 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clarify that yuv2rgb_init.c cannot be used under LGPLlucabe2006-12-221-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21730 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless include (not needed now that libswscale uses libavutil)lucabe2006-12-221-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21728 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation of non-MMX code with gcc 2.95lucabe2006-12-201-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21702 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow to compile swscale's non-SIMD code under the LGPL license.lucabe2006-12-204-14/+428
| | | | | | | | Since mplayer always define CONFIG_GPL, this commit should not change anything for mplayer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21699 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change "p" asm constraints to "g", since "p" was a no longer necessary hack toreimar2006-11-271-2/+2
| | | | | | | make AMD64 compilation work and ICC can not handle "p". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21341 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clarify that some of the non-SIMD code is now LGPLed.lucabe2006-11-197-34/+34
| | | | | | | All the authours of such code agreed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21045 b3059339-0415-0410-9bf9-f77b7e298cf2
* forgotten 2 converters (yeah svn up, svn di svn ci isnt enough i should ↵michael2006-11-161-11/+11
| | | | | | actually look at the code after svn up not just the diff ...) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20962 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing the lamest bug in swscale, all the rgb/bgr->* code did 2x2 ↵michael2006-11-161-91/+52
| | | | | | downsampling for chroma, it should just be 2x1 (the rest of the code also belived its 2x1 ...) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20961 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove stray newline.diego2006-11-161-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20959 b3059339-0415-0410-9bf9-f77b7e298cf2
* Synch with ffmpeg's r6938 "allow spaces in source and build directory names..."lucabe2006-11-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20816 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix MacIntel build: "/nop" is illegal on Apple's older version of GASgpoirier2006-11-072-10/+6
| | | | | | | | | | Patch by Nigel Pearson % nigel A ind P tansu P com P au % Original thread: Date: Nov 6, 2006 10:43 PM Subject: [Ffmpeg-devel] [PATCH] swscale uses /nop, illegal for old versions of GAS git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20740 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for conversions from the rgb565 and rgb555 formatslucabe2006-11-022-1/+94
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20605 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not mix declarations and statements.diego2006-11-011-30/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20600 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use common define for x86_32 and x86_64.diego2006-11-015-21/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20592 b3059339-0415-0410-9bf9-f77b7e298cf2
* 16-bit grayscale supportkostya2006-10-243-3/+94
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20427 b3059339-0415-0410-9bf9-f77b7e298cf2
* Properly set EXTRALIBSlucabe