Commit Graph

242 Commits

Author SHA1 Message Date
diego 1b915e419e Replace double semicolon by single semicolon.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28611 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 02:00:29 +00:00
diego 26b29f4f2d Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:17:56 +00:00
diego 6b52a2e974 Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
Neither variant is valid C99 syntax, but __asm__ is the most portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:59:27 +00:00
diego da4a5765ab Rename some definitions to avoid clashing with system headers, fixes:
./drivers/3dfx.h:262:1: warning: "ROP_COPY" redefined
/usr/include/linux/fb.h:311:1: warning: this is the location of the previous definition
./drivers/3dfx.h:264:1: warning: "ROP_XOR" redefined
/usr/include/linux/fb.h:312:1: warning: this is the location of the previous definition


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27124 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-23 08:47:50 +00:00
diego 8764a8ea78 standard license headers for mga_vid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27059 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-14 14:43:58 +00:00
attila d666882459 add MGA_VID_GET_VERSION ioctl to old mga_vid driver for compatibility with "new" mplayer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27058 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-14 14:26:42 +00:00
diego 61b101497d Merge drivers/Makefile into top-level Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26914 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-28 12:40:15 +00:00
diego 1dd5f09e9d Fix setting of CFLAGS for Radeon modules.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26913 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-28 11:27:13 +00:00
diego ae9355bae1 Disable unused function, fixes the warning:
tdfx_vid.c:292: warning: 'setup_fifo' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26912 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-28 10:34:03 +00:00
attila b2189d29d9 sync mga_vid.h to revision 265 from the mga_vid repo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26862 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-23 20:14:31 +00:00
attila 42918f9633 revert changes 26035 and 26061
mga_vid is _NOT_ part of MPlayer, although it has been
historicaly developed in the same repo. 


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26861 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-23 19:46:41 +00:00
diego 5423c418c2 cosmetics: Remove useless parentheses from return statements.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-16 09:42:28 +00:00
diego 5e90929e2d clean and distclean rules do the same thing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26550 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-26 16:59:26 +00:00
diego 338b1e9eeb Simplify phony target declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26458 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-18 08:12:41 +00:00
diego 8efb2fa21c Add MPLAYER_ prefix to multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-22 09:09:46 +00:00
diego 32c1ba35db cosmetics: Move definitions to a more standard place.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26036 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-19 23:31:12 +00:00
diego 0e8fba9ec8 Add standard license header and make copyright notices consistent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26035 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-19 23:27:23 +00:00
diego e41ecd1a7e Rename some identifiers to not use leading underscores.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25890 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 18:23:03 +00:00
diego e27d606714 Fix illegal identifiers: Names starting with __ or _ and uppercase are reserved
for the system, names starting with _ are reserved at file level.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25635 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 23:20:15 +00:00
diego 2b6af2000b Add multiple inclusion guards to all header files that lack them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 21:35:58 +00:00
diego baee7815d5 Replace multiple inclusion guards with leading underscores by default names.
Leading underscores are reserved for system identifiers.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25579 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 20:21:20 +00:00
diego fba0b66ff9 Add explanatory comments to the #endif part of multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-31 16:15:50 +00:00
diego 9c3c0cb83a warning fixes:
mga_vid_test.c: In function ‘main’:
mga_vid_test.c:157: warning: unused parameter ‘argc’
mga_vid_test.c:157: warning: unused parameter ‘argv’
tdfx_vid_test.c: In function ‘main’:
tdfx_vid_test.c:26: warning: unused parameter ‘argc’
tdfx_vid_test.c:26: warning: unused parameter ‘argv’


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24307 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-31 11:57:57 +00:00
diego cbbbb1dbc9 warning fixes:
tdfx_vid_test.c: In function ‘main’:
tdfx_vid_test.c:28: warning: unused variable ‘ptr’
tdfx_vid_test.c:27: warning: unused variable ‘i’


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24285 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 09:26:33 +00:00
diego 4d2f586664 warning fix:
tdfx_vid.c:61: warning: ‘map_base’ defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24284 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 09:21:06 +00:00
diego 2fd1650190 Build test programs with standard CFLAGS and use implicit rules.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24283 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 09:19:07 +00:00
diego 3b7e079594 warning fix:
tdfx_vid_test.c: In function ‘main’:
tdfx_vid_test.c:61: warning: incompatible implicit declaration of built-in function ‘memset’


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24282 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 09:16:56 +00:00
diego 22fc24fe56 cosmetics: misc typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23893 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 14:28:38 +00:00
diego b000a6a519 ISO8859-1 --> UTF-8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 19:50:36 +00:00
diego 8ffe8d3d19 cosmetics: Shorten overly long lines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22795 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-24 13:12:55 +00:00
attila 4efc6b8372 sync mga_vid.h to the one in the mga_vid repo.
removes one commented include and adds a define
no incompatible change


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22710 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 10:52:41 +00:00
diego f20d1b16a8 Move files from radeon/ subdirectory here.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22709 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 21:27:42 +00:00
diego 8f191b6d44 Remove radeonfb, the version in the Linux kernel is much better.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22707 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 21:01:37 +00:00
diego e916b43fdc wording/spelling/grammar/updates/cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22702 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 17:53:00 +00:00
diego 4c715947af Merge Makefile from radeon/ subdirectory into this one.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22701 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 15:53:30 +00:00
diego db454784b1 Create device nodes upon install.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22700 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 15:52:29 +00:00
diego 36125350e4 Introduce OBJS variable for the list of objects to build.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22698 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 15:41:04 +00:00
diego 7b87730dac Remove support for 2.5.x kernels.
It's just a bunch of ugly #ifdef conditionals and probably does not work
with later 2.5.x versions anyway.  For 2.6.x there is an external version.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22696 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 15:12:58 +00:00
diego 631b6b4b53 Remove useless compilation commands that are provided by builtin rules.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22694 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 14:01:50 +00:00
diego 53a7ba6ae4 Merge test rules using general pattern.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22693 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 14:00:34 +00:00
diego 48871ecebe Install tdfx_vid.o as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22692 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 13:58:36 +00:00
diego d7640773b1 Remove now unnecessary MGA_VID_OBJ variable indirection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22691 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 13:56:54 +00:00
diego 26248f7480 Remove pointless variable indirection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22690 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 13:55:45 +00:00
diego 0537f6cbff Remove remnants of Linux 2.6 support, the mga_vid.c part was made to
disappear in Limbo with 'cvs admin -o' ages ago.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22689 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 13:53:15 +00:00
diego a94ea0f520 Remove pointless variable indirection for -I options.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22688 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 13:29:26 +00:00
diego c5ccfdffd6 Remove unnecessary -I option from CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22687 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 13:28:03 +00:00
diego 1ea573c3bd cosmetics: Remove superfluous comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22684 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 11:33:01 +00:00
diego 25411fd476 Remove superfluous .o creation rule, it's the same as the builtin one.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22683 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 11:32:02 +00:00
diego e47d785cfc Remove unused variables INCLUDES and MOD_PATH_PREFIX.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22682 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 11:29:00 +00:00
diego c5fa361f01 Remove unused variable AFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22681 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 11:19:01 +00:00