[Theora] Converting RGB YUV and back

illiminable ogg at illiminable.com
Sat Feb 12 02:36:07 PST 2005


Most of the conversions you will need can be found in this code...

http://svn.xiph.org/trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/TheoraEncodeInputPin.cpp

You'll need to make a few changes appropriate to your use.

Zen.
----- Original Message ----- 
From: "Florian Geyer" <florian-geyer at web.de>
To: <theora at xiph.org>
Sent: Wednesday, February 09, 2005 11:45 PM
Subject: [Theora] Converting RGB YUV and back


> Hi all,
> how can I convert a RGB (24 or 32) image I'm getting from a webcam for
> example to YUV to compress it with theora, decompress it and convert it 
> back
> to RGB to draw it?
>
> Any suggestions?
>
> Best regards,
> Florian
> (Stuttgart, GERMANY)
>
> _______________________________________________
> Theora mailing list
> Theora at xiph.org
> http://lists.xiph.org/mailman/listinfo/theora
>
>
> 




More information about the Theora mailing list