diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-03 20:04:03 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-03 20:04:03 +0000 |
commit | bfd89d7610aabd5a5b872a2f9b91ad1f6d272e27 (patch) | |
tree | ea71627afacb95b59b0d3c4eb3fea8a0bac0d4b6 /libvo/video_out.c | |
parent | 8aef85f1c29c9f4654366ec8113ab228f771789c (diff) | |
download | mpv-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 'libvo/video_out.c')
-rw-r--r-- | libvo/video_out.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c index 2d62fc7e87..52ff35e323 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -79,6 +79,7 @@ extern vo_functions_t video_out_sdl; extern vo_functions_t video_out_3dfx; extern vo_functions_t video_out_tdfxfb; extern vo_functions_t video_out_s3fb; +extern vo_functions_t video_out_wii; extern vo_functions_t video_out_null; extern vo_functions_t video_out_zr; extern vo_functions_t video_out_zr2; @@ -142,6 +143,9 @@ const vo_functions_t* const video_out_drivers[] = #ifdef CONFIG_S3FB &video_out_s3fb, #endif +#ifdef CONFIG_WII + &video_out_wii, +#endif #ifdef CONFIG_3DFX &video_out_3dfx, #endif |