STRUCT VDEC_H264_SLICE_SHARE_INFO(9)
π 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
- 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