STRUCT VDEC_VP8_SLICE_INFO(9)
π NAME π
struct vdec_vp8_slice_info β it's giving "decode misc information" β¨ like literally, that's its whole job: holding all the miscellaneous deets the VP8 decoder needs. This is from the Kernel API Manual btw, bestie, so we're in kernel-land now π
πΈ SYNOPSIS πΈ
struct vdec_vp8_slice_info {
u64 vld_wrapper_dma;
u64 seg_id_buf_dma;
u64 wrap_y_dma;
u64 wrap_c_dma;
u64 cur_y_fb_dma;
u64 cur_c_fb_dma;
u64 bs_dma;
u32 bs_sz;
u32 resolution_changed;
u32 frame_header_type;
u32 crc[8];
u32 reserved;
};
Look at her. Six u64 DMAs in a row, then the u32 girlies, then a whole array of CRCs. Main character energy fr fr π
π Members π
Okay so every single field, no skipping, we're doing this properly π«Ά
vld_wrapper_dmaβ the vld wrapper dma address. That's it, that's the field π«seg_id_buf_dmaβ the seg id dma address. Segments said "here's my id", this is where it lives πwrap_y_dmaβ wrap y dma address πwrap_c_dmaβ the manual literally says "wrap y dma address" again here π not me side-eyeing the docs β ngl it's the Y description copy-pasted onto the C field. I'm reporting it exactly as written because facts are sacred, bestie. So: per the page, wrap y dma address πcur_y_fb_dmaβ current plane Y frame buffer dma address π‘ the Y plane, the luma, the brightness queencur_c_fb_dmaβ current plane C frame buffer dma address π΅ chroma's turn to shinebs_dmaβ bitstream dma address πΌ where the actual encoded bits hang outbs_szβ bitstream size π how much bitstream we're dealing withresolution_changedβ resolution change flag β¨1means changed,0means not changed. Iconic little boolean, no notes πframe_header_typeβ current frame header type π·οΈ the type of the frame header that's current rncrcβ used to check whether hardware's status is right π yes bestie, we're verifying the hardware actually did the thing. It'scrc[8], so eight of them β she's thorough πreservedβ reserved, currently unused π the empty seat at the table, just vibing, waiting for its moment
π«Ά Friendly reminder:crcis the vibe check for hardware status, andresolution_changedis strictly1or0β don't be out here inventing other values, okay?
π¦ SEE ALSO π¦
Go read the Kernel file, it's right here:
./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp8_req_if.c
And the sibling structs, the whole friend group π§:
struct vdec_vp8_slice_dpb_info(9)struct vdec_vp8_slice_vsi(9)struct vdec_vp8_slice_inst(9)
Alright bestie, that's the page πΈ it came from the ./drivers/media/platform/media... corner of the kernel tree, dated October 2026, and it's part of the Kernel API Manual π€ slay, go forth and decode π
π¦ 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