vdec_msg_queue_deinit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the struct 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 🫢:

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