STRUCT VDEC_AP_IPI_DEC_START(9)
πΈ struct vdec_ap_ipi_dec_start(9) πΈ
okay so bestie, this is a page from the Kernel API Manual and it's literally all about one lil struct, and honestly? she's kind of a big deal. π
β¨ NAME β¨
struct vdec_ap_ipi_dec_start β the struct that exists for AP_IPIMSG_DEC_START. that's it. that's her whole job. iconic behavior honestly π
π¦ SYNOPSIS π¦
struct vdec_ap_ipi_dec_start {
uint32_t msg_id;
union {
uint32_t vpu_inst_addr;
uint32_t inst_id;
};
uint32_t data[3];
u32 codec_type;
};
like, look at her. struct goals fr fr β¨
π Members π
msg_idβ this one's set toAP_IPIMSG_DEC_START. no notes, that's just what she is π«Ά{unnamed_union}β it's anonymous. she has no name. mysterious. main character energy lowkey πvpu_inst_addrβ the VPU decoder instance address. β οΈ only used if the ABI version is< 2, so mind your versions bestieinst_idβ the instance ID. this one's the other half of the union β used if the ABI version is>= 2π₯dataβ header info, and it changes depending on the codec, so pay attention:- H264 decoder:
[0]:buf_sz[1]:nal_start - VP8 decoder:
[0]:width/height - VP9 decoder:
[0]:profile,[1][2]width/height
- H264 decoder:
yeah she's doing a lot of work in three little slots, we love a multitasker π
codec_typeβ the codec fourcc. short, sweet, slay π
π§ SEE ALSO π§
- Kernel file
./drivers/media/platform/mediatek/vcodec/decoder/vdec_ipi_msg.h struct vdec_ap_ipi_cmd(9)struct vdec_vpu_ipi_ack(9)struct vdec_ap_ipi_init(9)struct vdec_vpu_ipi_init_ack(9)struct vdec_ap_ipi_get_param(9)struct vdec_vpu_ipi_get_param_ack(9)
like the whole friend group, go read them too πβ¨
ngl this page came from the kernel source around./drivers/media/platform/media...and it's dated October 2026 β so yeah, future-dated lore π. go off bestie, you now fully understandstruct vdec_ap_ipi_dec_start. periodt. π π
π¦ 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