1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 16:33:02 +00:00
Commit Graph

55 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
szabi
8188f8359c use <linux/slab.h> instead of <linux/malloc.h> for kernels 2.4.9+
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3126 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-25 23:34:37 +00:00
arpi
975cab72a8 ah, crtc2 disabled by default
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2346 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-21 17:30:28 +00:00
arpi
8537eef51d CRTC2 YUV support (buggy?) by Jiri.Svoboda@seznam.cz
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2345 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-21 17:28:04 +00:00
arpi
9efe559634 gpl fix?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2263 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-18 20:52:33 +00:00
arpi
d6e14e8c5f save and restore colorkey, to work together with Xv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2087 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-04 22:25:13 +00:00
arpi
a187b95c26 working together with Xv (disabling colorkey at close)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2086 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-04 21:15:01 +00:00
arpi
6460971664 G550 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1990 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-09-27 17:00:35 +00:00
arpi_esp
f2f55036f8 gcc warnings fixed - patch by Aelius aelius@wish.net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@855 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-05-23 19:51:52 +00:00
arpi_esp
c11555c175 G200 ramsize detection disabled, using 8M by default
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@663 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-04-29 20:24:38 +00:00
arpi_esp
10f985abb2 I420/IYUV support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@471 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-04-16 03:33:35 +00:00
arpi_esp
fd80ec7a2d UYVY support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@467 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-04-16 01:26:08 +00:00
arpi_esp
aab77fd7ec G400 32MB SDRAM fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@106 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-14 16:41:26 +00:00
arpi_esp
ae2af2aa16 G200/8MB SD ramsize detection fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@103 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-13 00:46:38 +00:00
arpi_esp
a803512edb mga_ram_size=x works with hard-coded ramsize too (szabi)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@102 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-13 00:23:52 +00:00
arpi_esp
ca0baa0c34 mga_force_memsize->mga_ram_size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@96 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-12 01:57:14 +00:00
lgb
c583b5d8eb printk() message for video off when releasing mga without ioctl()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@95 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-12 01:44:07 +00:00
lgb
1aed6f2c01 Module usage count not to allow remove module when used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@94 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-12 01:35:48 +00:00
lgb
8a22dd0a52 Force matrox memsize module option fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@92 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-11 23:01:14 +00:00
szabii
dc92700909 mga_force_memsize parameter added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@91 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-11 22:24:03 +00:00
arpi_esp
4ede80633f printk's updated
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@78 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-11 00:13:43 +00:00
arpi_esp
2af01d4839 ramsize detection updated, test again\!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@76 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-10 23:53:27 +00:00
arpi_esp
fdf71354d0 IRQ handler disabled, vcount-based vsync
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@69 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-10 02:27:50 +00:00
arpi_esp
95e9112d02 new RAMSIZE detection code... test it\!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@65 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-09 00:49:37 +00:00
arpi_esp
f4936e3362 some printk debug level changed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@64 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-09 00:43:02 +00:00