STRUCT VENC_AP_IPI_MSG_INIT(9)
π struct venc_ap_ipi_msg_init(9) π
Okay so welcome to the Kernel API Manual, bestie β today's main character is struct venc_ap_ipi_msg_init, and it's literally the AP to VPU init cmd structure. Tiny struct, big main character energy. Let's get into it. β¨
πΈ NAME πΈ
struct venc_ap_ipi_msg_init β AP to VPU init cmd structure π
π¦ SYNOPSIS π¦
struct venc_ap_ipi_msg_init {
uint32_t msg_id;
uint32_t reserved;
uint64_t venc_inst;
};
π Members π
msg_idβ the message id, and it's givingAP_IPIMSG_XXX_ENC_INIT. That's the whole assignment. πreservedβ reserved for future use, periodt. Here's the tea: the vpu is running in 32bit. Without this reserved field, if the kernel runs in 64bit, this struct size will be different between kernel and vpu β so this field is lowkey carrying the whole vibe check. Do not touch. π«Άvenc_instβ the AP encoder instance, typed asstruct venc_vp8_inst/venc_h264_inst *. Pointer moment, iconic. β
π SEE ALSO π
- Kernel file
./drivers/media/platform/mediatek/vcodec/encoder/venc_ipi_msg.h struct venc_ap_ipi_msg_set_param(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)
And that's the page, bestie! π¦ This lil icon lives at ./drivers/media/platform/media..., it's dated October 2026, and yes β it's literally struct venc_ap_ipi_msg_init(9). Go off. πβ¨
π¦ 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