1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-02 03:06:28 +02:00
Commit Graph

75 Commits

Author SHA1 Message Date
Diego Biurrun
91f2de5e18 Simplify conditional compilation handling.
Originally committed as revision 22009 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-25 00:35:29 +00:00
Luca Abeni
2d529db50f Pass a context to av_log(), when possible
Originally committed as revision 21999 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-23 13:41:45 +00:00
Diego Biurrun
2c86a5786a Fix license headers and FSF postal address.
Originally committed as revision 21994 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-22 01:21:36 +00:00
Diego Biurrun
10ef990d96 cosmetics: typo pallete --> palette
Originally committed as revision 21892 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-13 04:32:14 +00:00
Luca Abeni
d28ef27031 deprecate sws_scale_ordered(), as it now is a duplicate of sws_scale()
Originally committed as revision 21888 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-12 15:45:47 +00:00
Luca Abeni
703b56fb5d Add "support for both orderings of the slices (top->down / bottom->up)"
(r15249) to sws_scale() too (until now, it only was in sws_scale_ordered())

Originally committed as revision 21887 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-12 15:40:08 +00:00
Luca Abeni
0dea6433fd replace some av_malloc();memset(...,0,...) sequences with av_mallocz()
Originally committed as revision 21835 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-06 12:11:25 +00:00
Luca Abeni
b2afecbe02 change all the occurrences of "FFMIN(FFMAX())" to clip_uint8() or clip()
Originally committed as revision 21776 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-26 18:08:40 +00:00
Luca Abeni
789237cad0 Mark some variables as possibly unused to avoid warnings
Originally committed as revision 21775 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-26 17:59:28 +00:00
Luca Abeni
628bc5e862 Add some explicit casts to avoid "assignment from incompatible pointer type"
warnings

Originally committed as revision 21774 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-26 17:41:38 +00:00
Luca Abeni
44060a7391 Add some other casts, to remove void pointers arithmetic
Originally committed as revision 21773 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-26 16:28:34 +00:00
Luca Abeni
7d19628b14 Add some explicit casts to avoid some warnings
Originally committed as revision 21772 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-26 16:21:13 +00:00
Luca Abeni
9effd94abc Remove some void pointers arithmetic
Originally committed as revision 21771 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-26 16:12:37 +00:00
Luca Abeni
d32d303568 Clarify that yuv2rgb_init.c cannot be used under LGPL
Originally committed as revision 21730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-22 17:57:19 +00:00
Luca Abeni
19a6be3463 Remove useless include (not needed now that libswscale uses libavutil)
Originally committed as revision 21728 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-22 11:22:49 +00:00
Luca Abeni
0683a5c558 Fix compilation of non-MMX code with gcc 2.95
Originally committed as revision 21702 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-20 15:58:15 +00:00
Luca Abeni
9bde778e73 Allow to compile swscale's non-SIMD code under the LGPL license.
Since mplayer always define CONFIG_GPL, this commit should not change
anything for mplayer.

Originally committed as revision 21699 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-20 13:09:29 +00:00
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