Re: v4l SDL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Matias Freytes wrote:

On Sun, 20 Jan 2002, Jacek [iso-8859-2] Pop³awski wrote:

On Sun, Jan 20, 2002 at 07:51:44PM +0000, zen Genius wrote:

Apparently SDL provide functions to draw bmp image, but not RGB 24.

You can draw anything you want with SDL.
Just SetVideoMode with bpp=24 (or 32), then learn how to access "pixels" or
BlitSurface.


Even YUV420? Does SDL manage fast YUV to RGB conversions (e.g.
YUV420 to RGB565?)

thank you,
Matias.


SDL uses hardware YUV->RGB and hardware stretching, if available. If not, it uses some highly optimised assembly converters/stretchers. See the SDL_Overlay functions.

-justin








[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux