Commit Graph

14 Commits

Author SHA1 Message Date
diego c27cdb7288 Do not initialize fb_dev_fd to -1, similar to vo_fbdev.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28028 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 14:44:09 +00:00
diego 1add1d6597 cosmetics: Add/remove a few newlines similar to vo_fbdev.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28027 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 14:35:08 +00:00
diego 582bb322d7 Remove useless setting of frame_buffer to NULL as suggested by Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28017 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 08:43:13 +00:00
diego 472e68dace Move setting of frame_buffer variable out of 'if', as preferred by Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28015 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 08:40:11 +00:00
diego 5b239d47bd Handle fb_dev_name similar to vo_fbdev in vo_wii.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27999 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-23 14:57:51 +00:00
diego 9aa2edf9d1 Merge another if condition check to lessen differences to vo_fbdev.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27998 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-23 14:32:39 +00:00
diego df58b1815f Use static variable instead of #define to lessen differences to vo_fbdev.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27997 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-23 14:15:54 +00:00
diego 9c8445f5f9 Get rid of TTY_DEV_NAME #define to lessen differences to vo_fbdev.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27996 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-23 13:55:23 +00:00
diego c6af321ba7 Merge another if condition check to lessen differences to vo_fbdev.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27995 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-23 13:51:16 +00:00
diego 2a044df222 Merge if condition check to lessen differences to vo_fbdev.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27994 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-23 13:42:41 +00:00
diego ce17f21bb1 cosmetics: one more round of whitespace changes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27992 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-23 13:23:14 +00:00
diego 8ea5ce98d8 cosmetics: further reformatting to lessen differences to vo_fbdev.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27991 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-23 13:19:43 +00:00
diego 73fab6a412 cosmetics: Reformat some lines to lessen differences to vo_fbdev.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27984 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-23 12:08:18 +00:00
ben bfd89d7610 Add video driver for Nintendo Wii/GameCube.
Original patch by Jing Liu <fatersh-1@yahoo.com>,
based on vo_fbdev.c and adapted to Nintendo's specific GPU.

This driver handles dedicated ATI GPU, which can be found in:
 - Nintendo GameCube (ATI LSI Flipper @ 162 MHz)
 - Nintendo Wii (ATI Hollywood @ 243 MHz)

Flipper and Hollywood chipsets are pretty similar, except from clock speed:
 - Embedded framebuffer is 2MB.
 - Texture cache is 1MB.
 - Vertex cache is 0.1 MB.
 - Framebuffer is YUY2, not RGB.
 - Best resolution is 480p (854x480)
          


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27407 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 20:04:03 +00:00