I'm currently porting the MPlayer media player to the Wii ( http://ronwarez.com/mplayerwii ) and for speed purposes, I'd like to display YUV textures on the screen instead of converting the YUV video source to RGB texture formats on every frame.
By grep-ing, I could see that there are some references to some YUV420p texture format, but I have no idea how to use it. Is there any source code or example available?
Thanks,
-fcorbier
YUV420 textures
Re: YUV420 textures
There is none, however, the TEV can be tricked into converting YUV to RGB. You would upload the Y, U and V channel into separate textures, and then combine them in a clever way using multiple texture coordinates and multitexturing.
I don't have a working code example though - I've just seen games doing this in Dolphin
I don't have a working code example though - I've just seen games doing this in Dolphin
Re: YUV420 textures
Thanks for the tip, I guess I'm just gonna deal with RGB textures then
Who is online
Users browsing this forum: No registered users and 0 guests