Re: Re: YUV to RGB

wesley kiriinya <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.theora.devel
Message-ID <[email protected]>
Mike Melanson: I want to store RGB values instead of YUV. I don't understand the theoretical and practical implications of this and that's why I'm asking about it. I would like to know whether it cannot work and why.
I'm targeting a minimum Pentium 4 Celeron, 256MB RAM. Video resolution are about 200 X 200 pixels with a maximum of 2 playing simultaneously as the game is playing (i.e. processing AI, physics, scene rendering,  etc) so that's why I need the processor to be as free as possible (i.e. not doing YUV -> RGB).

Intangir: "the code i just posted is actually from a game engine..." Where is the code? Can't see it in the email.

Regards.

Mike Melanson <[email protected]> wrote: wesley kiriinya wrote:
> Instead of storing YUV in the stream I would store RGB values. The
> y_width and uv_width would be the same. I am only doing this so that I
> can play the files in my video game i.e. the ogg files won't be intended
> for use by another application that plays ogg files because the
> application would not know that the YUV is actually RGB. Can that work?

Are you talking about encoding a custom Ogg/Theora file that uses an RGB
colorspace instead of a YUV colorspace? If so, are you sure you
understand the theoretical and practical implications of that?

What are the minimum system specs that you are targeting for this game?
and what resolution of videos are you planning? It may not be that
arduous to convert YUV -> RGB in real-time, especially considering that
your game probably isn't going to be doing AI processing or physics
calculations while it's playing a FMV cutscene (though it may be
decoding Vorbis audio).

-- 
 -Mike Melanson


       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

_______________________________________________
theora-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/theora-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.