STRUCT VENC_VPU_IPI_MSG_COMMON(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct venc_vpu_ipi_msg_common β€” the VPU ack AP cmd common structure, bestie. Yes that's a lot of acronyms and yes we're gonna get through it together 🫢

Okay so real talk, this page lives in the Kernel API Manual, and it's one of those little struct pages that's short but lowkey important. Let's go ✨


🌸 SYNOPSIS 🌸

struct venc_vpu_ipi_msg_common {
    uint32_t msg_id;
    uint32_t status;
    uint64_t venc_inst;
};

Three fields. That's the whole vibe. Iconic honestly πŸŽ€


✨ Members ✨

  • msg_id β€” the message id, and it's a VPU_IPIMSG_XXX_DONE situation. That's literally the exact placeholder in the source, not me being cute for once πŸ’…
  • status β€” the cmd status, typed as venc_ipi_msg_status. If something went sideways, this is where the tea is πŸ“
  • venc_inst β€” the AP encoder instance, and it's a struct venc_vp8_inst/venc_h264_inst * pointer. So it's either the VP8 one or the H264 one, depending on which encoder you're rolling with. Main character pointer energy πŸ‘‘
Not me pointing out that these are just the member docs and there's genuinely nothing else on this page. Short page, big slay πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

The Kernel file this struct calls home is:

./drivers/media/platform/mediatek/vcodec/encoder/venc_ipi_msg.h

And it keeps the most delicious company, fr fr β€” go read these next:

  • struct venc_ap_ipi_msg_init(9)
  • 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_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)

That's the whole friend group, no cap 🌈


πŸ’œ Sign-off πŸ’œ

Source and version: ./drivers/media/platform/media... β€” dated October 2026, and the page title is struct venc_...i_msg_common(9) because somebody's terminal was clearly not wide enough 😭

Anyway. Go forth, define your structs, and remember: msg_id, status, venc_inst. Three fields, zero stress. Periodt πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from