[theora-dev] Re: YUV to RGB
wesley kiriinya
kiriinya2000 at yahoo.com
Fri Feb 8 04:21:41 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.
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
---------------------------------
Never miss a thing. Make Yahoo your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/theora-dev/attachments/20080208/d8a17b27/attachment.htm
More information about the theora-dev
mailing list