[theora-dev] Re: YUV to RGB

wesley kiriinya kiriinya2000 at yahoo.com
Fri Feb 8 04:21:58 PST 2008


Hi,
 I managed to store RGBs in the YUVs then encode the frames (with RGB instead of YUV), but it seems like because of the compression the decoded frames don't look good. I guess the compression would have to be lossless.
In case you are wondering how the RGB could fit in YUV, I had to adjust the size of the original YUV frames to be bigger in order to accommodate the extra RGB data.

 Intangir: Thanks for the code.

Thanks for the help.

Ralph Giles <giles at xiph.org> wrote: On Tue, Jan 15, 2008 at 12:56:24PM -0800, 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?

Oh, got you. Try it and see if it's acceptable to you.

 -r


       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/theora-dev/attachments/20080208/9430a142/attachment.html


More information about the theora-dev mailing list