STRUCT VDEC_HEVC_SLICE_LAT_DEC_PARAM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 of struct mtk_hevc_dpb_info sized V4L2_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