xcb_xv_shm_put_image(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– xcb_xv_shm_put_image β€” the XCB Requests era πŸ’–

okay bestie, so this is xcb_xv_shm_put_image, a little request function living in the XCB Requests corner of the X world πŸ¦‹. That's the manual name, that's the vibe, let's go.


✨ SYNOPSIS ✨

first things first, you gotta pull in the header, no cap:

#include <xcb/xv.h>

πŸŽ€ Request function πŸŽ€

here's the whole squad, one function, a LOT of arguments, she's serving:

xcb_void_cookie_t xcb_xv_shm_put_image(xcb_connection_t *conn,
       xcb_xv_port_t port, xcb_drawable_t drawable, xcb_gcontext_t gc,
       xcb_shm_seg_t shmseg, uint32_t id, uint32_t offset,
       int16_t src_x, int16_t src_y, uint16_t src_w, uint16_t src_h,
       int16_t drw_x, int16_t drw_y, uint16_t drw_w, uint16_t drw_h,
       uint16_t width, uint16_t height, uint8_t send_event);

🌸 REQUEST ARGUMENTS 🌸

here's everybody in the group chat, one by one πŸ’…:

  • conn β€” the XCB connection to X11. she's the whole reason we're here, the main character fr.
  • port β€” TODO: NOT YET DOCUMENTED.
  • drawable β€” TODO: NOT YET DOCUMENTED.
  • gc β€” TODO: NOT YET DOCUMENTED.
  • shmseg β€” TODO: NOT YET DOCUMENTED.
  • id β€” TODO: NOT YET DOCUMENTED.
  • offset β€” TODO: NOT YET DOCUMENTED.
  • src_x β€” TODO: NOT YET DOCUMENTED.
  • src_y β€” TODO: NOT YET DOCUMENTED.
  • src_w β€” TODO: NOT YET DOCUMENTED.
  • src_h β€” TODO: NOT YET DOCUMENTED.
  • drw_x β€” TODO: NOT YET DOCUMENTED.
  • drw_y β€” TODO: NOT YET DOCUMENTED.
  • drw_w β€” TODO: NOT YET DOCUMENTED.
  • drw_h β€” TODO: NOT YET DOCUMENTED.
  • width β€” TODO: NOT YET DOCUMENTED.
  • height β€” TODO: NOT YET DOCUMENTED.
  • send_event β€” TODO: NOT YET DOCUMENTED.
lowkey iconic that literally all of these are "NOT YET DOCUMENTED" 😭 the mystery is the moment, i guess. anyway, that's exactly what the page says, so i'm passing it straight to you, no edits, periodt.

πŸ¦‹ DESCRIPTION πŸ¦‹

so… there's nothing here. the DESCRIPTION section is just vibes and silence. πŸ’€ the original page gives us nothing, so i'm giving you nothing but honesty.


πŸ’œ RETURN VALUE πŸ’œ

you get back an xcb_void_cookie_t. that's the whole gift 🎁. any errors? those have to be handled in the event loop, bestie, so don't come crying to the return value.

if you'd rather handle errors directly with xcb_request_check instead, then use xcb_xv_shm_put_image_checked. see xcb-requests(3) for the details πŸ‘‘


🌈 ERRORS 🌈

good news, queen: this request does never generate any errors. not one. zero. the cleanest request in the building ✨


⭐ SEE ALSO ⭐

…nothing. the section is empty. it's giving minimalism πŸŽ€


πŸ‘‘ AUTHOR πŸ‘‘

Generated from xv.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. 🫢


and that's the whole page, bestie!! πŸ’– this one came from the X Version 11 / libxcb 1.17.0 era, in the xcb_xv_shm_put_image(3) manual, and it's dated right there with the rest of the XCB Requests crew. slay, bye πŸ¦‹βœ¨