STRUCT VP9_REF_BUF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct vp9_ref_buf β€” bestie, this is the struct that contains the current frame's reference buffer information. That's the whole gig. It's from the Kernel API Manual, and the page itself is struct vp9_ref_buf(9), so yeah, very demure, very kernel-coded. πŸ’…


🌸 SYNOPSIS 🌸

       struct vp9_ref_buf {
           struct vp9_fb_info *buf;
           unsigned int idx;
           unsigned int reserved[6];
        };

πŸŽ€ Members πŸŽ€

  • buf β€” the reference buffer. Like, the actual buffer, no cap. 🫢
  • idx β€” the reference buffer index to frm_bufs. Keep that name exactly, bestie, it's literally frm_bufs.
  • reserved β€” reserved field used by vpu. That's it. That's the tea. πŸ“

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file, and yes you should go look at it:

./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_if.c

Also these iconic little structs, in this exact order:

  • struct vp9_dram_buf(9)
  • struct vp9_fb_info(9)
  • struct vp9_ref_cnt_buf(9)
  • struct vp9_sf_ref_fb(9)

Okay so real talk: this page came from the source path shown as ./drivers/media/platform/media..., dated October 2026, and the manual name is struct vp9_ref_buf(9). Slay, periodt. πŸ’–βœ¨
πŸ“¦ where this page comes from