[vlc-devel] Re: Video filter chroma conversion

Dugal Harris dugalh at thales.co.za
Thu Jun 29 17:36:00 CEST 2006


>Hi,
>
>On Wed, Jun 28, 2006, Dugal Harris wrote:
>  
>
>>I am writing video filters that require RGB (rv24?/rv32?) input video.  
>>Currently the input video is in a YUV format.  Is there a way I can 
>>force VLC to provide the filters with RGB video?  If not, please could 
>>you provide some pointers as to how can I convert to RGB inside the filter?
>>    
>>
>
>You can convert images from one format to another using the
>image_Convert( ) function. See mosaic.c for example usage of this
>function in a video filter. You will have to set the fmt_out.i_chroma
>variable to the color space's fourcc.
>
>I hope this helps,
>  
>
That works - thanks very much.

Dugal

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list