STRUCT VDEC_H264_SLICE_LAT_DEC_PARAM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct vdec_h264_slice_lat_dec_param(9) β€” like, the Kernel API Manual page, bestie ✨

okay so picture this: you're in the Kernel API Manual (yes, that one πŸŽ€), and you've stumbled onto struct vdec_h264_slice_lat_dec_param. And the NAME literally says it all:

struct vdec_h264_slice_lat_dec_param β€” parameters for decode current frame, and it's the shared data between host and firmware. Shared custody, but make it silicon 🫢


🌸 SYNOPSIS 🌸

Like, here's the whole struct, exact vibes, no edits:

struct vdec_h264_slice_lat_dec_param {
    struct mtk_h264_sps_param sps;
    struct mtk_h264_pps_param pps;
    struct mtk_h264_slice_hd_param slice_header;
    struct slice_api_h264_scaling_matrix scaling_matrix;
    struct slice_api_h264_decode_param decode_params;
    struct mtk_h264_dpb_info h264_dpb_info[V4L2_H264_NUM_DPB_ENTRIES];
};

not me getting emotional over a struct πŸ’€ it's giving "organized friend who has a folder for everything" and honestly? iconic.


✨ Members ✨

okay bestie, member-by-member, let's go πŸ’–

  • sps β€” the h264 sps syntax parameters. yes. those. 🌈
  • pps β€” the h264 pps syntax parameters. its sibling, also slaying ✨
  • slice_header β€” the h264 slice header syntax parameters. the header of the slice, main character energy πŸ‘‘
  • scaling_matrix β€” the h264 scaling list parameters. it's the scaling list parameters even though the member is called matrix, and we respect that πŸŽ€
  • decode_params β€” decoder parameters of each frame, used for hardware decode. this is the one that actually does cardio πŸ”₯
  • h264_dpb_info β€” the dpb reference list. it's an array, h264_dpb_info[V4L2_H264_NUM_DPB_ENTRIES] of struct mtk_h264_dpb_info, and it's holding all the references together like a group chat 🫢
ngl this whole struct is just the firmware and the host passing notes in class and the note is the entire frame decode. no cap.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c β€” that's where the lore lives, go read it iykyk πŸ’…

and the whole friend group:

  • enum vdec_h264_core_dec_err_type(9)
  • struct vdec_h264_slice_info(9)
  • struct vdec_h264_slice_vsi(9)
  • struct vdec_h264_slice_share_info(9)
  • struct vdec_h264_slice_fb(9)
  • struct vdec_h264_slice_info_ext(9)
  • struct vdec_h264_slice_vsi_ext(9)
  • struct vdec_h264_slice_inst(9)

πŸ’€ reminder that this is kernel firmware-shared data, so like… be normal about it. the struct is doing important work. respect the struct. periodt.

and that's the page, bestie 🧚 this came to you from ./drivers/media/platform/media..., dated October 2026, filed forever under struct vdec_...at_dec_param(9) β€” mwah, go decode something cute πŸ’œ

πŸ“¦ where this page comes from