STRUCT VDEC_HEVC_SLICE_VSI(9)
π struct vdec_hevc_slice_vsi(9) π
okay bestie, welcome to the Kernel API Manual page for struct vdec_hevc_slice_vsi β it's giving "shared memory queen" and honestly? icon behavior. Let's get into it π
β¨ NAME β¨
struct vdec_hevc_slice_vsi β the shared memory situation for decode information exchange between SCP and Host. that's it, that's the vibe. two worlds, one buffer, no cap π«Ά
πΈ SYNOPSIS πΈ
okay so here's the literal shape of it, unchanged, copy-paste energy (but like, the accurate kind):
struct vdec_hevc_slice_vsi {
struct vdec_hevc_slice_mem bs;
struct vdec_hevc_slice_mem ube;
struct vdec_hevc_slice_mem trans;
struct vdec_hevc_slice_mem err_map;
struct vdec_hevc_slice_mem slice_bc;
struct vdec_hevc_slice_mem wrap;
struct vdec_hevc_slice_fb fb;
struct vdec_hevc_slice_mem mv_buf_dma[HEVC_MAX_MV_NUM];
struct vdec_hevc_slice_info dec;
struct vdec_hevc_slice_lat_dec_param hevc_slice_params;
};
π¦ Members π¦
okay, member-by-member breakdown, let's go β every single one, no skipping, we don't do that here π
bsβ input buffer info π₯ like, the incoming data's whole personality.ubeβ the ube buffer. yes, that's its name, iconic, moving on β¨transβ transcoded buffer π stuff that got transcoded lives here.err_mapβ err map buffer π the error map, so you know where things went wrong. very main character of it.slice_bcβ slice bc buffer πwrapβ temp buffer β³ temporary! don't get attached.fbβ current y/c buffer π y/c, as in the components, you know the ones.mv_buf_dmaβ HW working motion vector buffer π₯ it's an array,mv_buf_dma[HEVC_MAX_MV_NUM], so she's plural, she'sHEVC_MAX_MV_NUMof them, HW is doing the work.decβ decode information (AP-R, VPU-W) π AP-R, VPU-W, both noted, both important.hevc_slice_paramsβ decode parameters for hw used π οΈ the params the hardware actually consumes.
π SEE ALSO π
- Kernel file:
./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_hevc_req_multi_if.c enum vdec_hevc_core_dec_err_type(9)struct mtk_hevc_dpb_info(9)struct hevc_fb(9)struct vdec_hevc_slice_lat_dec_param(9)struct vdec_hevc_slice_info(9)struct vdec_hevc_slice_fb(9)struct vdec_hevc_slice_share_info(9)struct vdec_hevc_slice_inst(9)
like, read them all, iykyk π§
ngl, if you're poking at this struct you're probably deep in mediatek vcodec decoder land β go read that kernel file, it's right there, slay π«Ά
and that's the page!! source: ./drivers/media/platform/media..., Kernel API Manual, dated October 2026 β mwah, bye bestie, go decode something gorgeous πππ
π¦ 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