STRUCT VDEC_VP8_DEC_INFO(9)
β¨ NAME β¨
struct vdec_vp8_dec_info β decode misc information π«
okay so real quick before anything else: this is a page from the Kernel API Manual, and it's about one struct that just... holds the little side-notes of a VP8 decode. misc information. the vibes. the paperwork. bestie it's literally the struct's whole personality π
π SYNOPSIS π
struct vdec_vp8_dec_info {
uint64_t working_buf_dma;
uint64_t prev_y_dma;
uint64_t cur_y_fb_dma;
uint64_t cur_c_fb_dma;
uint64_t bs_dma;
uint32_t bs_sz;
uint32_t resolution_changed;
uint32_t show_frame;
uint32_t wait_key_frame;
};
like, look at her. mostly uint64_t addresses, then a little cluster of uint32_t flags at the bottom doing the emotional heavy lifting π
π Members π
okay so each field is a whole little moment, let's go one by one π«Ά
working_buf_dmaβ the dma address of the working buffer. that's her little scratch space, iconic.prev_y_dmaβ the Y plane address of the previous decoded frame buffer. yes, previous. the one before. she remembers πΈcur_y_fb_dmaβ dma address of the current plane's Y frame buffer. lowkey the main character here πcur_c_fb_dmaβ dma address of the current plane's C frame buffer. C's turn to shine β¨bs_dmaβ the bitstream dma address. the actual data data π¦bs_szβ the bitstream size. how much bitstream we're working with, no cap.resolution_changedβ resolution change flag:1means changed,0means not changed. the binary of it all πshow_frameβ whether to display this frame or not. the "do we post it or not" of it all πwait_key_frameβ wait for the key frame to come. we're holding, we're patient, we're waiting for the moment π
π SEE ALSO π
The Kernel file that lives here, bestie:
./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp8_if.c
and then the whole friend group of structs, all linked up like a group chat π§:
struct vdec_vp8_vsi(9)struct vdec_vp8_hw_reg_base(9)struct vdec_vp8_vpu_inst(9)struct vdec_vp8_inst(9)
and that's the page!! π¦β this one came out of the Kernel API Manual, ./drivers/media/platform/media..., dated October 2026 β love that for us, mwah ππΊπ
π¦ 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