STRUCT VDEC_H264_SLICE_LAT_DEC_PARAM(9)
π 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]ofstruct 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
- 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