Commit Graph

218 Commits

Author SHA1 Message Date
diego 70dd60b8cd cosmetics: __asm__ __volatile__ --> asm volatile
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26456 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-17 21:54:43 +00:00
diego 42880d2821 Relicense test/example files as LGPL with Michael's permission.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26429 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-13 01:29:24 +00:00
mru ac1280459b non-recursive makefiles
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26346 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-07 21:16:50 +00:00
diego 37d20cbc93 Fix wrong #endif comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26300 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-29 15:51:05 +00:00
diego ebfa5122b3 Classify mlib as a configurable option, not as a hardware feature.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26275 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-25 21:30:46 +00:00
diego b090190936 Fix 64 bit shared library compilation with MMX2 by properly using PIC mangling.
patch by Alexander Strange, astrange ithinksw com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26270 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-22 18:22:53 +00:00
diego cf09f76844 cosmetics: comment typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26269 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-22 17:35:32 +00:00
diego a5a71b8a5f Remove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26264 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-18 22:14:57 +00:00
zuxy f59d66a7c0 Fix a typo that causes an assertion to always fail.
Reported by Alexander Bokovikov (openworld AT uralweb DOT ru)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26257 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-17 06:01:58 +00:00
diego 86a9d2666e typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26251 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 16:13:24 +00:00
diego 6628c4ba3b Remove the unused function roundToInt16. It is a duplicate of the same function
in swscale.c. Fixes the warning:
yuv2rgb_altivec.c:751: 'roundToInt16' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26247 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 10:04:19 +00:00
diego c1f4b20925 typos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26228 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-12 23:50:48 +00:00
diego c388f79c0f Mark Y variable in EPILOG macro as av_unused to avoid unused variable warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26220 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-11 09:01:38 +00:00
diego 26ad83476f typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26212 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-10 18:38:46 +00:00
benoit 7f97108f0f Make av_class a pointer to const.
Patch by Takis.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26210 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-10 14:30:49 +00:00
benoit 26f0d73d73 define VOF as double of VOFW.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26209 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-10 14:28:25 +00:00
diego e0879ad8d3 Remove redundant swScaler: output from places where av_log()
properly prints the context anyway.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26207 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-10 07:30:24 +00:00
diego 3fe4b0b696 cosmetics: Remove useless empty line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26201 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-08 14:54:36 +00:00
diego 5e6c92b86c cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26200 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-08 14:40:18 +00:00
mru cc36be59cb simplify library version handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26193 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 19:27:08 +00:00
mru efb5c8304b consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26186 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-06 20:44:47 +00:00
bcoudurier fb984553d3 change sws_format_name to return const char*, supress many warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26183 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-06 11:32:25 +00:00
bcoudurier 7bda4c32f1 remove redundant SwScaler text since av_log uses AVClass context
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26182 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-06 09:51:25 +00:00
michael fbd3ffa4a0 One more (forgotten) fix for fixing sws_flags.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26166 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-05 04:03:44 +00:00
michael 5022909fa8 Turn ancient V offset numerical constants into named ones.
Add a check that checks that the width is within the chosen constant.
This might have been exploitable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26165 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-05 03:00:25 +00:00
mru 8d1529b2fe less preprocessor magic in version number macros
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26105 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-26 20:38:02 +00:00
diego c214df59db Fix outdated comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26099 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 09:43:52 +00:00
mru 635e6bf7c3 #include "libavutil/avutil.h" in swscale.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26097 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 09:24:33 +00:00
reimar 4825a2ee81 __asm __volatile -> asm volatile part 3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26091 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 14:59:16 +00:00
cehoyos 50899e9083 Discard two symbols from libswscale.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26060 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-22 08:08:19 +00:00
mru f4cab7e69a Clean up lib* version definitions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26034 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-19 22:52:28 +00:00
mru 1a8c91dfc2 remove duplicate AV_STRINGIFY() definition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26013 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-17 03:54:07 +00:00
diego cee7af12b0 FLAT objects cannot have multiple sections, so using the L1 attributes breaks
linking. The FDPIC relocs also break for any other format. Thus check the
compiler environment and select the appropriate sections/relocs.
patch by Mike Frysinger, vapier.adi a gmail d com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26010 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 15:17:59 +00:00
benoit 5839f06341 More explicit unsupported pixel format error messages.
Patch by Stefano Sabatini: stefano sabatini (minus) lala % poste it


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25999 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 07:50:27 +00:00
diego b8da7d2c5a typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25991 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-13 09:07:41 +00:00
cehoyos 9e83b53822 Make dither4 & dither8 const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25967 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-09 22:57:37 +00:00
reimar da8ab92c7d Make some assembler constants global instead of declaring them multiple times.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25910 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-29 14:58:10 +00:00
reimar 4ceb92650a Use DECLARE_ASM_CONST where possible in libswscale code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25903 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-28 14:38:11 +00:00
reimar c83eeec033 Fix typo in comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25829 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-21 20:46:28 +00:00
benoit 024ccaccf7 Change (a == NULL) condition to (!a) and (a != NULL) condition to (a).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25780 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 15:49:31 +00:00
benoit ef1ae8fd19 Remove some useless parentheses.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25779 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 11:07:27 +00:00
benoit bc7d838528 Cosmetics: whitespaces
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25778 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 10:24:14 +00:00
benoit 821d1ccea5 Remove non cosmetic spaces inside parentheses.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25777 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 08:57:15 +00:00
benoit 94f3351841 Description: remove superfluous parentheses.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25776 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 08:12:23 +00:00
benoit 6e8c03910d Check param in sws_getCachedContext().
Patch by KO Myung-Hun komh chollian net
Original thread: [FFmpeg-devel] [PATCH] param check in sws_getCachedContext()
Date: Wed Jan 9 11:15:19 CET 2008


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25775 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 08:06:09 +00:00
diego 5efcab64a5 comment typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25485 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-21 11:47:09 +00:00
benoit f2281fa06a Make sure strides have positive values before converting.
Patch by Peter Schlaile: peter schlaile de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25467 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 10:08:36 +00:00
diego 460de55771 Add missing declarations for AltiVec functions, fixes the warnings:
swscale_template.c:1171: warning: implicit declaration of function ‘altivec_yuv2packedX’
swscale.c:1982: warning: implicit declaration of function ‘yuv2rgb_altivec_init_tables’
yuv2rgb.c:652: warning: implicit declaration of function ‘yuv2rgb_init_altivec’


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25319 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-08 04:29:11 +00:00
diego 48d39aa9a5 Fix 'make checkheaders' on AltiVec-enabled systems.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25316 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-07 15:30:12 +00:00
diego 02138e2282 Fix some spelling typos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25245 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:07:01 +00:00