vdec_msg_que...lat_buf_full(9)
π 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 π§:
enum core_ctx_status(9)struct vdec_msg_queue_ctx(9)struct vdec_lat_buf(9)struct vdec_msg_queue(9)vdec_msg_queue_init(9)vdec_msg_queue_init_ctx(9)vdec_msg_queue_qbuf(9)vdec_msg_queue_dqbuf(9)vdec_msg_queue_update_ube_rptr(9)vdec_msg_queue_update_ube_wptr(9)vdec_msg_queue_deinit(9)
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
- 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