vb2_buffer_in_use(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ vb2_buffer_in_use(9) πŸ¦‹

okay bestie, this one's straight out of the Kernel API Manual, and it's giving very specific videobuf2 energy πŸ’… no cap.


✨ NAME ✨

vb2_buffer_in_use β€” return true if the buffer is in use and the queue cannot be freed (by the means of VIDIOC_REQBUFS(0)) call. 🫢

🌸 SYNOPSIS 🌸

bool vb2_buffer_in_use (struct vb2_queue *q , struct vb2_buffer *vb );

πŸŽ€ ARGUMENTS πŸŽ€

  • q β€” pointer to struct vb2_queue with videobuf2 queue. πŸ’–
  • vb β€” buffer for which plane size should be returned. ✨

🌈 SEE ALSO 🌈

Kernel file ./include/media/videobuf2-core.h, plus the whole iconic crew:


okay that's the whole page, bestie β€” source/version: ./include/media, date: October 2026 πŸ’…πŸ«Άβœ¨

πŸ“¦ where this page comes from