Em Qua, 2003-08-27 �s 16:17, Jo�lle Nakhl� escreveu:

>    just a little question about conversion of formats.  I'm using the
> v4l API to develop an application.

>    To do recording from my program, I need to set the format of
> video_mmap to VIDEO_PALETTE_RGB24.  To display on screen though, the
> format has to be VIDEO_PALETTE_RGB32.

>    Is it possible to convert the first format into the second one? If
> yes, how?

Just throw it on a sdl surface and let sdl do its magic :-) Are you
using 32 bits/channel for what? Is there any alpha information?


--
video4linux-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/video4linux-list

Reply via email to