Commit Graph

166 Commits

Author SHA1 Message Date
diego 7fe7f31e82 embarassing typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12858 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-19 23:11:06 +00:00
alex e1ed2ee4de mga_vid under linux 2.6.x support written by F. O. Tempel, Ed Sweetman, Gergely Nagy among others
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12695 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 14:03:06 +00:00
gabucino fadce2d781 many small typo and grammar fixes
Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11001 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-04 17:29:08 +00:00
attila afe36fd0a5 * Add multi device support.
For the moment up to 16 cards are supported.
  More can be added easily by changing 2 defines.
  This makes 90% of the patch (mostly stupid s/$var/card->$var/)
  The different devices can be accessed by different minor
  numbers (0-15):
  	mknod /dev/mga_vid0 c 178 0
  	mknod /dev/mga_vid1 c 178 1
  	mknod /dev/mga_vid2 c 178 2
  	mknod /dev/mga_vid3 c 178 3
	...
	ln -s mga_vid /dev/mga_vid

* Change the devfs code to let the kernel assign us
  a major and a minor number (what is the sense behind
  using devfs anyways if we dont do that ?)
  Subdevices for the different cards are created.
  mga_vid uses the first card (for compatibility)

* Fix a possible error when mmap() is called before
  the card is configured by a ioctl().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10744 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 20:57:34 +00:00
diego 8838b4afa6 output typo fixes: unknow --> unknown
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10398 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-09 01:30:24 +00:00
albeu 329c07dcb2 Allow negative x,y for the overlay.
Fix the window size


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10340 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-26 13:21:59 +00:00
albeu dec444e1a9 The overlay can't downscale
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9707 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-27 20:25:32 +00:00
alex 79926901bc selectable 'major', patch by Hans-Andreas Engel <engel@node.ch>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9640 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-21 17:59:15 +00:00
alex 57bd498e1b multiple mga device support by Hans-Andreas Engel <engel@node.ch>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9632 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-21 16:29:04 +00:00
arpi f89de81e9f add MODULE_LICENSE
based on patch by Kronos <kronos@kronoz.cjb.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9589 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-14 23:22:35 +00:00
albeu 6e87e75c63 Shut up some debug messages
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9569 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-12 14:58:55 +00:00
albeu 6b271acc7e Overlay support (now vo_xtdfx is possible :) and yet another way to
access the mem. Still the same problem than with the page fault handler :(
But it doesn't need a patched agpgart.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9567 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-12 11:09:23 +00:00
albeu 6445a3b524 Update, new page fault handler to access the agp mem. Doesn't really work
here (display is grabelled) but read are realiable and fast. Could
it be possible to write with the aperture and read with the page fault
handler ?


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9559 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-09 23:55:42 +00:00
albeu 5aa58789dd I forgot to commit this file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9558 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-09 23:42:01 +00:00
albeu 4db6d23cc2 tdfx_vid a new kernel driver for tdfx wich let use agp move :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9546 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-07 18:42:08 +00:00
attila 97f08af457 workaround wrong detected memory sizes on G400 cards.
patch by ilmari@ping.uio.no (Dagfinn Ilmari Mannsåker)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9519 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-02 21:21:56 +00:00
eyck 22ecaf7304 Fix mistake in applying patch from Alex Beregszaszi.
There's no security problem here, but better safe then sorry.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9450 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-17 06:46:31 +00:00
eyck 7e94383861 Fix for string handling bug from Alex Beregszasz
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9413 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-13 09:34:37 +00:00
iive 18497051d1 keep reserved bits zeroed, test & bug report by andee (at irc.freenode.net)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9211 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-01 20:15:48 +00:00
mosu 23486f48a5 bunkus: Encapsulated arguments to #define in ( ... ) so that the #defines can be safely used like functions: mydef(flag ? val1 : val2)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8958 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-15 11:16:33 +00:00
alex 28148c211c M6 bug workaround by Hanno Bock <hanno@gmx.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8942 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-13 10:08:21 +00:00
arpi c912f043de obsolete, no one seems to be interested to fix/update/finish this
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7277 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-04 23:53:12 +00:00
mark 8305ecd800 Fixed some breakages of single-buffer rendering of tdfx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7138 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 12:04:21 +00:00
arpi ddc4bdf2cb removed -W -Wall -g and other gcc-specific warning/debug options
patch by Joey Parrish <joey@yunamusic.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7074 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-22 23:29:46 +00:00
arpi 18e083f217 - fixed overflow by +-0x80
- save brightness/contrast values, so they won't be reset at next file


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6799 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-25 21:34:24 +00:00
alex e354f2b7c1 little fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6790 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-25 13:38:14 +00:00
diego 50fcc51223 FFmpeg libavcodec directory is unknown to CVS, as is mga_vid_test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6728 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-13 15:10:33 +00:00
pontscho 65f5523fdc switch off nearest scaling ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6679 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-09 10:14:55 +00:00
alex d1d354e009 linux-2.5.x support patch by Sytse Wielinga <s.b.wieling at student.utwente.nl>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6587 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-28 16:35:37 +00:00
pontscho f083f1beaa fix fourcc's problem
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6472 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-20 14:37:09 +00:00
jaf b3d7b46180 When compiling mga_vid_test.c, memcpy() is subject to an implicit
declaration. The attached patch fixes it.

by Tore Anderson <tore@linpro.no>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6246 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-31 21:42:15 +00:00
arpi 92afb163d3 devfs fallback support?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6087 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-13 22:10:11 +00:00
arpi b54f0f601f patch that should fix the "isofs uses mga_vid" bug
by Attila Kinali <kinali@gmx.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5885 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-28 17:22:40 +00:00
arpi 386e820db2 devfs fix?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5765 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-21 15:07:44 +00:00
arpi 684341521b dvfs fix, 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5683 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-18 16:44:21 +00:00
eyck 247550acdb Mark Schreiber sent link to Marcus Sundburg patch to mga_vid, which enables
mga_vid operation with devfs.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5654 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-16 20:19:47 +00:00
eyck 04536ff9c5 It is not the right place for this.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5632 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-15 11:11:25 +00:00
eyck b4c20d5607 mga_vid driver in form of a patch against linux-2.4.18
applicable using for example cd linux && patch -p1 < ~/mgavid.patch


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5626 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-15 00:08:22 +00:00
eyck 4eaca87b8c Most of informational printk's ifdef'd.
Now without debug only initial and error messages go to syslog.
eyck added to list of people who messed with this file(?).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5624 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-14 23:14:26 +00:00
arpi f28fbb3a82 no native support for I420 in G200
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5337 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-25 16:22:15 +00:00
arpi bf5be677e2 min() moved out of #if, applied brightness/contrast patch by Brian J. Murrell
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5014 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-10 03:36:16 +00:00
eyck 5979a71903 Add module parameters: contrast and brightness, so when you need those permanently
adjusted just add lines to /etc/modules or sth.
insmod mga_vid.o mga_brightness=100 mga_contrast=-79


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4729 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-16 19:58:39 +00:00
arpi 6fe71521d7 g550 memdetect fix - patch by Diego Biurrun <diego@biurrun.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4595 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 00:49:38 +00:00
rfelker c1977c9ed5 added mga_top_reserved module parameter to skip a configurable amount
of space at the top of video memory. this is needed to prevent
corruption of the kernel's console font when using the "fastfont"
option with matroxfb.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4560 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-07 02:07:29 +00:00
eyck 2b819b72c8 print also contrast on cat /dev/mga_vid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4528 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-04 16:05:37 +00:00
eyck a1039fb1cd Attila Kinali fixing memleak introduced by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4521 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-03 19:19:39 +00:00
eyck 6a6350bce0 Attila's Linux 2.2 patch, and contrast control applied
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4488 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-02 23:38:35 +00:00
eyck 4fc4130bf7 support cat /dev/mga_vid.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4485 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-02 21:39:25 +00:00
eyck 22dfed32b5 framework for settings modifications like in radeon_vid ( /dev/mga_vid can
be written to ).
Brightness and chroma control.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4484 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-02 20:49:52 +00:00
arpi 349677168c lastminute divbyzero fix by Attila Kinali ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3960 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-02 23:38:16 +00:00