STRUCT VDEC_H264_SLICE_VSI_EXT(9)
π 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'smv_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
- 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