STRUCT VENC_AP_IPI_MSG_INIT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 giving AP_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 as struct 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