STRUCT VDEC_HEVC_SLICE_LAT_DEC_PARAM(9)
πΈ NAME πΈ
okay so bestie, welcome to the struct vdec_hevc_slice_lat_dec_param(9) page β this is a Kernel API Manual moment, and the whole vibe is: this struct holds all the parameters for decode current frame π
β¨
β¨ SYNOPSIS β¨
the whole thing, exactly as it lives, no cap:
struct vdec_hevc_slice_lat_dec_param {
struct mtk_hevc_sps_param sps;
struct mtk_hevc_pps_param pps;
struct mtk_hevc_slice_header_param slice_header;
struct slice_api_hevc_scaling_matrix scaling_matrix;
struct slice_api_hevc_decode_param decode_params;
struct mtk_hevc_dpb_info
hevc_dpb_info[V4L2_HEVC_DPB_ENTRIES_NUM_MAX];
};
likeβ¦ six members and a whole array, she's got range π«Ά
π Members π
spsβ the hevc sps syntax parameters. yes bestie, sps, she's here, she's syntax, she's parameters πppsβ the hevc pps syntax parameters. pps said "i'm also iconic" and honestly? correct πslice_headerβ the hevc slice header syntax parameters. this one's giving "little header that could" β¨scaling_matrixβ the hevc scaling list parameters. matrix era, lowkey obsessed πdecode_paramsβ decoder parameters of each frame used for hardware decode. this is the one doing the actual work for the hardware, main character energy fr fr π₯hevc_dpb_infoβ the dpb reference list. it's an array ofstruct mtk_hevc_dpb_infosizedV4L2_HEVC_DPB_ENTRIES_NUM_MAX, so likeβ¦ the whole reference list, slay π¦
β SEE ALSO β
the kernel file where all this lives, copy it exactly bestie:
./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_hevc_req_multi_if.c
and the whole friend group, all at once:
enum vdec_hevc_core_dec_err_type(9)struct mtk_hevc_dpb_info(9)struct hevc_fb(9)struct vdec_hevc_slice_info(9)struct vdec_hevc_slice_fb(9)struct vdec_hevc_slice_vsi(9)struct vdec_hevc_slice_share_info(9)struct vdec_hevc_slice_inst(9)
ngl, if you're here it's probably because the hevc decoder path is doing something and you need to know what's in this struct. now you know ππ
okay that's the page!! this one's from ./drivers/media/platform/media..., October 2026 edition, filed under struct vdec_...at_dec_param(9) β mwah, go decode something, ily π§ππ
π¦ 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