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?<br><br>Regards.<br><br><b><i>Ralph Giles <giles@xiph.org></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On Tue, Jan 15, 2008 at 05:28:43AM -0800, wesley kiriinya wrote:<br><br>> Using the GPU is not currently an option. I'm also targeting PCs that don't have GPUs.<br>> I'm thinking of creating a utility that will read an OGG file, get the theora stream, convert the YUV to RGB and save the RGB instead of YUV to the OGG file. In this case the YUV read out will be RGB. Due to the real time nature of the application I'm developing simply reading
the RGB will be better.<br>> In my mind this sounds simple enough. I'm surprised that no such utility exists or I'm I wrong?<br><br>If you're thinking of storing the video in Ogg compressed with the <br>theora codec, it will be stored in YUV. That's the only format theora<br>supports internally.<br><br>> Also does SDL convert YUV to RGB or is YUV data used directly as one normally uses RGB?<br><br>SDL has a 'YUVOverlay' interface which does the YUV to RGB conversion <br>for display.<br><br> -r<br></blockquote><br><p> 
<hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a>