Mercurial > mplayer.hg
diff libvo/video_out.c @ 27375:80d93ca55238
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)
author | ben |
---|---|
date | Sun, 03 Aug 2008 20:04:03 +0000 |
parents | 14c5017f40d2 |
children | d58d06eafe83 |
line wrap: on
line diff
--- a/libvo/video_out.c Sun Aug 03 16:26:11 2008 +0000 +++ b/libvo/video_out.c Sun Aug 03 20:04:03 2008 +0000 @@ -79,6 +79,7 @@ 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 @@ #ifdef CONFIG_S3FB &video_out_s3fb, #endif +#ifdef CONFIG_WII + &video_out_wii, +#endif #ifdef CONFIG_3DFX &video_out_3dfx, #endif