Commit Graph

508 Commits

Author SHA1 Message Date
Reimar Döffinger e96da13bc7 Change "p" asm constraints to "g", since "p" was a no longer necessary hack to
make AMD64 compilation work and ICC can not handle "p".

Originally committed as revision 21341 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-27 21:59:13 +00:00
Luca Abeni 807e0c6645 Clarify that some of the non-SIMD code is now LGPLed.
All the authours of such code agreed.

Originally committed as revision 21045 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-19 10:38:12 +00:00
Michael Niedermayer 6264a515d0 forgotten 2 converters (yeah svn up, svn di svn ci isnt enough i should actually look at the code after svn up not just the diff ...)
Originally committed as revision 20962 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-16 14:49:04 +00:00
Michael Niedermayer c2271987f8 fixing the lamest bug in swscale, all the rgb/bgr->* code did 2x2 downsampling for chroma, it should just be 2x1 (the rest of the code also belived its 2x1 ...)
Originally committed as revision 20961 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-16 14:44:00 +00:00
Diego Biurrun 4cedbe5c8a Remove stray newline.
Originally committed as revision 20959 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-16 12:49:27 +00:00
Luca Abeni 7964ed71e9 Synch with ffmpeg's r6938 "allow spaces in source and build directory names..."
Originally committed as revision 20816 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-09 15:13:56 +00:00
Nigel Pearson d904b5fc66 Fix MacIntel build: "/nop" is illegal on Apple's older version of GAS
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

Originally committed as revision 20740 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-07 07:07:05 +00:00
Luca Abeni a43fb6b37e Add support for conversions from the rgb565 and rgb555 formats
Originally committed as revision 20605 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-02 09:01:01 +00:00
Diego Biurrun 484267f3d3 Do not mix declarations and statements.
Originally committed as revision 20600 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-01 19:44:35 +00:00
Diego Biurrun 3d6a30d948 Use common define for x86_32 and x86_64.
Originally committed as revision 20592 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-01 18:36:20 +00:00
Kostya Shishkov 4884b9e50d 16-bit grayscale support
Originally committed as revision 20427 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-24 05:02:33 +00:00
Luca Abeni 7c9c296648 Properly set EXTRALIBS
(fixes compilation of shared libswscale on cygwin and other platforms)

Originally committed as revision 20413 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-23 14:03:49 +00:00
Diego Biurrun 05749630e8 Rename ABS macro to FFABS.
Originally committed as revision 20169 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-11 23:18:34 +00:00
Diego Biurrun 086b05cdad Move CFLAGS handling to common.mak.
Originally committed as revision 20154 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-11 08:30:22 +00:00
Diego Biurrun d026b45e73 Change license headers to say 'FFmpeg' instead of 'this program'.
Originally committed as revision 20100 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-07 15:33:14 +00:00
Diego Biurrun 21423ad9b7 Replace -I.. by -I$(BUILD_ROOT).
Originally committed as revision 20094 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-07 09:23:09 +00:00
Diego Biurrun aae0bc19b1 Simplify test program build.
Originally committed as revision 20073 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-05 17:11:05 +00:00
Diego Biurrun 6a07717908 Test programs depend on $(LIB).
Originally committed as revision 20059 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-05 00:57:48 +00:00
Diego Biurrun 777938e190 FFmpeg uses -D_ISOC9X_SOURCE and not -D_GNU_SOURCE in CFLAGS.
Originally committed as revision 20057 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-04 22:18:40 +00:00
Diego Biurrun c55f606397 Remove cs_test and swscale-example on clean.
Originally committed as revision 20040 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-04 14:02:42 +00:00
Diego Biurrun 69402a1073 Remove redundant EXTRALIBS declaration.
Originally committed as revision 20039 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-04 14:00:14 +00:00
Diego Biurrun 7fe1cbd814 Simplify compilation call by using $(EXTRALIBS).
Originally committed as revision 20038 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-04 13:56:24 +00:00
Diego Biurrun 632d873994 Fix warnings:
swscale-example.c:87: warning: implicit declaration of function 'sws_format_name'
swscale-example.c:214: warning: implicit declaration of function 'sws_rgb2rgb_init'

Originally committed as revision 20037 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-04 13:54:56 +00:00
Diego Biurrun b2c4e3547b Fix warnings:
cs_test.c:62: warning: return type defaults to 'int'
cs_test.c:64: warning: implicit declaration of function 'memalign'

Originally committed as revision 20036 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-04 13:51:12 +00:00
Aurelien Jacobs a90ce38634 make some global var static (fix a build failure with shared lib on x86_64)
Originally committed as revision 20024 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-03 23:51:32 +00:00
Diego Biurrun f8d6112850 Fix unused variable warning when compiling with MMX disabled.
Originally committed as revision 20021 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-03 17:11:43 +00:00
Diego Biurrun 0fe89aca42 Remove unused variables.
Originally committed as revision 20012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-01 14:17:45 +00:00
Luca Abeni 44cdb42386 Add support for YUVJ formats
Originally committed as revision 19993 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-09-27 11:41:36 +00:00
Luca Abeni 87656472f4 Improve swscale-example to test conversions between all the possible
pixel formats

Originally committed as revision 19965 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-09-24 09:55:18 +00:00
Luca Abeni e9e12f0e11 Remove the dependency of libswscale on img_format.h
Originally committed as revision 19878 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-09-17 15:15:13 +00:00
Luca Abeni 5784b620d2 Fix the PIX_FMT_* ---> IMGFMT_* conversion (PIX_FMT_RGB32 is IMGFMT_BGR32)
Originally committed as revision 19875 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-09-17 14:59:55 +00:00
Diego Biurrun 2111440ae9 Add proper GPL headers.
Originally committed as revision 19772 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-09-09 21:10:26 +00:00
Diego Biurrun 4fadc2b4f1 Add official GPL header to make license explicit as discussed on ffmpeg-devel.
Originally committed as revision 19709 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-09-06 10:24:19 +00:00
Víctor Paesa 22e4695905 Add sws_getCachedContext(), which checks if context is valid or reallocs a 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

Originally committed as revision 19667 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-09-04 09:38:24 +00:00
Michael Niedermayer d1a7ae1a37 make the C code of the swscaler which i wrote LGPL
Originally committed as revision 19600 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-30 10:50:20 +00:00
Luca Abeni 7f3f497a0b Allow to compile swscale tests
Originally committed as revision 19476 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-21 12:15:29 +00:00
Diego Biurrun db3924f1fd Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.
Originally committed as revision 19437 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-18 13:58:03 +00:00
Diego Biurrun 751b900479 Move all internal -I parameters to the front of CFLAGS to avoid using external
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

Originally committed as revision 19426 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-17 17:19:56 +00:00
Luca Abeni 1246640aa2 Fix compilation as a win32 shared library (libavutil must be explicitly linked)
Originally committed as revision 19416 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-16 20:09:47 +00:00
Uoti Urpala 91d0bda26d Fix compilation with -no-PIC and without -fomit-frame-pointer (used by
--enable-debug).
Fix from Jason Tackaberry for his previous -fPIC patch.

Originally committed as revision 19406 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-15 14:50:24 +00:00
Jason Tackaberry 83c89c7885 -fPIC support for libswscale
patch by Jason Tackaberry, tack /at/ urandom /dot/ ca

Originally committed as revision 19402 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-15 08:47:03 +00:00
Diego Biurrun 4bff9ef9d0 Replace asmalign.h hack by ASMALIGN cpp macros from config.h.
Originally committed as revision 19378 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-13 00:21:14 +00:00
Uoti Urpala 17c613ef34 Use COMPILE_MMX2 instead of HAVE_MMX2 to determine whether to compile
MMX2 code, because the HAVE_ defines do not have sane values here if
runtime cpudetection is used. Hopefully fixes runtime cpudetection
breakage from r19339.

Originally committed as revision 19374 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-12 17:46:40 +00:00
Diego Biurrun 49a0122c99 Fix compilation with MMX disabled, the mmx_null and mmx_one constants don't need to
be protected by HAVE_MMX.

Originally committed as revision 19367 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-11 12:50:14 +00:00
Luca Abeni c792037176 Another PIX_FMT_ ---> IMGFMT_ conversion
Originally committed as revision 19342 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-05 13:14:34 +00:00
Diego Biurrun dbdae6ec54 Do not assemble MMX, MMX2 or 3DNOW code unconditionally on X86 and X86_64.
Originally committed as revision 19339 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-05 10:00:54 +00:00
Luca Abeni 80d0ded2f7 Add support for ffmpeg's pixel format names in libswscale
Originally committed as revision 19276 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-31 12:35:04 +00:00
Diego Biurrun 6979600818 Comment some #endif lines.
Originally committed as revision 19211 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-28 09:07:09 +00:00
Alan Curry e50bc5a4ea Fix compile error due to extra "FF" at beginning of file in the FF{MIN,MAX}
update

Originally committed as revision 19205 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-27 19:35:30 +00:00
Luca Abeni 6f209cb549 Replace MIN() and MAX() with FFMIN() and FFMAX()
Originally committed as revision 19186 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-26 13:19:02 +00:00
Michael Niedermayer 8422aa888b a tiny bit of cleanup
Originally committed as revision 19178 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-24 10:48:54 +00:00
Michael Niedermayer bca11e75fb vertical scaler with accurate rounding, some people on doom9 can see +-1 errors
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

Originally committed as revision 19177 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-24 10:36:06 +00:00
Alan Curry d8cfa5534a Fix typo introduced in the memalign->av_malloc conversion (there is no
mv_malloc)

Originally committed as revision 19174 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-23 21:16:11 +00:00
Reimar Döffinger 8dfe90941a Missing part of the malloc -> av_malloc patch: memalign must be replaced as well!
Originally committed as revision 19173 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-23 18:07:26 +00:00
Luca Abeni 94c4def23c Use libavutil in libswscale, and allow it to be built out of the mplayer tree
Originally committed as revision 19148 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-20 12:13:57 +00:00
Luca Abeni 57b3c36d0f make libswscale build system similar to the libav* one
Originally committed as revision 18994 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-10 12:35:52 +00:00
Luca Abeni 2df19ea53a Remove unneeded code
Originally committed as revision 18880 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-01 14:39:14 +00:00
Luca Abeni 73435f006b Move postproc ---> libswscale
Originally committed as revision 18866 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-06-30 12:00:31 +00:00