STRUCT VENC_AP_IPI_MSG_ENC_EXT_34(9)
β¨ NAME β¨
okay so bestie, this is struct venc_ap_ipi_msg_enc_ext_34 β the AP to SCP extended enc cmd structure π that's literally the whole vibe, it's the "extended encode command" struct that the AP side sends over to the SCP side. no cap, that's it. π«Ά
(the manual this lives in is the Kernel API Manual, iykyk π)
πΈ SYNOPSIS πΈ
here's the whole shape of it, character for character, don't touch a single one:
struct venc_ap_ipi_msg_enc_ext_34 {
u32 msg_id;
u32 vpu_inst_addr;
u32 bs_mode;
u32 reserved;
u64 input_addr[3];
u64 bs_addr;
u32 bs_size;
u32 data_item;
u32 data[32];
};
look at that layout, it's giving structured-data main character energy π
π Members π
okay so let's go member by member, group-chat style, and yes i'm gonna be thorough because every field matters β¨
msg_idβ the message id, and it's anAP_IPIMSG_XXX_ENC_ENCODEone π₯ like that's how you know what this msg even is.vpu_inst_addrβ the address of the VPU encoder instance, aka where the encoder's hangin' out πbs_modeβ the bitstream mode for h264, slay π¦reservedβ this one's just for struct padding, no cap, it's literally filler, don't @ it πinput_addrβ input frame buffer 34 bit address, and yes it's an array of[3], the way that it holds three of them π iconic.bs_addrβ output bitstream buffer, 34 bit address βbs_sizeβ the size of the bitstream buffer, periodt.data_itemβ number of items in the data array, so like, the count, keep it in sync bestie πdataβ the data array that stores the set parameters, and it holds[32]of them, she's spacious πΈ
π SEE ALSO π
you will be looking at these, so here we go, all of them, in the original order fr fr:
- Kernel file
./drivers/media/platform/mediatek/vcodec/encoder/venc_ipi_msg.hstruct β that's the home base, go visit her π 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_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)
like, read the whole family, they're all connected π§
ok and a little sign-off bestie β this page came from./drivers/media/platform/media...and it's dated October 2026, and the header on top wasstruct venc...g_enc_ext_34(9)in case you were wondering π mwah, go write some good IPI messages, you got this πβ¨
π¦ 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