STRUCT VDEC_HEVC_SLICE_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β†’ timeout
  • 0 β†’ 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 a u64 or a u32 array, 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