Re: Re: YUV to RGB
wesley kiriinya <[email protected]>
| Newsgroups | gmane.comp.multimedia.ogg.theora.devel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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. _______________________________________________ theora-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/theora-dev