STRUCT VDEC_HEVC_SLICE_INFO(9)
β¨ struct vdec_hevc_slice_info β decode information β¨
okay so bestie, welcome to the struct vdec_hevc_slice_info(9) page π β yes that's the Kernel API Manual, and yes it's a little one, but it's important so let's give it the attention it deserves π
This is the struct that carries the decode information, and honestly it's giving backstage-pass vibes β it's the little bundle of info that the HEVC decoder needs to actually do its thing π¦
πΈ SYNOPSIS πΈ
struct vdec_hevc_slice_info {
u64 wdma_end_addr_offset;
u64 timeout;
u64 vdec_fb_va;
u32 crc[8];
};
look at that tidy little struct, no cap π«Ά four members, all business π
β¨ Members β¨
π« wdma_end_addr_offset
a u64 holding the wdma end address offset β literally the end address offset for wdma, that's the whole vibe π₯
β° timeout
the decode timeout, and it's a strict binary situation ngl:
1β timeout0β no timeout
no in-between, iykyk π
π§ vdec_fb_va
a u64 that's the VDEC frame buffer struct virtual address β the virtual address of the frame buffer struct, main character energy π
π crc
u32 crc[8] β an array of 8, and it's used to check whether hardware's status is right π like a little vibe check for the hardware, fr fr. If the hardware's status is acting sus, this is how you find out π
π SEE ALSO π
the Kernel file, right here bestie:
./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_hevc_req_multi_if.c
and the whole friend group of related pages π«Ά:
enum vdec_hevc_core_dec_err_type(9)struct mtk_hevc_dpb_info(9)struct hevc_fb(9)struct vdec_hevc_slice_lat_dec_param(9)struct vdec_hevc_slice_fb(9)struct vdec_hevc_slice_vsi(9)struct vdec_hevc_slice_share_info(9)struct vdec_hevc_slice_inst(9)
ngl this one's short and sweet β every member is au64or au32array, no tricks, no undefined behaviour drama, just decode info doing its job π
and that's the page!! π
sign-off time: this came from ./drivers/media/platform/media..., dated October 2026, and it's struct vdec_hevc_slice_info(9) β slay, go decode something πβ¨
π¦ 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