vb2_find_buffer(9)
πΈ vb2_find_buffer(9) β from the Kernel API Manual πΈ
Okay so this is vb2_find_buffer(9), straight out of the Kernel API Manual, and it's literally a little buffer-hunting bestie. Let's get into it π
β¨ NAME β¨
vb2_find_buffer β Find a buffer with given timestamp
π SYNOPSIS π
struct vb2_buffer * vb2_find_buffer (struct vb2_queue *q , u64 timestamp );
π¦ ARGUMENTS π¦
qβ pointer tostruct vb2_queuewith videobuf2 queue.timestampβ the timestamp to find.
π DESCRIPTION π
Returns the buffer with the given timestamp, or NULL if not found. No cap, that's the whole vibe check: timestamp in, buffer out β and if it's not there, you get NULL, periodt.
π SEE ALSO π
Peep the Kernel file ./include/media/videobuf2-v4l2.h, plus all these iconic friends:
struct vb2_v4l2_buffer(9)vb2_querybuf(9)vb2_reqbufs(9)vb2_create_bufs(9)vb2_prepare_buf(9)vb2_qbuf(9)vb2_expbuf(9)vb2_dqbuf(9)vb2_streamon(9)vb2_streamoff(9)vb2_queue_init(9)vb2_queue_init_name(9)vb2_queue_release(9)vb2_queue_change_type(9)vb2_poll(9)vb2_queue_is_busy(9)vb2_video_unregister_device(9)
Catch you later, bestie β this one's sourced from ./include/media and dated October 2026 πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms