Commit Graph

441 Commits

Author SHA1 Message Date
diego 37ea342f85 #include config.h before all other headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26235 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-14 16:46:13 +00:00
ben d340d793e5 remove duplicated pci ids in nvidia vidix driver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26199 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-08 11:20:17 +00:00
diego 362446fef8 Add missing header #includes to fix 'make checkheaders'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26197 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 21:25:28 +00:00
ben dfc775a923 fix bad function prototype
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26131 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 20:06:21 +00:00
ben b37e883a3d Remove now deprecated Savage VIDIX driver sources
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26130 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 20:04:03 +00:00
ben c6d4298b7b Use MPlayer consistent define naming convention for newly introduce
S3 registers header file.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26129 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 20:02:37 +00:00
ben 094daed554 New S3 VIDIX driver.
Provides support for S3 Trio and S3 Virge chipsets.
This deprecates the old Savage driver that worked with latest chips only.
(synchronized with vidix.sf.net r326 and r327)



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26128 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 20:01:28 +00:00
diego 7ea10ea3fa Add MPLAYER_ prefix to the multiple inclusion guards of generated header files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26063 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-22 17:38:20 +00:00
diego 584fe5daf2 Add MPLAYER_ prefix to multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26062 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-22 17:32:36 +00:00
diego 54b8a250de Create standard multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26058 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-21 22:57:10 +00:00
diego fe9ec3ffdd Consistently use uppercase filename as multiple inclusion guard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25897 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-28 01:32:52 +00:00
diego 1af6d4f590 Change #warning to FIXME comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25888 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 17:40:38 +00:00
diego a025db119d Fix illegal identifiers, names starting with __ are reserved for the system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25887 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 17:32:26 +00:00
reimar ecbdc3f41b Make some radeon vidix driver tables static and const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25746 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 17:52:29 +00:00
diego fe86c8557a Fix illegal identifiers, names starting with __ are reserved for the system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25648 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-08 00:37:41 +00:00
diego 7023cdec7b Fix illegal identifier, names starting with _ and uppercase are reserved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25647 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 23:43:10 +00:00
diego 547094ba51 Fix illegal identifier, names starting with _ and uppercase are reserved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25646 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 23:34:15 +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 dcfa6330ed Get rid of build system hackery to generate mga_crtc2_vid.o and rage128_vid.o.
Instead, create files that #include mga_vid.c/radeon_vid.c with the proper
#defines set.  This has the added benefit of fixing dependency generation,
which only works for existing .c files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25589 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-02 22:00:34 +00:00
diego d0dc5cbb6a Properly express dependencies for generated .c and .h files.
This fixes parallel make runs, compare Bugzilla #967.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25588 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-02 21:50:30 +00:00
diego d505bb051b 10l: Replace #define with #endif where I really meant to write #endif.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25582 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-02 00:19:19 +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 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 425eb2c9e5 Comment out the correct #endif directive.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25560 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-31 15:57:54 +00:00
diego a9d779578d Make windres binary name configurable, useful for cross-compiling.
patch by sheba, sheba469 yahoo com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25534 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-28 10:33:22 +00:00
diego 1686f19335 typo in preprocessor condition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25532 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-27 12:27:10 +00:00
diego da8c4f3696 pci_db2c.awk creates more than just two .c files, add the rest to the rule.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25520 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-24 10:00:21 +00:00
diego 23a91d9a38 Skip unnecessary (debug) output; obey the rule of silence.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25519 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-24 09:59:47 +00:00
ben b411a839c2 r25345 patched the wrong line.
Here's the right fix (100l to me, i deserved them)
Patch by Guillaume Lecerf.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25443 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 19:35:30 +00:00
ben da9b0d3a24 implemented frame selection for savage driver
synchronized with vidix.sf.net r325



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25399 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-14 18:38:08 +00:00
ben 59a1a6d1f8 fix frame size calculation
synchronized with vidix.sf.net r325



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25398 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-14 18:36:08 +00:00
ben b403749407 remove useless code parts
synchronized with vidix.sf.net r325



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25397 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-14 18:25:06 +00:00
ben 0dabe9f877 bgr24 and bgr32 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25396 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-14 18:19:50 +00:00
ben 068f218e67 rgb -> bgr
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25395 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-14 18:15:34 +00:00
ben d4a899005b register values were already set: simplify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25394 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-14 17:59:43 +00:00
ben 3e23146dc8 Fixed VIDIX color bug that was introduced when Radeon VIDIX driver
was synchronized with vidix.sf.net.
The red color was saturating.
Corrected value fixes the issue and restore the color to the level
it used to have before synchronization.
Meaning of the value remains unknow but was retrieved from
register's value of a Radeon 9000 card, so it may need further testing.
Patch by Guillaume Lecerf (foxcore at gmail dot com)



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25345 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 19:27:46 +00:00
ben c5ba1bf7e3 Dump the ati radeon DISP_MERGE_CNTL register to ease the
debugging of VIDIX color bug.
Patch by Guillaume Lecerf (foxcore at gmail dot com)



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25344 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 19:13:54 +00:00
ben 8e492d3eb5 sync ivtv driver with vidix.sf.net (multiple revisions)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25304 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-04 22:37:58 +00:00
ben e3ae84b058 sync with vidix.sf.net r319: remove useless vars
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25303 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-04 22:33:46 +00:00
ben e4838f2bbd sync with vidix.sf.net r317: fixes colorspace issues for vidix savage driver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25302 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-04 22:33:08 +00:00
ben b35efc5f05 Sync with vidix.sf.net r320: ati radeon >= R5xx do not have overlay
engine anymore but use 3D texture mapping instead; hence no chance
to be supported by this driver.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25301 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-04 22:22:24 +00:00
ben 7d4d34240e sync with vidix.sf.net r318: resolve bitfield collision in vidix radeon driver (patch by Guillaume Lecerf)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25300 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-04 21:56:18 +00:00
ben cee668bb27 add new configure option to disable VIDIX PCI device name database (saves a 300 kB on mplayer binary)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25299 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-04 18:10:20 +00:00
ben d1d9e92b78 synchronized with vidix.sf.net r315: remove now useless defines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25286 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-03 19:06:23 +00:00
ben f281a9202f synchronized with vidix.sf.net r315: update savage driver pci ids list
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25285 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-03 19:05:12 +00:00
diego d553a2cea1 Restore copyright/license notices that were stripped off.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25160 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-25 16:44:33 +00:00
diego 65c2ef963f Remove mapdev.vxd. It is a non-free Win9x/DOS binary and its usage remains
obscure.  In the unlikely case that someone should need it, it is archived at
http://www1.mplayerhq.hu/MPlayer/contrib/win32/
Blessed by Benjamin.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25159 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-25 15:32:18 +00:00
faust3 9713db6578 add functions for the vga register access patch by Guillaume LECERF <foxcore at gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24594 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-23 12:11:19 +00:00
faust3 92284cb04e add some commented register dumping code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24588 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-20 17:55:25 +00:00
faust3 7f0310e03f rivatv_lock_nv04 is actually an extended version of rivatv_lock_nv03 (patch by Guillaume LECERF <foxcore at gmail.com>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24585 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-19 21:47:35 +00:00