STRUCT VENC_AP_IPI_MSG_SET_PARAM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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's AP_IPIMSG_XXX_ENC_SET_PARAM, literally what it says on the label 🏷️
  • vpu_inst_addr β€” the VPU encoder instance addr. Think struct venc_vp8_vsi / venc_h264_vsi * energy πŸ’–
  • param_id β€” the parameter id, aka a venc_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