[Theora-dev] yuv2rgb

illiminable ogg at illiminable.com
Thu Dec 9 00:16:43 PST 2004


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

Should be able to find what you need in there.

Zen.
----- Original Message ----- 
From: "Alen Ladavac" <alenl-ml at croteam.com>
To: "lluis" <lluis at artefacte.org>; <theora-dev at xiph.org>
Sent: Thursday, December 09, 2004 4:38 PM
Subject: Re: [Theora-dev] yuv2rgb


> Here are some usefull references:
>
> a) checkout http://www.fourcc.org/yuv.php
> b) search for "Video Rendering with 8-Bit YUV Formats" on
> http://msdn.microsoft.com/library
>
> To help you filter the information you are interested in, the format that
> theora uses internally is officially called YV12.
>
> That's regarding the color format. I hope you understand the image layout
> tricks with negative strides etc.
>
> HTH,
> Alen
>
> ----- Original Message -----
> From: "lluis" <lluis at artefacte.org>
> To: <theora-dev at xiph.org>
> Sent: Thursday, December 09, 2004 00:30
> Subject: [Theora-dev] yuv2rgb
>
>
>>
>> hi all,
>>
>> i'm trying to code a tool to get some images from a ogg/theora file ....
>>
>> so basically i need to get a frame and convert to rgb ... and here is my
>> question (sorry, i'm newbe here) ...
>>
>> how to convert a yuv_buffer to a rgb matrix ?
>>
>> i tryied diferent ways but my mistakes are bassically cause i don't
>>  understant how yuv_buffer structure works ...
>>
>> anybody can help? thanks a lot.
>>
>> ll-.
>> _______________________________________________
>> Theora-dev mailing list
>> Theora-dev at xiph.org
>> http://lists.xiph.org/mailman/listinfo/theora-dev
>>
>
> _______________________________________________
> Theora-dev mailing list
> Theora-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/theora-dev
>
>
> 




More information about the Theora-dev mailing list