STRUCT VDEC_VP8_DEC_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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: 1 means changed, 0 means 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