summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-03 20:04:03 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-03 20:04:03 +0000
commitbfd89d7610aabd5a5b872a2f9b91ad1f6d272e27 (patch)
treeea71627afacb95b59b0d3c4eb3fea8a0bac0d4b6 /configure
parent8aef85f1c29c9f4654366ec8113ab228f771789c (diff)
downloadmpv-bfd89d7610aabd5a5b872a2f9b91ad1f6d272e27.tar.bz2
mpv-bfd89d7610aabd5a5b872a2f9b91ad1f6d272e27.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure b/configure
index 0635b126a3..b97d7e66a8 100755
--- a/configure
+++ b/configure
@@ -382,6 +382,7 @@ Video output:
--enable-3dfx enable obsolete /dev/3dfx video output [disable]
--enable-tdfxfb enable tdfxfb video output [disable]
--enable-s3fb enable s3fb (S3 ViRGE) video output [disable]
+ --enable-wii enable Nintendo Wii/GameCube video output [disable]
--enable-directfb enable DirectFB video output [autodetect]
--enable-zr enable ZR360[56]7/ZR36060 video output [autodetect]
--enable-bl enable Blinkenlights video output [disable]
@@ -649,6 +650,7 @@ _termcap=auto
_termios=auto
_3dfx=no
_s3fb=no
+_wii=no
_tdfxfb=no
_tdfxvid=no
_xvr100=auto
@@ -1108,6 +1110,8 @@ for ac_option do
--disable-3dfx) _3dfx=no ;;
--enable-s3fb) _s3fb=yes ;;
--disable-s3fb) _s3fb=no ;;
+ --enable-wii) _wii=yes ;;
+ --disable-wii) _wii=no ;;
--enable-tdfxfb) _tdfxfb=yes ;;
--disable-tdfxfb) _tdfxfb=no ;;
--disable-tdfxvid) _tdfxvid=no ;;
@@ -3762,6 +3766,17 @@ else
fi
echores "$_s3fb"
+echocheck "wii"
+if test "$_wii" = yes ; then
+ _def_wii='#define CONFIG_WII 1'
+ _vosrc="$_vosrc vo_wii.c"
+ _vomodules="wii $_vomodules"
+else
+ _def_wii='#undef CONFIG_WII'
+ _novomodules="wii $_novomodules"
+fi
+echores "$_wii"
+
echocheck "tdfxvid"
if test "$_tdfxvid" = yes ; then
_def_tdfxvid='#define CONFIG_TDFX_VID 1'
@@ -8659,6 +8674,7 @@ $_def_ggi
$_def_ggiwmh
$_def_3dfx
$_def_s3fb
+$_def_wii
$_def_tdfxfb
$_def_tdfxvid
$_def_xvr100