mtk_vdec_h264_get_ctrl_ptr(9)
π 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 hereidβ 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 π :
struct mtk_h264_dpb_info(9)struct h264_fb(9)mtk_vdec_h264_get_ref_list(9)mtk_vdec_h264_fill_dpb_info(9)mtk_vdec_h264_copy_sps_params(9)mtk_vdec_h264_copy_pps_params(9)mtk_vdec_h264_copy_slice_hd_params(9)mtk_vdec_h264_copy_scaling_matrix(9)mtk_vdec_h264_copy_decode_params(9)mtk_vdec_h264_update_dpb(9)mtk_vdec_h264_find_start_code(9)mtk_vdec_h264_get_mv_buf_size(9)
π 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
- 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