STRUCT VDEC_H264_SLICE_INFO(9)
<h1>π struct vdec_h264_slice_info(9) π</h1>
okay so bestie, welcome to the Kernel API Manual β this one's a kernel struct page, and honestly? it's giving "shared custody agreement between host and firmware" β¨ because that's literally what it is. Let's get into it π«Ά
β¨ NAME β¨
struct vdec_h264_slice_info β the decode information, aka the shared data between host and firmware π like, this struct is the group chat that both sides are in, and everybody's reading the same messages. no cap.
πΈ SYNOPSIS πΈ
struct vdec_h264_slice_info {
u16 nal_info;
u16 timeout;
u32 bs_buf_size;
u64 bs_buf_addr;
u64 y_fb_dma;
u64 c_fb_dma;
u64 vdec_fb_va;
u32 crc[8];
};
look at her π eight fields, fully typed, doing the absolute most. we stan a well-organized struct.
π Members π
nal_infoβ the nal info of the current picture π like, this is the picture's whole vibe check, packed into au16.timeoutβ the decode timeout, and it's giving boolean energy:1means timeout,0means no timeout β° periodt.bs_buf_sizeβ the bitstream size, i.e. how big the bitstream is πbs_buf_addrβ the bitstream buffer dma address π¬ that's where the bitstream lives.y_fb_dmaβ the Y frame buffer dma address π‘ Y as in the Y one. she has her own address.c_fb_dmaβ the C frame buffer dma address π and C gets its own address too, obviously.vdec_fb_vaβ the VDEC frame buffer struct virtual address π§ a virtual address, for the frame buffer struct, VDEC flavored.crcβ used to check whether hardware's status is right β π this is the literal vibe check for the hardware. if the hardware's acting sus, the crc knows.
π¦ SEE ALSO π¦
the source lives in the kernel file, bestie, go read it:
./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c
and the whole friend group π«Ά:
enum vdec_h264_core_dec_err_type(9)struct vdec_h264_slice_lat_dec_param(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)
and that's the page, bestie π this was pulled from ./drivers/media/platform/media... and dated October 2026 β so like, mark your calendar, mwah πβ¨
π¦ 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