STRUCT VDEC_H264_SLICE_SHARE_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct vdec_h264_slice_share_info(9) πŸ’–

okay bestie, so this is a page straight out of the Kernel API Manual, and it's giving "the little struct that could" energy. no cap, this one's a whole messenger between two halves of a video decoder, and we're gonna get into it πŸŽ€


✨ NAME ✨

struct vdec_h264_slice_share_info β€” the shared info that's literally used to exchange messages between lat and core 🫢

like, that's her whole job. she holds the notes that get passed back and forth. iconic behavior honestly.


🌸 SYNOPSIS 🌸

struct vdec_h264_slice_share_info {
    struct v4l2_ctrl_h264_sps sps;
    struct v4l2_ctrl_h264_decode_params dec_params;
    struct vdec_h264_slice_lat_dec_param h264_slice_params;
    u64 trans_start;
    u64 trans_end;
    u16 nal_info;
 };

look at her. six fields. no skips, no extra drama. periodt πŸ’…


πŸ¦‹ Members πŸ¦‹

  • sps β€” the sequence header information, and it comes from user space bestie ✨
  • dec_params β€” decoder params, also handed over from user space πŸ’œ
  • h264_slice_params β€” decoder params that the hardware actually uses. yes, there's a difference, iykyk πŸ”₯
  • trans_start β€” the trans start dma address ⭐
  • trans_end β€” the trans end dma address ⭐ (she's the matching pair, we love symmetry)
  • nal_info β€” the nal info of the current picture 🌈

πŸ’€ SEE ALSO πŸ’€

Kernel file:

./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c

and the whole friend group, fr fr:

  • enum vdec_h264_core_dec_err_type(9)
  • struct vdec_h264_slice_lat_dec_param(9)
  • struct vdec_h264_slice_info(9)
  • struct vdec_h264_slice_vsi(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)

ngl this page lives under ./drivers/media/platform/media... (that's the source/version line, not me being lazy, it's genuinely truncated like that in the original πŸ™ˆ) and it's dated October 2026 πŸ“

k that's the whole vibe check, go forth and slay your h264 slices πŸ’–βœ¨πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from