vdec_msg_que...lat_buf_full(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vdec_msg_que...lat_buf_full(9) β€” a Kernel API Manual moment ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– and today's main character is vdec_msg_queue_wait_lat_buf_full(9) β€” yes the header is long, yes it's truncated, we love her anyway πŸŽ€


✨ NAME ✨

vdec_msg_queue_wait_lat_buf_full β€” the little function whose whole job is checking whether all lat buffer in lat list πŸ¦‹

like. that's it. that's the vibe check. is the lat list full of lat buffers or not 🌸


🌈 SYNOPSIS 🌈

bool vdec_msg_queue_wait_lat_buf_full (struct vdec_msg_queue *msg_queue
);

one argument, one bool coming back at ya 🫢 no cap.


πŸŽ€ ARGUMENTS πŸŽ€

  • msg_queue β€” used to store the lat buffer information πŸ’œ so yeah, hand her the struct that holds all the lat buffer deets and she'll go look inside it, iconic behaviour honestly πŸ‘‘

⭐ RETURN ⭐

returns true if successfully, or fail πŸ”₯

ngl the wording is literally the original's word salad β€” success gives you true, otherwise it's fail, and that's the whole story bestie 😭 no extra lore, don't @ me πŸ’€

πŸ” SEE ALSO πŸ”

Kernel file πŸ“

./drivers/media/platform/mediatek/vcodec/decoder/vdec_msg_queue.h

and the whole friend group, in order, no one left out 🧚:

like, init, init_ctx, qbuf, dqbuf, update both the rptr and wptr, deinit β€” the full lifecycle slay πŸ’… and wait_lat_buf_full right here is literally checking if the lat list is full before any of that proceeds, periodt πŸ“


aaaand that's the page!! πŸŽ‰ huge shoutout to the source path ./drivers/media/platform/media... and the October 2026 date, you both ate πŸ‘‘πŸ’– mwah, bye bestie πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from