Commit Graph

92 Commits

Author SHA1 Message Date
diego 2a39682956 typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22932 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-07 14:07:51 +00:00
cehoyos cb644a4a9d Fix crash when trying to convert from or to RGBi (i<15) as in bgr8torgb24
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22910 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-03 16:22:19 +00:00
diego 75cf17e3f8 Handle proper compilation on Mac OS X.
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
2007-03-30 22:09:13 +00:00
michael f605cf5f93 fix full range (jpeg yuv) chroma
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22713 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 12:31:53 +00:00
diego a708559fe5 Add PIX_FMT_PAL8 to isPacked().
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
2007-03-08 10:02:49 +00:00
michael 5a39cd78b7 a small step toward 4 plane support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22411 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-02 13:33:18 +00:00
michael 2c64943519 copy src to prevent the user supplied argumet from being changed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22410 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-02 13:32:10 +00:00
reimar 0f2246a083 Fix a possible crash on 64 bit systems when the lumSrcPtr or chrSrcPtr
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
2007-03-01 19:48:40 +00:00
diego e3b1929925 Remove useless conditional.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22355 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 00:19:01 +00:00
reimar 0b7929b8ad Add av_ prefix to clip functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22339 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 10:27:43 +00:00
diego 8ed3ba4995 cosmetics: typo fixes, usefuLL --> useful and aswell --> as well
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22307 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-22 00:18:10 +00:00
michael 099c9b26f4 negative stride and h_size-=8 fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22247 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-17 13:28:44 +00:00
michael 2a0c4363cf BGR/RGB4 byte formats as input
fixing isRGB/BGR() for the byte formats


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22244 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-17 11:36:02 +00:00
michael db9d35b669 pal8 input
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
2007-02-16 21:17:15 +00:00
lu_zero 91fdfc6820 stray fflush spotted by Aurel
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22051 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 20:38:35 +00:00
lu_zero 3707a1426b Make example and test build and link correctly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22048 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 17:52:59 +00:00
lu_zero a1dcee10f4 av_logify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22047 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 17:51:41 +00:00
diego 2dc888b0c0 Simplify conditional compilation handling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22009 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-25 00:35:29 +00:00
lucabe aaac7f6eaf Pass a context to av_log(), when possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21999 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-23 13:41:45 +00:00
diego 2d33f0d405 Fix license headers and FSF postal address.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21994 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-22 01:21:36 +00:00
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