summaryrefslogtreecommitdiffstats
path: root/libswscale
Commit message (Collapse)AuthorAgeFilesLines
* 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 EXTRALIBSlucabe2006-10-231-0/+2
| | | | | | | (fixes compilation of shared libswscale on cygwin and other platforms) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20413 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename ABS macro to FFABS.diego2006-10-111-10/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20169 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move CFLAGS handling to common.mak.diego2006-10-111-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20154 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change license headers to say 'FFmpeg' instead of 'this program'.diego2006-10-0711-151/+174
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20100 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace -I.. by -I$(BUILD_ROOT).diego2006-10-071-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20094 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify test program build.diego2006-10-051-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20073 b3059339-0415-0410-9bf9-f77b7e298cf2
* Test programs depend on $(LIB).diego2006-10-051-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20059 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg uses -D_ISOC9X_SOURCE and not -D_GNU_SOURCE in CFLAGS.diego2006-10-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20057 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove cs_test and swscale-example on clean.diego2006-10-041-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20040 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant EXTRALIBS declaration.diego2006-10-041-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20039 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify compilation call by using $(EXTRALIBS).diego2006-10-041-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20038 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warnings:diego2006-10-041-0/+2
| | | | | | | | swscale-example.c:87: warning: implicit declaration of function 'sws_format_name' swscale-example.c:214: warning: implicit declaration of function 'sws_rgb2rgb_init' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20037 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warnings:diego2006-10-041-1/+2
| | | | | | | | cs_test.c:62: warning: return type defaults to 'int' cs_test.c:64: warning: implicit declaration of function 'memalign' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20036 b3059339-0415-0410-9bf9-f77b7e298cf2
* make some global var static (fix a build failure with shared lib on x86_64)aurel2006-10-031-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20024 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix unused variable warning when compiling with MMX disabled.diego2006-10-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20021 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables.diego2006-10-012-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20012 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for YUVJ formatslucabe2006-09-271-1/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19993 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improve swscale-example to test conversions between all the possiblelucabe2006-09-241-39/+44
| | | | | | | pixel formats git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19965 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove the dependency of libswscale on img_format.hlucabe2006-09-178-342/+351
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19878 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the PIX_FMT_* ---> IMGFMT_* conversion (PIX_FMT_RGB32 is IMGFMT_BGR32)lucabe2006-09-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19875 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add proper GPL headers.diego2006-09-092-0/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19772 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add official GPL header to make license explicit as discussed on ffmpeg-devel.diego2006-09-062-2/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19709 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add sws_getCachedContext(), which checks if context is valid or reallocs a ↵gpoirier2006-09-042-0/+39
| | | | | | | | | | | | new one instead. Patch by Victor Paesa <wzrlpy@arsystel.com> Original thread: Date: Aug 31, 2006 7:15 PM Subject: [Ffmpeg-devel] [PATCH] Add sws_getCachedContext() to swscale library git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19667 b3059339-0415-0410-9bf9-f77b7e298cf2
* make the C code of the swscaler which i wrote LGPLmichael2006-08-304-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19600 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow to compile swscale testslucabe2006-08-212-12/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19476 b3059339-0415-0410-9bf9-f77b7e298cf2
* Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.diego2006-08-185-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19437 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move all internal -I parameters to the front of CFLAGS to avoid using externaldiego2006-08-171-1/+1
| | | | | | | | header files that happen to have the same name as internal ones. based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19426 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation as a win32 shared library (libavutil must be explicitly linked)lucabe2006-08-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19416 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation with -no-PIC and without -fomit-frame-pointer (used byuau2006-08-151-1/+1
| | | | | | | | --enable-debug). Fix from Jason Tackaberry for his previous -fPIC patch. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19406 b3059339-0415-0410-9bf9-f77b7e298cf2
* -fPIC support for libswscalediego2006-08-152-112/+158
| | | | | | | patch by Jason Tackaberry, tack /at/ urandom /dot/ ca git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19402 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace asmalign.h hack by ASMALIGN cpp macros from config.h.diego2006-08-132-39/+35
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19378 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use COMPILE_MMX2 instead of HAVE_MMX2 to determine whether to compileuau2006-08-121-4/+4
| | | | | | | | | MMX2 code, because the HAVE_ defines do not have sane values here if runtime cpudetection is used. Hopefully fixes runtime cpudetection breakage from r19339. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19374 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation with MMX disabled, the mmx_null and mmx_one constants don't ↵diego2006-08-111-3/+1
| | | | | | | | | need to be protected by HAVE_MMX. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19367 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another PIX_FMT_ ---> IMGFMT_ conversionlucabe2006-08-051-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19342 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not assemble MMX, MMX2 or 3DNOW code unconditionally on X86 and X86_64.diego2006-08-053-10/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19339 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for ffmpeg's pixel format names in libswscalelucabe2006-07-311-0/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19276 b3059339-0415-0410-9bf9-f77b7e298cf2
* Comment some #endif lines.diego2006-07-283-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19211 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compile error due to extra "FF" at beginning of file in the FF{MIN,MAX}pacman2006-07-271-1/+1
| | | | | | | update git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19205 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace MIN() and MAX() with FFMIN() and FFMAX()lucabe2006-07-263-24/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19186 b3059339-0415-0410-9bf9-f77b7e298cf2
* a tiny bit of cleanupmichael2006-07-241-77/+35
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19178 b3059339-0415-0410-9bf9-f77b7e298cf2
* vertical scaler with accurate rounding, some people on doom9 can see +-1 errorsmichael2006-07-244-42/+309
| | | | | | | | the +-1 issue is limited to >2tap vertical filters, so bilinear upscale was unaffected the new code is sometime faster sometimes slower but the difference is significant (~20%) so its optional and enabled with arnd=1 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19177 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix typo introduced in the memalign->av_malloc conversion (there is nopacman2006-07-231-1/+1
| | | | | | | mv_malloc) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19174 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missing part of the malloc -> av_malloc patch: memalign must be replaced as ↵rei