vdec_msg_queue_deinit(9)
π vdec_msg_queue_deinit(9)
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little cleanup queen β she's got no return value, no drama, she just deinits and leaves. we love a low-maintenance icon π
πΈ NAME πΈ
vdec_msg_queue_deinit β deinit lat buffer information. that's it, that's the whole job π
β¨ SYNOPSIS β¨
void vdec_msg_queue_deinit (struct vdec_msg_queue *msg_queue , struct mtk_vcodec_dec_ctx *ctx );
literally returns void, so don't come looking for an exit code, she gives you nothing back and she's valid for it π«Ά
π¦ ARGUMENTS π¦
msg_queueβ thestruct vdec_msg_queue *where the lat buffer information lives. this is the thing getting deinit'd, bestie, she's the main character here πctxβ the v4l2 ctx. yes, the whole v4l2 context, just vibing in the argument list π
π SEE ALSO π
go look at the kernel file, iykyk:
./drivers/media/platform/mediatek/vcodec/decoder/vdec_msg_queue.h
and the whole friend group π«Ά:
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_wait_lat_buf_full(9)
like, init her, init her ctx, qbuf, dqbuf, update both the ube rptr and wptr, wait for the lat buf to fill upβ¦ and then when the party's over you call this one to deinit. the full lifecycle, no cap π
that's the whole page, bestie β short and slay π this came from Kernel API Manual, sourced from ./drivers/media/platform/media... and dated October 2026. periodt. π
π¦ 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