On Thu, 4 Oct 2001, Michael Zayats wrote:

> I know that it is a newbie question, but everybody should start at some
> point :)
>  
> I have video frames captured 25fps in 24bpp RGB. I want to draw them in
> X11 window. I can't just overlay from framegrabber(bt848) to the
> framebuffer (because of camera switches that take place in a middle,
> frames are filtered in my app). Hardware scaling is needed badly.
> I don't know if it's important, but my framebuffer is running in 32bpp
> and I couldn't make it run in 24 bpp (i810). 
>  
> to summarize: I have buffers with 24bpp RGB and want to put it fast and
> CPU-economically in X11 window.
>  
> Can somebody advise me? XVideo? undocumented XvPutImage? some simple
> code skeleton for it?
>  

  It might be fast with glDrawPixels with some OpenGL implementations.
Xv adaptors usually only support YUV (though they can theoretically
support RGB, if the hardware/driver supports it).  I believe packed
24bpp RGB aren't supported by all that many hardware though.  32bpp
XRGB or ARGB are more common.


                                Mark.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to