[Xcb] xcb_shm_put_image

Rémi Denis-Courmont remi at remlab.net
Sun Jan 1 12:03:13 PST 2012


   Hello,

On Thursday 29 December 2011, Peter Harris wrote:
> The documentation is supposed to be here:
> http://cgit.freedesktop.org/xorg/proto/videoproto/tree/xv-protocol-v2.txt
> 
> but it appears whoever added the shm_put_image request forgot to
> document it. I've never used xv_shm_put_image (as I said earlier, I
> prefer the core shm_put_image combined with RENDER transform), so I'm
> afraid I don't know the format off the top of my head.
> 
> You could try using xscope and/or wireshark to see what the Xlib
> version puts on the wire.

That function works just fine. VLC has been using it for several years. It is 
basically the same as xcb_shm_put_image() except for the XVideo port and image 
format *instead*of* the bit depth and the X11 image format (usually Z pixmap).

-- 
Rémi Denis-Courmont
http://www.remlab.info


More information about the Xcb mailing list