vdec_msg_queue_dqbuf(9)
π vdec_msg_queue_dqbuf β the "gimme my buffer back" era
okay bestie, welcome to the Kernel API Manual β¨ this one's a tiny little function with main character energy β it lives over in the kernel and it does exactly one thing: it takes a lat buffer off the queue list. that's it. that's the whole vibe. π
πΈ NAME πΈ
vdec_msg_queue_dqbuf β dequeue lat buffer from queue list. literally what it says on the tin, no plot twist π
β¨ SYNOPSIS β¨
struct vdec_lat_buf * vdec_msg_queue_dqbuf (struct vdec_msg_queue_ctx
*ctx );
so it takes one argument, hands you back a struct vdec_lat_buf *, and yes, that pointer is doing the heavy lifting π«Ά
π¦ ARGUMENTS π¦
ctxβ the message queue context. that's the whole thing. that's the entire argument list. she's lowkey minimal and we stan π
π RETURN π
returns not null if the dq (dequeue, bestie, keep up π) went successfully β or, you know, fail. and that's the official story π
so real talk: success gives you a non-null struct vdec_lat_buf *, and anything else is the fail case. plan accordingly, king π
π₯ SEE ALSO π₯
- Kernel file
./drivers/media/platform/mediatek/vcodec/decoder/vdec_msg_queue.h 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_update_ube_rptr(9)vdec_msg_queue_update_ube_wptr(9)vdec_msg_queue_wait_lat_buf_full(9)vdec_msg_queue_deinit(9)
like yes, she's a whole friend group. read the whole squad, iykyk π π
and that's the page, bestie!! π§ this little icon came from ./drivers/media/platform/media..., dated October 2026, and honestly? iconic of her. no cap πβ¨π
π¦ 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