vdec_msg_queue_init(9)
π vdec_msg_queue_init(9) π
okay so welcome to the Kernel API Manual, bestie β this page is all about vdec_msg_queue_init(9), and it's lowkey the setup girlie for the lat buffer info. Let's get into it β¨
π NAME π
vdec_msg_queue_init β init lat buffer information. That's the whole name vibe, no cap.
β¨ SYNOPSIS β¨
int vdec_msg_queue_init (struct vdec_msg_queue *msg_queue , struct
mtk_vcodec_dec_ctx *ctx , core_decode_cb_t core_decode , int
private_size );
πΈ ARGUMENTS πΈ
msg_queueβ used to store the lat buffer information. It's the spot where that lat buffer info lives, periodt.ctxβ the v4l2 ctx. That's the context, bestie.core_decodeβ the core decode callback for each codec. iykyk.private_sizeβ the private data size used to share with core. That's the size of the private data shared with core.
π₯ RETURN π₯
it returns 0 if init successfully, or fail. That's the return tea, periodt.
π¦ SEE ALSO π¦
- Kernel file β
./drivers/media/platform/mediatek/vcodec/decoder/vdec_msg_queue.h - Also see β 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_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),vdec_msg_queue_deinit(9).
that's the whole page, bestie π«Ά source/version: ./drivers/media/platform/media..., dated October 2026, for vdec_msg_queue_init(9). bye π
π¦ 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