[Theora] will there be theora_decode_RGBout() ?

davidkment at web.de davidkment at web.de
Thu Jun 30 10:04:28 PDT 2005



(sorry, the previous mail was sent individual instead of directly to the list...)

i allready looked at the 3 different players, and they all use SDL, displaying directly to a YUV surface.

i allready have taken a look at some code to convert a plain YUV (YCbCr) pixel to RGB,
but what confuses me is the information that uncompressed YUV is just half the size of 24 bit RGB
(don't know whether this is correct).

the problem is that my application cannot display YUV images, and converting to 24 bit RGB is essential.

so, how can i access the yuv buffer, to get the right value for each single pixel, which then can be converted?
is it simply Y & U & V representing a non-interleaved pixel series?

thanks,

---david


> Markus Meyer <meyer at mesw.de> schrieb am 30.06.05 13:51:35:
> > 
> > Hi David,
> > 
> > just look at the example player in Theora CVS, it should explain all 
> > important concepts.
> > 
> > 
> > Markus
> > 
> > david kment schrieb:
> > 
> > >hi folks!
> > >
> > >i would like to know whether there will be some function to decode to some plain 24 bit RGB buffer in the future.
> > >
> > >i think this feature is sometimes important, especially when using different surface layers, or when modifying
> > >the buffer in realtime.
> > >
> > >if this feature will definitely not be, could someone tell me how i can convert to some RGB buffer in realtime?
> > >i already tried different example codes, but i did not succeed, since i do not seem to understand the way the YCbCr data works....
> > >
> > >thanks a lot in advance,
> > >
> > >
> > >---david
> > >
> > >
> > >
> > >
> > >______________________________________________________________
> > >Verschicken Sie romantische, coole und witzige Bilder per SMS!
> > >Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
> > >
> > >_______________________________________________
> > >Theora mailing list
> > >Theora at xiph.org
> > >http://lists.xiph.org/mailman/listinfo/theora
> > >
> > >  
> > >
> > 
> 
> 


__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201



More information about the Theora mailing list