Commit Graph

428 Commits

Author SHA1 Message Date
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
diego 7db8f740c5 Mark phony targets as such.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24569 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-18 10:23:34 +00:00
diego 96db901f35 Simplify commands with automatic variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24568 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-18 10:23:16 +00:00
faust3 2a7e1da08f fix indentation after the last change (patch by Guillaume LECERF <foxcore at gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24567 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-18 09:53:03 +00:00
faust3 966b005fe5 it is no longer necessary to reboot the system after the dhahelperwin installation (based on code by Romain Lievin from the tilp project)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24562 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-17 21:53:16 +00:00
faust3 04145051ba - make dhahelperwin compile with mingw
- add dhahelper.rc
based on code by Kevin Kofler and 
Romain Liévin <roms at lievin.net> from the tilp project
http://svn.tilp.info/cgi-bin/viewcvs.cgi/libticables/trunk/src/win32/dha/


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24561 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-17 21:12:29 +00:00
faust3 bdae402dca Make dhasetup more verbose based on code by
Romain Lievin from the tilp project
http://svn.tilp.info/cgi-bin/viewcvs.cgi/libticables/trunk/src/win32/dha/


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24560 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-17 21:03:24 +00:00
faust3 85c58040fc rename windows ddk makefile to nmakefile so that a makefile for mingw can be added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24559 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-17 19:33:33 +00:00
faust3 05469a7722 fix resolution detection for NV03 and NV04 cards, patch by Guillaume LECERF <foxcore at gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24557 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-17 18:17:41 +00:00
ben 11f34464a9 avoid rivatv_lock_nv40() from trashing the screen (patch by Guillaume Lecerf <fox at geexbox dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24537 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-15 18:44:54 +00:00
ben 25d3363a96 fix screen width and height calculation on nvidia vidix (patch by Guillaume Lecerf (fox at geexbox dot org)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24536 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-15 18:42:26 +00:00
ben a4a215beac the IN/OUT PORT 8/16/32 functions rely on inb/inw/inl/outb/outw/outl that are not available on alpha and powerpc architectures
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24532 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-15 17:51:05 +00:00
ben dcd13c2013 this flag needs to be defined for pread() on powerpc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24531 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-15 16:45:38 +00:00
ben 0f4276fe38 ifdef one variable that is not used with alpha and powerpc architectures
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24530 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-15 16:42:50 +00:00