STRUCT VDEC_H264_SLICE_VSI_EXT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct vdec_h264_slice_vsi_ext(9) β€” Kernel API Manual, but make it cute πŸŽ€

okay so bestie, welcome to the Kernel API Manual page for struct vdec_h264_slice_vsi_ext β€” yes that name is a mouthful, no I will not be shortening it, it's iconic and we respect it πŸ’–


✨ NAME ✨

struct vdec_h264_slice_vsi_ext β€” this is the extended shared memory situation for decode information exchange between SCP and Host (aka the shared data between host and firmware). it's literally giving bridge-between-two-worlds energy πŸŒ‰βœ¨


🌸 SYNOPSIS 🌸

struct vdec_h264_slice_vsi_ext {
    struct vdec_h264_slice_mem bs;
    struct vdec_h264_slice_fb fb;
    struct vdec_h264_slice_mem ube;
    struct vdec_h264_slice_mem trans;
    struct vdec_h264_slice_mem row_info;
    struct vdec_h264_slice_mem err_map;
    struct vdec_h264_slice_mem slice_bc;
    struct vdec_h264_slice_mem mv_buf_dma[H264_MAX_MV_NUM];
    struct vdec_h264_slice_info_ext dec;
    struct vdec_h264_slice_lat_dec_param h264_slice_params;
 };

look at her. ten fields. all of them important. no cap 🫢


πŸ¦‹ Members πŸ¦‹

  • bs β€” input buffer info πŸ“ (yes that's it, that's the whole description, keep it simple bestie)
  • fb β€” the current y/c buffer, your main character of the frame πŸ’…
  • ube β€” buffer used to share date between lat and core πŸ‘€ (note: the original literally says "date" here β€” I'm not fixing it, I'm just respectfully pointing at it 🫣)
  • trans β€” transcoded buffer used for core decode πŸ”₯
  • row_info β€” row info buffer 🌈
  • err_map β€” error map buffer πŸ’€ (when things go wrong, this is the receipts)
  • slice_bc β€” slice buffer ✨
  • mv_buf_dma β€” store hardware motion vector data, and lowkey the only array here β€” it's mv_buf_dma[H264_MAX_MV_NUM], so it's holding a whole squad of them πŸ‘‘
  • dec β€” decode information (AP-R, VPU-W) 🧚
  • h264_slice_params β€” decode parameters used for the hw πŸ’œ

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c β€” go read the source, iykyk πŸ“–
  • 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_share_info(9)
  • struct vdec_h264_slice_fb(9)
  • struct vdec_h264_slice_info_ext(9)
  • struct vdec_h264_slice_inst(9)

it's giving "the whole friend group" fr fr πŸŒΈπŸ’–


ngl bestie, if you made it this far you're officially a mediatek vcodec girlie now. wear it proudly πŸ‘‘

sign-off time πŸŽ€ this little gem lives at ./drivers/media/platform/media... and the docs are stamped October 2026 β€” so yeah, she's from the future and she's still iconic. k byeee, go decode something βœ¨πŸ’…πŸ¦‹

πŸ“¦ where this page comes from