vb2_get_plane_payload(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vb2_get_plane_payload(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so welcome to the Kernel API Manual, and today's main character is vb2_get_plane_payload(9). it's a lil function, it's got one job, and it does it slayfully. let's get into it ✨


🌸 NAME 🌸

vb2_get_plane_payload β€” get bytesused for the plane plane_no

like literally just. tell me how many bytes are used on this plane. that's it. that's the whole vibe. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

unsigned long vb2_get_plane_payload (struct vb2_buffer *vb , unsigned
int plane_no );

note the return type bestie: unsigned long. we're getting a number back, not a struct, not a pointer, a number. love that for us. ⭐


πŸ‘‘ ARGUMENTS πŸ‘‘

  • vb β€” pointer to struct vb2_buffer to which the plane in question belongs to. so like… which buffer are we snooping on? this one. 🫢
  • plane_no β€” plane number for which payload should be set. yes, that plane's number. you gotta know which plane you're asking about, otherwise how is anyone supposed to answer you 😭

🧚 SEE ALSO 🧚

okay this is the part where the manpage just. dumps the entire friend group on you. it's giving "tag yourself, i'm vb2_core_dqbuf(9)". every single one of these is in the kernel file ./include/media/videobuf2-core.h β€” go say hi πŸ‘‹

ngl that list is long enough to be its own group chat. but every single one of them is a real one, so. respect. πŸ’€

and that's the whole page, bestie!! no cap, that's literally everything 🌈

mwah πŸ’‹ β€” this lil drop of wisdom lives in ./include/media, dated October 2026, and it's signed, sealed, delivered as vb2_get_plane_payload(9). periodt. πŸ’œ

πŸ“¦ where this page comes from