vpif_buffer_queue_setup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

vpif_buffer_queue_setup(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” today’s main character is vpif_buffer_queue_setup(9), and she is a callback for buffer setup. no cap, we’re gonna get you comfy with every lil detail. ✨

✨ NAME ✨

vpif_buffer_queue_setup β€” callback function for buffer setup. that’s the whole vibe, and honestly? iconic.

🌸 SYNOPSIS 🌸

the signature is giving:

int vpif_buffer_queue_setup (struct vb2_queue *vq , unsigned int
       *nbuffers , unsigned int *nplanes , unsigned int sizes[] , struct device
       *alloc_devs[] );

πŸŽ€ ARGUMENTS πŸŽ€

  • vq β€” a vb2_queue ptr β€” yes bestie, the queue pointer, periodt.
  • nbuffers β€” a ptr to the number of buffers requested by the application.
  • nplanes β€” contains the number of distinct video planes needed to hold a frame.
  • sizes β€” contains the size (in bytes) of each plane.
  • alloc_devs β€” a ptr to the allocation context.

πŸ’… DESCRIPTION πŸ’…

so when reqbuf is called, this callback function gets called to adjust the buffer count and buffer size. that’s the job, bestie β€” buffer count and buffer size adjustment, and she ate. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

catch all the refs:

xoxo πŸ’‹ β€” from the Kernel API Manual, source ./drivers/media/platform/ti/da..., dated October 2026, page vpif_buffer_queue_setup(9). periodt 🫢

πŸ“¦ where this page comes from