Commit Graph

72 Commits

Author SHA1 Message Date
diego addb047274 cosmetics: typo pallete --> palette
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21892 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-13 04:32:14 +00:00
lucabe 3caab47323 deprecate sws_scale_ordered(), as it now is a duplicate of sws_scale()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21888 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-12 15:45:47 +00:00
lucabe 86bfe9c6b8 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())


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21887 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-12 15:40:08 +00:00
lucabe a72f029add replace some av_malloc();memset(...,0,...) sequences with av_mallocz()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21835 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 12:11:25 +00:00
lucabe 43aa3a1b7e change all the occurrences of "FFMIN(FFMAX())" to clip_uint8() or clip()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21776 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-26 18:08:40 +00:00
lucabe 896f3ac12b Mark some variables as possibly unused to avoid warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21775 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-26 17:59:28 +00:00
lucabe 471fc34cb7 Add some explicit casts to avoid "assignment from incompatible pointer type"
warnings


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21774 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-26 17:41:38 +00:00
lucabe 9d9fce6419 Add some other casts, to remove void pointers arithmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21773 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-26 16:28:34 +00:00
lucabe c5c0e11eeb Add some explicit casts to avoid some warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21772 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-26 16:21:13 +00:00
lucabe ac68c5b03d Remove some void pointers arithmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21771 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-26 16:12:37 +00:00
lucabe fa035363aa Clarify that yuv2rgb_init.c cannot be used under LGPL
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21730 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-22 17:57:19 +00:00
lucabe b16725e8b1 Remove useless include (not needed now that libswscale uses libavutil)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21728 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-22 11:22:49 +00:00
lucabe 774b22c0d1 Fix compilation of non-MMX code with gcc 2.95
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21702 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-20 15:58:15 +00:00
lucabe 685e04e080 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.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21699 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-20 13:09:29 +00:00
reimar 6157b0b3ea 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".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21341 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 21:59:13 +00:00
lucabe 9913060a98 Clarify that some of the non-SIMD code is now LGPLed.
All the authours of such code agreed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21045 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-19 10:38:12 +00:00
michael ed3b9da081 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 ...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20962 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-16 14:49:04 +00:00
michael 5a4d8d1411 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 ...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20961 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-16 14:44:00 +00:00
diego 206f0000f5 Remove stray newline.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20959 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-16 12:49:27 +00:00
lucabe 22bff1ea7c Synch with ffmpeg's r6938 "allow spaces in source and build directory names..."
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20816 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-09 15:13:56 +00:00
gpoirier 1bade46a88 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20740 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-07 07:07:05 +00:00
lucabe c28ed102ea Add support for conversions from the rgb565 and rgb555 formats
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20605 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-02 09:01:01 +00:00
diego fa58eb8846 Do not mix declarations and statements.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20600 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:44:35 +00:00
diego 3570f31873 Use common define for x86_32 and x86_64.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20592 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 18:36:20 +00:00
kostya 3feb0ebd68 16-bit grayscale support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20427 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-24 05:02:33 +00:00
lucabe 239933c040 Properly set EXTRALIBS
(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
2006-10-23 14:03:49 +00:00
diego 4e9514a058 Rename ABS macro to FFABS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20169 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-11 23:18:34 +00:00
diego ed967a434b Move CFLAGS handling to common.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20154 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-11 08:30:22 +00:00
diego 3ace93a9a6 Change license headers to say 'FFmpeg' instead of 'this program'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20100 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-07 15:33:14 +00:00
diego f9477d0581 Replace -I.. by -I$(BUILD_ROOT).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20094 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-07 09:23:09 +00:00
diego e801f101df Simplify test program build.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20073 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-05 17:11:05 +00:00
diego 1240e6bde5 Test programs depend on $(LIB).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20059 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-05 00:57:48 +00:00
diego 9c19753fcc FFmpeg uses -D_ISOC9X_SOURCE and not -D_GNU_SOURCE in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20057 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-04 22:18:40 +00:00
diego 254a1757fa Remove cs_test and swscale-example on clean.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20040 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-04 14:02:42 +00:00
diego 767bf9402f Remove redundant EXTRALIBS declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20039 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-04 14:00:14 +00:00
diego 17a374e14b Simplify compilation call by using $(EXTRALIBS).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20038 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-04 13:56:24 +00:00
diego 8b9ca10a4d 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'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20037 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-04 13:54:56 +00:00
diego 04acb4f27e Fix warnings:
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
2006-10-04 13:51:12 +00:00
aurel ae22c7d3f7 make some global var static (fix a build failure with shared lib on x86_64)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20024 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-03 23:51:32 +00:00
diego 098bfe9f95 Fix unused variable warning when compiling with MMX disabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20021 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-03 17:11:43 +00:00
diego da4223291d Remove unused variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20012 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-01 14:17:45 +00:00
lucabe 47cfa9e755 Add support for YUVJ formats
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19993 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-27 11:41:36 +00:00
lucabe abfb2f049a Improve swscale-example to test conversions between all the possible
pixel formats


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19965 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-24 09:55:18 +00:00
lucabe 51cd63eb1c Remove the dependency of libswscale on img_format.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19878 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-17 15:15:13 +00:00
lucabe a9aca9d644 Fix the PIX_FMT_* ---> IMGFMT_* conversion (PIX_FMT_RGB32 is IMGFMT_BGR32)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19875 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-17 14:59:55 +00:00
diego af5a781e05 Add proper GPL headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19772 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-09 21:10:26 +00:00
diego 6370bb03d8 Add official GPL header to make license explicit as discussed on ffmpeg-devel.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19709 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-06 10:24:19 +00:00
gpoirier 268a7af2f4 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19667 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-04 09:38:24 +00:00
michael d0d900423c make the C code of the swscaler which i wrote LGPL
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19600 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-30 10:50:20 +00:00
lucabe dc1959af89 Allow to compile swscale tests
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19476 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-21 12:15:29 +00:00