mtk_vdec_h264_get_ctrl_ptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mtk_vdec_h264_get_ctrl_ptr(9)

okay so bestie, welcome to the Kernel API Manual ✨ this one's a lil' function from the MediaTek vcodec decoder corner of the kernel, and honestly? she's a lookup girlie. let's get into it 🫢


🌸 NAME 🌸

mtk_vdec_h264_get_ctrl_ptr β€” get each CID control address. that's it, that's the whole job πŸ’–


✨ SYNOPSIS ✨

void * mtk_vdec_h264_get_ctrl_ptr (struct mtk_vcodec_dec_ctx *ctx , int id );

πŸŽ€ ARGUMENTS πŸŽ€

  • ctx β€” the v4l2 ctx πŸ‘‘ like, the whole decoder context object, she's the main character here
  • id β€” the CID control ID πŸ¦‹ which control we're asking about, bestie

πŸ’« RETURN πŸ’«

returns CID ctrl address. literally just hands you the address of that CID's control, no cap πŸ”₯

ngl it's a void *, so pls cast it to whatever you actually expect before you go dereferencing, iykyk πŸ’€

🌈 SEE ALSO 🌈

the kernel file lives at:

./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_common.h

and the whole squad of related icons πŸ’…:


πŸ“ oh and one more thing β€” the actual file path in the source line gets cut off as ./drivers/media/platform/media..., so if you need the full tea, that's where it's at πŸ‘€

and that's the page, bestie!! πŸ§šπŸ’œ sourced from ./drivers/media/platform/media..., dated October 2026, and it's mtk_vdec_h264_get_ctrl_ptr(9) signing off β€” slay, go read your controls πŸ’…βœ¨

πŸ“¦ where this page comes from