STRUCT VENC_AP_IPI_MSG_SET_PARAM(9)
π NAME π
struct venc_ap_ipi_msg_set_param β the AP-to-VPU set_param cmd structure, bestie. That's it, that's the whole vibe. This is a page from the Kernel API Manual (yes, that manual) and we're gonna get through it together π«Ά
β¨ SYNOPSIS β¨
okay so here's the struct in all her main character glory:
struct venc_ap_ipi_msg_set_param {
uint32_t msg_id;
uint32_t vpu_inst_addr;
uint32_t param_id;
uint32_t data_item;
uint32_t data[8];
};
π Members π
msg_idβ the message id, no cap. It'sAP_IPIMSG_XXX_ENC_SET_PARAM, literally what it says on the label π·οΈvpu_inst_addrβ the VPU encoder instance addr. Thinkstruct venc_vp8_vsi/venc_h264_vsi *energy πparam_idβ the parameter id, aka avenc_set_param_type. It's giving "which param are we even talking about" β¨data_itemβ the number of items in the data array. Count her, don't assume her π’dataβ the data array whose whole job is to store the set parameters. She's literally just holding everything together ππ
π SEE ALSO π
So the Kernel file is:
./drivers/media/platform/mediatek/vcodec/encoder/venc_ipi_msg.h
and she runs with a whole friend group (iykyk), all of them (9) sections:
struct venc_ap_ipi_msg_init(9)struct venc_ap_ipi_msg_enc(9)struct venc_ap_ipi_msg_enc_ext(9)struct venc_ap_ipi_msg_enc_ext_34(9)struct venc_ap_ipi_msg_deinit(9)struct venc_vpu_ipi_msg_common(9)struct venc_vpu_ipi_msg_init(9)struct venc_vpu_ipi_msg_set_param(9)enum venc_ipi_msg_enc_state(9)struct venc_vpu_ipi_msg_enc(9)struct venc_vpu_ipi_msg_deinit(9)
fr fr go read those too, the whole squad ate π
and that's the page, bestie π¦ this whole thing lives out of ./drivers/media/platform/media..., dated October 2026, and the title it answers to is struct venc_...sg_set_param(9). 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